AnsweredAssumed Answered

webcam streaming (h.264) using imx6

Question asked by Alok Kumar on Apr 24, 2013
Latest reply on May 11, 2013 by Guillermo Michel Jimenez
Branched to a new discussion


I am using webcam 720P from Logitech and I tried successfully mjpeg streaming on iMX6. Below are the commands if it is useful for some one.


iMX6 Server:

/usr/bin/gst-launch-0.10 v4l2src device=/dev/video2 ! 'video/x-raw-yuv,framerate=(fraction)30/1' ! ffmpegcolorspace ! vpuenc codec=12 ! multipartmux ! tcpserversink host= port=5000

#default resolution of this webcam is 1280x960


iMX6 Client:

gst-launch tcpclientsrc host= port=5000 ! queue ! jpegdec ! autovideosink

The above works fine.

I wanted to do the same with h.264 encoded stream instead of mjpeg, but I could not get to work. pipe says it is playing, but I could not decode it either by using vlc or iMX6 as client.


Any experts throw any idea on following.

1. how to do h.264 tcp streaming (instead of above it was mjpeg) ?

2. For mjpeg I could not use vpudec (actually it was very jerky with vpudec), any ideas why ?


appreciate if some experts share some pointers.