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 675305 - playbin: Add force-deinterlaced mode to playbin
playbin: Add force-deinterlaced mode to playbin
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
playback
Depends on:
Blocks: 765313
 
 
Reported: 2012-05-02 15:25 UTC by Vivia Nikolaidou
Modified: 2018-11-03 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vivia Nikolaidou 2012-05-02 15:25:43 UTC
Hello,

I have some interlaced video files, which are however marked as non-interlaced. It would be very useful to add a force-deinterlaced mode to playbin2, in order to be able to play back these files correctly. I am attaching one example.
Comment 1 Vivia Nikolaidou 2012-05-02 15:32:41 UTC
Oops - couldn't attach the example. You can get one of the files from http://micro.autom.teithe.gr/~vivia/oldmovies/
Comment 2 Tim-Philipp Müller 2012-05-02 15:44:24 UTC
The decoder should notice and signal the change IMHO.

I have a DVD menu where the first headers say non-interlaced, and then it changes, but it's not detected/picked up properly (IIRC). Works fine if I hack mpeg2dec to detect it and change caps.
Comment 3 Tim-Philipp Müller 2012-05-02 15:45:25 UTC
Err, that was just meaning to raise the possibility that the interlacing actually changes. I haven't looked at the file yet, so don't know if that's what's happening here.
Comment 4 Wim Taymans 2012-05-09 15:05:14 UTC
There is no indication whatsoever in that file that the content is interlaced, not in the container (qt) nor in the codec (h264). The only solution is to add a force-deinterlace flag to playbin (or repurpose the current deinterlace flag)
Comment 5 Tim-Philipp Müller 2012-05-09 15:40:43 UTC
It should be a new flag then.
Comment 6 Guillaume Desmottes 2016-07-26 09:42:16 UTC
Do we want to keep using GstPlayFlags as it in playbin3? If not this could be a good chance to fix this.

We could have an enum property 'interlace' with:
- AUTOMATIC: GST_PLAY_FLAG_DEINTERLACE set on playsink + deinterlace mode=auto
- DISABLED: GST_PLAY_FLAG_DEINTERLACE not set on playsink
- FORCED: GST_PLAY_FLAG_DEINTERLACE set on playsink + deinterlace mode=interlaced
Comment 7 GStreamer system administrator 2018-11-03 11:21:16 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-plugins-base/issues/65.