How and why v4l2src able to take YV12 format?

Nicolas Dufresne nicolas at ndufresne.ca
Wed Nov 20 12:20:21 UTC 2019


Le mer. 20 nov. 2019 05 h 10, jeyp4 <jaiforfriend at gmail.com> a écrit :

> Sorry for late reply, but I was working on this topic.
>
> Instead of trying the above patch on jetson, I see that you have modified
> gst-pluging-good gstv4l2object.c file.
>
> So I just perform a new gst-build of latest gstreamer on my Intel PC.
>
> Still, on latest gstreamer v4l2src can't take YV12.
>
> [gst-master] jai at jai
> :/media/jai/Entertainment/Software/gstreamer/gst-build$
> gst-launch-1.0 -v v4l2src
> device=/dev/v4l/by-id/usb-3.0_USB_Camera_3.0_USB_Camera-video-index0 !
> 'video/x-raw, format=(string)YV12,width=1920, height=1080' ! xvimagesink -v
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal
> data stream error.
> Additional debug info:
> ../subprojects/gstreamer/libs/gst/base/gstbasesrc.c(3072):
> gst_base_src_loop
> (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> streaming stopped, reason not-negotiated (-4)
>

Looks like NVidia code based have diverged I guess. Try enabling more debug
(e.g. GST_DEBUG="v4l*:7")

Execution ended after 0:00:00.000149820
> Setting pipeline to PAUSED ...
> New clock: GstSystemClock
> Got EOS from element "pipeline0".
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191120/58537e4c/attachment.html>


More information about the gstreamer-devel mailing list