Capture from UVC and convert to h264 on RPi

Damien Picard picard.damien at gmail.com
Thu Mar 16 08:35:46 UTC 2017


It works ! Thank you very much.

2017-03-16 2:03 GMT+01:00 Nicolas Dufresne <nicolas at ndufresne.ca>:

> 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Damien Picard
Expert GWT
<http://www.editions-eni.fr/livres/gwt-google-web-toolkit-developpez-des-applications-internet-riches-ria-en-java/.97a1a26e7d5be94763fc45ac2a1e961a.html>
Mob : 06 11 51 47 78
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170316/3db49126/attachment.html>


More information about the gstreamer-devel mailing list