<div dir="ltr"><div><div><div>Thanks, but it seems to be generating the same error:<br><br>gst-launch-1.0 v4l2src device=/dev/video0 ! videoparse format=xrgb width=3456 height=2592   ! xvimagesink<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.<br>Additional debug info:<br>gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:<br>streaming task paused, reason not-negotiated (-4)<br>Execution ended after 0:00:00.000467417<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br><br></div>(I also tried with a videoconvert after videoparse).<br><br></div>I'm a bit stuck here, so any help is appreciated.<br><br></div>Best regards, Kristoffer<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 21, 2017 at 4:55 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le mardi 21 mars 2017 à 11:57 +0100, Kristoffer Koch a écrit :<br>
> I'm trying to override the format, but I'm not having any luck:<br>
><br>
>   gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-<br>
> raw,format=YVYU,width=3456,<wbr>height=2592,framerate=5/1 ! videoparse !<br>
> video/x-raw,format=rgb,width=<wbr>3456,height=2592  ! xvimagesink<br>
<br>
</span>'rgb' is not a valid format, use RGB in caps for 24bit (not padded)<br>
rgb. I'm not sure if older version of videoparse support downstream<br>
caps filter. Try and use the properties instead, like this (note the<br>
properties will take small caps):<br>
<br>
  .. ! videoparse format=rgb width=3456 height=2592 ! ...<br>
<br>
In any case, 24bit RGB (not padded) is likely not supported by<br>
xvimagesink. XV extension usually only allow YUV formats. ximagesink<br>
may support padded RGB, like xRGB or BGRx. With the benifit that the<br>
image size of xRGB/BGRx is the same as packed YVYU.<br>
<span class="HOEnZb"><font color="#888888"><br>
Nicolas<br>
<br>
</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></div>