GNOME Bugzilla – Bug 796345
filesrc: num-buffers only produces N-1 buffers
Last modified: 2018-11-03 12:46:33 UTC
Steps ----- gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw,format=NV12,width=176,height=144 ! rawvideoparse format=nv12 width=176 height=144 ! filesink location=./src.yuv gst-launch-1.0 filesrc location=./src.yuv num-buffers=100 ! rawvideoparse format=nv12 width=176 height=144 ! videoconvert ! video/x-raw,format=YV12 ! filesink location=./out.yuv Expected -------- src.yuv and out.yuv should be the same size (3801600 bytes) Actual ------ out.yuv size is 3763584 (i.e. missing 38016 bytes which is the size of one NV12/YV12 frame - 176x144*1.5)
Seems to only happen when num-buffers == actual number of frames in file
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/294.