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 574728 - Use new interlaced support from -base
Use new interlaced support from -base
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal enhancement
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 573245
Blocks:
 
 
Reported: 2009-03-10 09:45 UTC by Sebastian Dröge (slomo)
Modified: 2009-05-12 09:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2009-03-10 09:45:16 UTC
+++ This bug was initially created as a clone of Bug #573245 +++

+++ This bug was initially created as a clone of Bug #573085 +++

Now that the interlaced support has been committed to -base, we shuld use it in -ffmpeg too if possible. There seem to be some interlaced related flags in avcodec.h:

#define CODEC_FLAG_INTERLACED_DCT 0x00040000 ///< Use interlaced DCT.
#define CODEC_FLAG_INTERLACED_ME  0x20000000 ///< interlaced motion estimation
#define MB_TYPE_INTERLACED 0x0080

Not sure if we can do something useful with the stuff that ffmpeg provides
Comment 1 Edward Hervey 2009-05-12 09:01:16 UTC
Module: gst-ffmpeg
Branch: master
Commit: fb613191ae4885c398bd204acc126882f0752633
URL:    http://cgit.freedesktop.org/gstreamer/gst-ffmpeg/commit/?id=fb613191ae4885c398bd204acc126882f0752633

Author: Edward Hervey <bilboed@bilboed.com>
Date:   Tue May 12 11:16:43 2009 +0200

gstffmpegdec: Implement interlaced support.

ffmpeg only tells us on a per-decoded-buffer basis if the stream is
interlaced or not. When we see a change, we force negotiation.

We can't detect that in our get_buffer() (when doing downstream allocation),
because at that point the interlaced flags aren't set on the outgoing
buffer.