<div dir="ltr">Hi Nicolas,<div><br></div><div>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".</div><div><br></div><div>I tried a lot of "formats", but only I420 is accepted.</div><div><br></div><div>Walter</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-09 22:18 GMT+01:00 Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le mardi 07 février 2017 à 00:57 -0800, Myzhar a écrit :<br>
> I need to save a stream from a ELP USB webcam on a Raspberry Pi 3 at<br>
> higher<br>
> resolution and higher framerate as possible.<br>
><br>
> I reached my best result with a video at 1280x720x12fps<br>
><br>
> Anyone has obtained better results?<br>
><br>
> My pipeline is the following:<br>
><br>
> gst-launch-1.0 v4l2src device=/dev/video0 ! queue ! videoscale !<br>
> "video/x-raw,width=1280,<wbr>height=720" ! queue ! videoconvert !<br>
> omxh264enc !<br>
> queue ! h264parse ! queue ! filesink location=test.mp4 -e<br>
<br>
</span>Most of the time, the limiting factor is USB Speed. If you don't have<br>
USB3, you have to use some compression in order to gain higher frame-<br>
rate. That's why most USB camera supports JPEG compression, and fancier<br>
camera will support H264. Try one of this compression.<br>
<span class="HOEnZb"><font color="#888888"><br>
Nicolas</font></span><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b>Walter Lucetti</b><br><br>email: <a href="mailto:myzhar@gmail.com" target="_blank">myzhar@gmail.com</a><br>web: <i><a href="http://www.robot-home.it/" target="_blank">www.robot-home.it</a></i><br></div><div>project:  <a href="http://myzharbot.robot-home.it" target="_blank">http://myzharbot.robot-home.it</a></div><br><a href="http://www.cgsrobotics.it/" target="_blank"></a></div></div></div></div>
</div>