Best way to save video on Rpi3

Walter Lucetti myzhar at gmail.com
Thu Feb 9 22:29:33 UTC 2017


Hi Nicolas,

as far as I know the ELP cameras supports MJPEG format, but I have not
understood the right way to get this format using "vl42src".

I tried a lot of "formats", but only I420 is accepted.

Walter

2017-02-09 22:18 GMT+01:00 Nicolas Dufresne <nicolas at ndufresne.ca>:

> Le mardi 07 février 2017 à 00:57 -0800, Myzhar a écrit :
> > I need to save a stream from a ELP USB webcam on a Raspberry Pi 3 at
> > higher
> > resolution and higher framerate as possible.
> >
> > I reached my best result with a video at 1280x720x12fps
> >
> > Anyone has obtained better results?
> >
> > My pipeline is the following:
> >
> > gst-launch-1.0 v4l2src device=/dev/video0 ! queue ! videoscale !
> > "video/x-raw,width=1280,height=720" ! queue ! videoconvert !
> > omxh264enc !
> > queue ! h264parse ! queue ! filesink location=test.mp4 -e
>
> Most of the time, the limiting factor is USB Speed. If you don't have
> USB3, you have to use some compression in order to gain higher frame-
> rate. That's why most USB camera supports JPEG compression, and fancier
> camera will support H264. Try one of this compression.
>
> Nicolas
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
*Walter Lucetti*

email: myzhar at gmail.com
web: *www.robot-home.it <http://www.robot-home.it/>*
project:  http://myzharbot.robot-home.it

<http://www.cgsrobotics.it/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170209/60900dca/attachment.html>


More information about the gstreamer-devel mailing list