Use ffvp9 rather than libvpx for better performance?

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
__NM64__
Lunatic
Lunatic
Posts: 366
Joined: 2013-10-17, 05:29
Location: Northeast Ohio

Use ffvp9 rather than libvpx for better performance?

Unread post by __NM64__ » 2016-09-14, 04:47

Firefox now uses ffvp9 rather than libvpx:
https://bugzilla.mozilla.org/show_bug.cgi?id=1210219 - (ffvp9) [meta] Ship ffpv9 on all desktop platforms
https://bugzilla.mozilla.org/show_bug.cgi?id=1214462 - Support ffmpeg on Windows

ffvp9 is known to be the fastest VP9 decoder and now that Firefox is using it, I was wondering if it'd make sense to use it in, say, Pale Moon 27?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35650
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Use ffvp9 rather than libvpx for better performance?

Unread post by Moonchild » 2016-09-14, 08:17

If this enhancement is generally desired, it'll be a rather involved side project to tackle. See also the dependent bugs on bug #1214462 that would have to be ported + unknown related bugs.

Of note, ffvpx may be the fastest, but we're still a web browser, not a dedicated media player, and we do already have a good and running support for the lib as-published by the creator of the format, so actual format bugs should automatically be kept to a minimum that way (stability over performance).

I don't think any of our current team has time for this right now, but if some community members want to tackle this on a separate development branch, they are more than welcome to.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

New Tobin Paradigm

Re: Use ffvp9 rather than libvpx for better performance?

Unread post by New Tobin Paradigm » 2016-09-14, 12:51

Using ffmpeg components as a front line for media will likely follow a similar (but less destructive and binary) progression as it has at Mozilla. This is more needed on linux and for mp4 decoding to shore up the deficits of gstreamer we have been seeing. That will have to be a necessary first step before we can consider it for Windows.

Though, I am wondering why when libvpx does fine on all operating systems. Guess it will have to be eval'd when/if we can make better use of it. Unless some magic patches pop up ;)