Best way to save video on Rpi3

Nicolas Dufresne nicolas at ndufresne.ca
Thu Feb 9 21:18:31 UTC 2017


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
-------------- 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/20170209/f7184226/attachment.sig>


More information about the gstreamer-devel mailing list