Is 'rawvideoparse' element reading the wrong amount of bytes?

Aschwin23452345 aschwin.brandt at gmail.com
Tue Dec 31 12:13:14 UTC 2019


Thanks for the help guys! I also tested it with different resolutions as
follows: 

ffmpeg -f lavfi -i testsrc=duration=30:size=972x720:rate=30 -vf
drawtext="fontfile=/path/to/font.ttf: \
text='Stream A': fontcolor=white: fontsize=24: box=1: boxcolor=black at 0.5: \
boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" -pix_fmt yuv420p stream_a.yuv
-y

gst-launch-1.0 filesrc location=stream_a.yuv ! rawvideoparse width=972
height=720 framerate=1/1 ! xvimagesink

ffmpeg -f lavfi -i testsrc=duration=30:size=1080x720:rate=30 -vf
drawtext="fontfile=/path/to/font.ttf: \
text='Stream A': fontcolor=white: fontsize=24: box=1: boxcolor=black at 0.5: \
boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" -pix_fmt yuv420p stream_a.yuv
-y

gst-launch-1.0 filesrc location=stream_a.yuv ! rawvideoparse width=1080
height=720 framerate=1/1 ! xvimagesink

And the latter one displays the correct image. I guess the quickest solution
for me is to use another resolution.

One last question: do I need to create a bug report for this? And if yes,
where? 

Thanks again!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list