[Bug 796345] New: filesrc: num-buffers only produces N-1 buffers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 22 20:18:17 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796345

            Bug ID: 796345
           Summary: filesrc: num-buffers only produces N-1 buffers
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ullysses.a.eoff at intel.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

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)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list