0

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?

Has it something to do wit io-mode?

Video stutters:

gst-launch-1.0 filesrc location=/tmp/video.mp4 ! decodebin ! vaapipostproc ! video/x-raw,format=YUY2 ! v4l2sink device=/dev/video10

gst-launch-1.0 filesrc location=/tmp/video.mp4 ! decodebin ! autovideosink

Video is playing smooth:

gst-launch-1.0 filesrc location=/tmp/video.mp4 ! decodebin force-sw-decoders=true ! videoconvert ! video/x-raw,format=YUY2 ! v4l2sink device=/dev/video10

gst-launch-1.0 filesrc location=/tmp/video.mp4 ! decodebin ! vaapisink

Chris
  • 1
  • 2

0 Answers0