<div dir="ltr"><div>Hi</div><div><br></div><div>Assuming your pipeline actually runs, I can assure you that your videoconvert does not take jpeg as input and you have specified video/x-raw as format (a family of raw formats). So v4l2src does output raw video and not JPEG. Now I don't know your platform and maybe your v4l2src implementation has the ability to read JPEG/MJPEG from the camera and convert it to raw video on your specific hardware platform, but as such, you have no JPEG in your pipeline. And I am assuming your pipeline is running. Is it?</div><div><br></div><div>Now run your pipeline again with the '-v' flag set for gst-launch-1.0 pipeline and post ALL the output here. We can then identify what each module take as input and what they output.</div><div><br></div><div>P<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 16, 2021 at 2:15 PM niXman via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
hello Maersk-Moller,<br>
<br>
thank you very much for your answer!<br>
but I have a few questions because something is not clear to me...<br>
<br>
On 2021-07-16 10:52, Peter Maersk-Moller via gstreamer-devel wrote:<br>
> Hi niXman<br>
> <br>
> You are in fact not retrieving JPEG encoded frames from your camera.<br>
> Apparently your camera also supports a raw video format.<br>
<br>
according to the documentation, the Omnivision OV5640 chip gives frames <br>
in JPEG.<br>
please explain why you think it is not so? how can i check in what <br>
format i am receiving frames actually?<br>
<br>
> Most likely this raw format is some sort of YUV format. You can find <br>
> out by<br>
> adding '-v' to gst-launch-1.0 and look for the format accepted by the<br>
> videoconvert sink pad.<br>
<br>
I tried, but I don't understand what I see...<br>
when I specify "video/x-raw" in the output it is also "video/x-raw", and <br>
when I specify "image/jpeg" in the output it is also "image/jpeg".<br>
how can this be? the camera sends frames in both formats and gstreamer <br>
just chooses which format to use? or how?<br>
<br>
<br>
<br>
best!<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>