gstreamer, get MJPG from webcam, and encode to H264

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,
i'm a new user of gstreamer, and i need some help to understand the right
pipieline to use.

I want to stream my webcam over lan and network. I've a RasperriPI, witch
recently as added h264 encode by hardware, and i want to try this way.

My cam is a lifecam HD6000, witch can output high resolution video only
using a mjpg stream.
i get it working with this command:

gst-launch-0.10 v4l2src ! image/jpeg,width=1280,framerate=15/1,rate=15 !
jpegdec ! ffmpegcolorspace ! ximagesink

As far as i can understand, now i shold decode the jpeg into YUV color
space and then feed it to x264enc, and finally put it to file/stream.
First of all i've tryed to output to file using AVI format
gst-launch-0.10 v4l2src ! image/jpeg,width=1280,framerate=15/1,rate=15 !
jpegdec ! ffmpegcolorspace ! queue ! mux. avimux name=mux ! filesink
location=me_dancing_funny.avi
and it kind of work, seems like i have some framerate problem during
conversione because outputted file is really fast and many frame is missing.
I'm a lit lost in the flexibility of gstreamer, so any help, or tip to some
starting point is very appreciated.

good day everyone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20121015/a8fcf040/attachment.html>


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux