[Bug 781918] mpegvideoparse calculates wrong pixel aspect ratio

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 3 13:59:41 UTC 2017


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

--- Comment #2 from Matej Knopp <matej.knopp at gmail.com> ---
Actually, I can't. The file in question does have sequence extension, so it was
a false alarm. The issue was that my (customized) avformat based demuxer pushes
sequence header as codec data, but gst_mpegv_parse_process_config called from
gst_mpegv_parse_set_caps only parses sequence header from codec data and
doesn't bother with sequence extension.

So sample file wouldn't help here, because gstreamer mpeg demuxer doesn't send
codec_data, whereas the avdemux based one also parses the stream and sends
codec data.

For now I just "fixed" the demuxer to not output codec data for mpeg stream, as
it's not really necessary. Still, I think the parser should perhaps either
ignore codec_data or try to parse both sequence and sequence extension.

-- 
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