[Bug 758344] New: avdec_h264 generates video frames with height that doesn't match the height in the caps
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Nov 19 06:58:03 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=758344
Bug ID: 758344
Summary: avdec_h264 generates video frames with height that
doesn't match the height in the caps
Classification: Platform
Product: GStreamer
Version: 1.6.1
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-libav
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: m.olbrich at pengutronix.de
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 315893
--> https://bugzilla.gnome.org/attachment.cgi?id=315893&action=edit
test file to reproduce the issue
With the attached file avdec_h264 negotiates height=1080 and then sends a
buffer with height=1088 in the video meta.
vaapisink tries to copy the frame into a buffer from it's own buffer pool and
fails with:
** (gst-launch-1.0:12515): CRITICAL **: gst_video_frame_copy: assertion
'dinfo->width == sinfo->width && dinfo->height == sinfo->height' failed
Tested with:
gst-launch-1.0 filesrc location=test.mov ! qtdemux ! avdec_h264 ! vaapisink
I'm not sure which side is wrong here. The real height is 1080 but the buffer
is 1088 (rounded to the next full macro block). How should a decoder handle
this?
--
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