AV1 video codec support

Board for discussions around the Basilisk web browser.
Post Reply
User avatar
UCyborg
Apollo supporter
Apollo supporter
Posts: 31
Joined: 2019-01-10, 09:37

AV1 video codec support

Post by UCyborg » 2020-04-05, 20:50

Changelog mentions experimental support for this codec was added at some point.

At the quick glance, it seems the browser is compiled without --enable-av1 build option, so the AV1 functionality is missing, but adding the option would enable AV1 support in the compiled binaries and add the media.av1.enabled setting in about:config.

Pale Moon has AV1 code enabled. Was it just forgotten for Basilisk?

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1598
Joined: 2013-05-20, 18:19
Location: Earth
Contact:

Re: AV1 video codec support

Post by trava90 » 2020-04-14, 12:18

Yes, this was apparently an oversight. AV1 support will be enabled in Basilisk with the next release.

User avatar
UCyborg
Apollo supporter
Apollo supporter
Posts: 31
Joined: 2019-01-10, 09:37

Re: AV1 video codec support

Post by UCyborg » 2020-04-16, 17:54

Basilisk 2020.04.15 still doesn't have AV1 enabled, at least the Win32 version doesn't. I haven't tried Win64 nor any of the Linux builds.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26706
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: AV1 video codec support

Post by Moonchild » 2020-04-16, 20:08

Huh... that's weird. It -should- be enabled according to the configuration variables defined. We'll investigate.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 7211
Joined: 2012-10-09, 19:37
Location: Insulting you on the internet.

Re: AV1 video codec support

Post by New Tobin Paradigm » 2020-04-16, 20:56

Yeah, I didn't know the logic for MOZ_AV1 was in mozconfigure and not ac configure and that is why confvars didn't work.
Image
I'll send him cheesy movies! The worst I can find!
He'll have to sit and watch them all and we'll monitor his mind!

https://binaryoutcast.com/ | Freenode #binaryoutcast | http://thereisonlyxul.org/

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26706
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: AV1 video codec support

Post by Moonchild » 2020-04-16, 21:22

New Tobin Paradigm wrote:
2020-04-16, 20:56
Yeah, I didn't know the logic for MOZ_AV1 was in mozconfigure and not ac configure and that is why confvars didn't work.
I didn't either :)

I've moved the logic to ac configure (where it belongs) so the confvars setting works. We'll probably have another build soon to enable it "for real this time"
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
Fedor2
Astronaut
Astronaut
Posts: 692
Joined: 2016-04-11, 01:26

Re: AV1 video codec support

Post by Fedor2 » 2020-05-20, 06:07

https://tools.woolyss.com/html5-audio-video-tester/
First one freezes but sounds continue, what is possible wrong be?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26706
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: AV1 video codec support

Post by Moonchild » 2020-05-20, 10:41

Fedor2 wrote:
2020-05-20, 06:07
what is possible wrong be?
Not powerful enough hardware to keep up with decoding?
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
Fedor2
Astronaut
Astronaut
Posts: 692
Joined: 2016-04-11, 01:26

Re: AV1 video codec support

Post by Fedor2 » 2020-05-20, 16:57

Its powerful enough i think, i have checked on the latest firefox nightly, it plays perfectly.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26706
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: AV1 video codec support

Post by Moonchild » 2020-05-20, 18:27

Fedor2 wrote:
2020-05-20, 16:57
Its powerful enough i think, i have checked on the latest firefox nightly, it plays perfectly.
Well if I enable AV1 here it plays just fine too.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
Fedor2
Astronaut
Astronaut
Posts: 692
Joined: 2016-04-11, 01:26

Re: AV1 video codec support

Post by Fedor2 » 2020-05-20, 20:25

I also have checked on linux amd e450 laptop,сertainly its not powerful at all, and video plays fine.
Huh, where to find hardware requriements, what does it loads cpu or videocard.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26706
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: AV1 video codec support

Post by Moonchild » 2020-05-20, 21:25

I think libaom is a reference implementation that will primarily use CPU to decode.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
Fedor2
Astronaut
Astronaut
Posts: 692
Joined: 2016-04-11, 01:26

Re: AV1 video codec support

Post by Fedor2 » 2020-05-22, 02:52

This is weird, i recently built my mingw version on winxp with old core2duo - the video plays perfect there!

User avatar
Fedor2
Astronaut
Astronaut
Posts: 692
Joined: 2016-04-11, 01:26

Re: AV1 video codec support

Post by Fedor2 » 2020-05-25, 11:34

More test for thought
win8 x64
Basilisk 32 - video freezes
Basilisk 64 - normal
My build of Basilisk with microsoft cl compiler - same as original basilisk
And my build with mingw compiler - video fine on x32 too, also i noticed that cl x32 only compiler eats all free memory
on files media\libaom\src\av1\common\cdef_block*, system freeze until compiled all cdef_block files, i have 6-7gb memory free.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26706
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: AV1 video codec support

Post by Moonchild » 2020-05-25, 12:28

Are you using VS2015 Update 3?
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
Fedor2
Astronaut
Astronaut
Posts: 692
Joined: 2016-04-11, 01:26

Re: AV1 video codec support

Post by Fedor2 » 2020-05-25, 14:32

Uh sorry, i do not use VS2015 at all, i shall install it and check further.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26706
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: AV1 video codec support

Post by Moonchild » 2020-05-25, 15:08

Fedor2 wrote:
2020-05-25, 14:32
i do not use VS2015 at all
... well, then. I'm surprised you haven't run into issues other than this before in that case.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

Post Reply