H.264 source element plugin

David Röthlisberger david at rothlis.net
Wed Jul 4 02:58:30 PDT 2012


On 4 Jul 2012, at 08:58, malikcis wrote:
> Thanks for your suggestion.
> I would like to write a gstreamer wrapper driver for a H.264 capture card. I
> thought the best would be to write 
> a gstreamer source element. 

Ideally you would provide V4L2 (Video for Linux 2) drivers, and then you
could use a gstreamer pipeline like this:

gst-launch v4l2src device=/dev/video0 ! mpegtsdemux ! video/x-h264 ! decodebin

(the above requires gstreamer-plugins-good for v4l2src,
gstreamer-plugins-bad for mpegtsdemux, and gstreamer-ffmpeg for H.264
decoding.)

--Dave.



More information about the gstreamer-devel mailing list