After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796345 - filesrc: num-buffers only produces N-1 buffers
filesrc: num-buffers only produces N-1 buffers
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-22 20:18 UTC by U. Artie Eoff
Modified: 2018-11-03 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description U. Artie Eoff 2018-05-22 20:18:17 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)
Comment 1 U. Artie Eoff 2018-05-22 20:22:07 UTC
Seems to only happen when num-buffers == actual number of frames in file
Comment 2 GStreamer system administrator 2018-11-03 12:46:33 UTC
-- 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.