AV1 video codec support

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

User avatar
UCyborg
Fanatic
Fanatic
Posts: 180
Joined: 2019-01-10, 09:37

AV1 video codec support

Unread 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: 1741
Joined: 2013-05-20, 18:19
Location: Somewhere in Sector 001

Re: AV1 video codec support

Unread 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
Fanatic
Fanatic
Posts: 180
Joined: 2019-01-10, 09:37

Re: AV1 video codec support

Unread 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: 35593
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: AV1 video codec support

Unread 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.
"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: AV1 video codec support

Unread 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.

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

Re: AV1 video codec support

Unread 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"
"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

Fedor2

Re: AV1 video codec support

Unread 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: 35593
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: AV1 video codec support

Unread 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?
"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

Fedor2

Re: AV1 video codec support

Unread 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: 35593
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: AV1 video codec support

Unread 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.
"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

Fedor2

Re: AV1 video codec support

Unread 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: 35593
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: AV1 video codec support

Unread post by Moonchild » 2020-05-20, 21:25

I think libaom is a reference implementation that will primarily use CPU to decode.
"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

Fedor2

Re: AV1 video codec support

Unread 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!

Fedor2

Re: AV1 video codec support

Unread 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: 35593
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: AV1 video codec support

Unread post by Moonchild » 2020-05-25, 12:28

Are you using VS2015 Update 3?
"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

Fedor2

Re: AV1 video codec support

Unread 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: 35593
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: AV1 video codec support

Unread 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.
"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

Locked