<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 5 nov. 2022, 13 h 16, Christian Hattenberger via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><p style="margin:0px;font-stretch:normal;font-size:19.1px;line-height:normal;color:rgb(0,0,0)"><span style="font-family:UICTFontTextStyleBody;font-size:19.08px">When I connect a vaapi decoder to v4l2sink the result is not as expected, same happens if I use autovideosink, I know for this I have to use vaapisink and it is working as expected, but is there a solution for v4l2sink? Can someone explain me the reason, is there a solution?</span></p><p style="margin:0px;font-stretch:normal;font-size:19.1px;line-height:normal;min-height:24.7px;color:rgb(0,0,0)"><span style="font-family:UICTFontTextStyleBody;font-size:19.08px"></span><br></p><p style="margin:0px;font-stretch:normal;font-size:19.1px;line-height:normal;color:rgb(0,0,0)"><span style="font-family:UICTFontTextStyleBody;font-size:19.08px">gst-launch-1.0 filesrc location=/tmp/video.mp4 ! decodebin ! vaapipostproc ! video/x-raw,format=YUY2 ! v4l2sink device=/dev/video10 </span></p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Its experimental, and I am not sure if vaapipostproc does produce dmabuf in this case, but you can enable dmabuf-import on v4l2sink with property io-mode=dmabuf-import . By default, the frames are cpu copied from VA allocated memory into V4L2 allocated memory.</div><div dir="auto"><br></div><div dir="auto">Nicolas</div><div dir="auto"><br></div><div dir="auto"></div></div>