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 749930 - avdec_* report interlaced content as "mixed" instead of "interleaved"
avdec_* report interlaced content as "mixed" instead of "interleaved"
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-26 21:01 UTC by FredT
Modified: 2018-11-03 12:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description FredT 2015-05-26 21:01:37 UTC
FFMPEG decoder such as mpeg2dec and libav decoder avdec_h264 does not report interlaced content correctly. This problem could exist in other decoder when producing interlaced output.

Currently the Gstreamer implementation report GST_VIDEO_INTERLACE_MODE_MIXED
To the best of my knowledge, I believe this is wrong as FFMPEG/LIBAV produce Interlace Interleaved frame. 1 frame contains both top and bottom field.

This came to light while testing the new decklink video sink.

I replaced the GST_VIDEO_INTERLACE_MODE_MIXED flag in gstavviddec.c for avdec_h264 and gstmpeg2dec.c for mpeg2 decoder.

After the modification i was able to output video at 1080i59.94 without issues.

Before the change, the following line as an example did not work since decklinksink is expecting interlace-interleaved source:

gst-launch-1.0 -v --gst-debug-level=3 udpsrc uri="udp://239.127.23.2:5724" buffer-size=5000000 ! queue ! tsdemux ! h264parse ! queue ! avdec_h264 ! queue ! videoconvert ! queue ! videorate ! queue ! decklinkvideosink mode=12
Comment 1 GStreamer system administrator 2018-11-03 12:57:12 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/gst-libav/issues/21.