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 588761 - [videoscale] Needs special support for interlaced content
[videoscale] Needs special support for interlaced content
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.25
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 588535
 
 
Reported: 2009-07-16 09:57 UTC by Sebastian Dröge (slomo)
Modified: 2009-08-06 06:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2009-07-16 09:57:42 UTC
+++ This bug was initially created as a clone of Bug #588535 +++

First of all the same as in bug #588535 applies to videoscale too but additional it needs to handle all interlaced content different from progressive content.

Currently videoscale simply mixes the lines from the two fields (with all three algorithms) as the algorithms interpolate lines from the next lines and not from every second next line.

This needs to be fixed.
Comment 1 Sebastian Dröge (slomo) 2009-07-28 18:53:20 UTC
I'll push this after 0.10.24 release.

commit 7a850800475753663faff7fc5d5bf6579424ed33
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Tue Jul 28 15:54:14 2009 +0200

    videoscale: Make sure to allocate enough memory for the temporary buffer
    
    and fix scaling of odd-height interlaced video.

commit 9a48ff70048044e23a273a147a1422dbeae21647
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Tue Jul 28 15:18:56 2009 +0200

    videoscale: Fix interlaced scaling for I420
    
    ...and some other minor mistakes in the previous change.

commit f2faf39fcdd7f507f0e1ce96d056f428ddcba1d0
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Tue Jul 28 13:55:30 2009 +0200

    videoscale: Add support for interlaced content
    
    videoscale is not mixing content of two seperate fields anymore
    and does scaling on every field separately.
    
    Fixes bug #588761.
Comment 2 David Schleef 2009-08-06 06:08:21 UTC
Scaling fields isn't any more correct than scaling interlaced frames, and will tend to cause artifacts that are visible in more frames.  The correct way to do this would be to disallow vertical scaling of interlaced video or deinterlacing, scaling, and then reinterlacing.