Capture from UVC and convert to h264 on RPi

Nicolas Dufresne nicolas at ndufresne.ca
Thu Mar 16 01:03:22 UTC 2017


Le mercredi 15 mars 2017 à 21:07 +0100, Damien Picard a écrit :
> I try using this command :
> gst-launch-1.0 -vv -e v4l2src device=/dev/video0  !
> "image/jpeg,width=640,height=480" ! queue ! jpegdec ! videoconvert !
> omxh264enc ! matroskamux ! filesink location=videotestsrc.mkv

You need h264parse between omxh264enc and matroskamux. The reason is
that omxh264enc produce byte-stream format, but matroska need AVC.
h264parse will convert for you. x264enc can produce both formats.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170315/37fa2420/attachment.sig>


More information about the gstreamer-devel mailing list