<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Do check whether 640x480 is actually supported by the camera</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">v4l2-ctl -d /dev/video0 --list-formats-ext<br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Use one of the native resolutions supported by the camera as given by the above command.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 13 Jul 2023 at 23:07, Sulthan Amanu 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"><div dir="auto"><div dir="auto">Hi Team,</div><div dir="auto"><br></div>I have encountered an issue while <div dir="auto">creating a GStreamer pipeline with a webcam source and two caps filters using the tee element. The pipeline is designed to apply different resolutions to the video stream. Below is an example of the pipeline:<div dir="auto"><br></div><div dir="auto">gst-launch-1.0 -e v4l2src device=/dev/video0 ! \</div><div dir="auto"> tee name=t ! \</div><div dir="auto"> queue ! \</div><div dir="auto"> videoconvert ! \</div><div dir="auto"> capsfilter caps="video/x-raw, width=640, height=480" ! \</div><div dir="auto"> autovideosink t. ! \</div><div dir="auto"> queue ! \</div><div dir="auto"> videoconvert ! \</div><div dir="auto"> capsfilter caps="video/x-raw, width=1280, height=720" ! \</div><div dir="auto"> autovideosink</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">However, when executing the pipeline, I encountered the following error message:</div><div dir="auto"><br></div><div dir="auto">Setting pipeline to PAUSED ...</div><div dir="auto">Pipeline is live and does not need PREROLL ...</div><div dir="auto">Setting pipeline to PLAYING ...</div><div dir="auto">New clock: GstSystemClock</div><div dir="auto">ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.</div><div dir="auto">Additional debug info:</div><div dir="auto">gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:</div><div dir="auto">streaming stopped, reason not-negotiated (-4)</div><div dir="auto">EOS on shutdown enabled -- waiting for EOS after Error</div><div dir="auto">Waiting for EOS...</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I kindly request your assistance in resolving this issue and achieving the desired behavior without utilizing the <b>videoscale , videoconvertscale, other frame resize element. And I need to orignal data of both resolution.</b></div><div dir="auto"><b><br></b></div><div dir="auto">Issue link - <a href="https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2808#note_1999618" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2808#note_1999618</a></div><div dir="auto"><b><br></b></div><div dir="auto">Regards,</div><div dir="auto">Sulthan </div></div></div>
</blockquote></div>