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 742817 - avvideoscale: Fix element and enable it again
avvideoscale: Fix element and enable it again
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-libav
1.4.5
Other Mac OS
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 703712 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-01-12 18:16 UTC by Denis
Modified: 2016-12-27 09:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Denis 2015-01-12 18:16:07 UTC
On both iOS and OS X versions i get error that element 'avvideoscale' does not exist though libav is enabled.
Per Christian's replay porting of this element is still work in progress.
Comment 1 Sebastian Dröge (slomo) 2015-01-13 09:19:16 UTC
It's disabled by this commit:

commit 3ad2d0b0e734a362c463691b18aa790183dd0418
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Thu Jan 17 23:56:17 2013 +0000

    Disable libswscale/avvideoscale plugin until it works at least somewhat
    
    It needs some fixing.
Comment 2 Tim-Philipp Müller 2015-02-24 12:45:58 UTC
Do we really want to re-enable these? Do they provide additional features or better performance?

I think one advantage used to be that you could do conversion+scaling in one go, but videoscale can do that as well now if I'm not mistaken (at least the internal VideoConverter, not sure if it was enabled in the elements).
Comment 3 Tim-Philipp Müller 2015-02-24 12:46:25 UTC
*** Bug 703712 has been marked as a duplicate of this bug. ***
Comment 4 Sebastian Dröge (slomo) 2015-02-24 13:16:39 UTC
IMHO no reason, especially not after enabling conversion+scaling in videoconvert/videoscale at once.
Comment 5 Baby octopus 2016-12-27 09:26:39 UTC
I patched avvideoscale and found it significantly faster than videoscale for lanczos(and also other methods). Here is the run time

gst-launch-1.0 filesrc location=/root/images/skyline2.jpg ! decodebin ! imagefreeze ! avvideoscale method=9 ! video/x-raw,width=640,height=360 ! fakesink num-buffers=1000
Execution ended after 0:00:14.8238

gst-launch-1.0 filesrc location=/root/images/skyline2.jpg ! decodebin ! imagefreeze ! videoscale method=3 ! video/x-raw,width=640,height=360 ! fakesink num-buffers=1000
Execution ended after 0:00:37.7101

Visually there is very little difference, though avvideoscale output is mildly sharper

Input image is a 4k image converted to 640x360

Am I missing something?