Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > VP9 and AV1

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th September 2018, 22:00   #881  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by MoSal View Post
Is it Chrome? or a Chromium distribution package?
Chrome from Google on Windows 7 x64, not Chromium.
sneaker_ger is offline   Reply With Quote
Old 5th September 2018, 22:32   #882  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 80
I ask information to Google and they said that the AV1 note in the media update is an error.

They pulled AV1 support in M69 as there were late changes made to the MP4 specification.
The spec has been finalized by AOM, so they have moved launch scheduling to M70.

This pull request in MP4 specification repository suggests that will be finalized soon.

Last edited by marcomsousa; 5th September 2018 at 22:42.
marcomsousa is offline   Reply With Quote
Old 7th September 2018, 21:59   #883  |  Link
birdie
Artem S. Tashkinov
 
birdie's Avatar
 
Join Date: Dec 2006
Posts: 337
AV1 support is to be reenabled in Chrome 70.
birdie is offline   Reply With Quote
Old 8th September 2018, 07:08   #884  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 80
The AV1 MP4 specification was finalized yesterday.
marcomsousa is offline   Reply With Quote
Old 10th September 2018, 02:20   #885  |  Link
Mr_Khyron
Member
 
Mr_Khyron's Avatar
 
Join Date: Nov 2002
Posts: 203
Youtube has started to encode videos to AV1
https://www.youtube.com/watch?v=F1B9Fk_SgI0

You must have youtube-dl (2018-09-10)
Mr_Khyron is offline   Reply With Quote
Old 10th September 2018, 08:06   #886  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
And you can download it like this
Code:
youtube-dl.exe -f 396  https://www.youtube.com/watch?v=F1B9Fk_SgI0
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 10th September 2018, 08:22   #887  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 80
Quote:
Originally Posted by ChaosKing View Post
And you can download it like this
Code:
youtube-dl.exe -f 396  https://www.youtube.com/watch?v=F1B9Fk_SgI0

1080p
Interesting to compare this 3 formats

AV1 - 33.37MiB
Code:
youtube-dl.exe -f 399  https://www.youtube.com/watch?v=F1B9Fk_SgI0
VP9 - 42.30MiB
Code:
youtube-dl.exe -f 248  https://www.youtube.com/watch?v=F1B9Fk_SgI0
AVC1/H.264 - 41.34MiB
Code:
youtube-dl.exe -f 137 https://www.youtube.com/watch?v=F1B9Fk_SgI0

Last edited by marcomsousa; 12th September 2018 at 10:13.
marcomsousa is offline   Reply With Quote
Old 10th September 2018, 11:23   #888  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Thx. ffmpeg can decode/play it already. Interesting that it's not webm. (I know it was said mkv/webm binding isn't final yet.)
sneaker_ger is offline   Reply With Quote
Old 10th September 2018, 12:02   #889  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by Mr_Khyron View Post
Why is the format identifier so messed up? "av01.0.05M.08" and such. On second look AVC is messed up also.

And it only goes up to 480p?
mzso is offline   Reply With Quote
Old 10th September 2018, 13:10   #890  |  Link
MoSal
Registered User
 
Join Date: Jun 2013
Posts: 95
Quote:
Originally Posted by mzso View Post
And it only goes up to 480p?
Higher resolutions are probably still encoding
__________________
https://github.com/MoSal
MoSal is offline   Reply With Quote
Old 10th September 2018, 13:23   #891  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by mzso View Post
Why is the format identifier so messed up? "av01.0.05M.08" and such. On second look AVC is messed up also.
Thats not messed up, thats the codec parameters string as the MP4 specification, its used for immediate profile/level recognition without having to parse the file.

https://aomediacodec.github.io/av1-isobmff/#codecsparam

av1, Main Profile (0), Level 3.1 (05), Main Tier (M), 8 bit (08)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 10th September 2018, 13:23   #892  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 80
Quote:
Originally Posted by sneaker_ger View Post
Thx. ffmpeg can decode/play it already. Interesting that it's not webm. (I know it was said mkv/webm binding isn't final yet.)
You can also decode/play with Chrome 70 DEV (via chrome://flags/)
Chrome/Firefox don't add any features that can be incompatible in the future.

Quote:
Originally Posted by mzso View Post
Why is the format identifier so messed up? "av01.0.05M.08" and such.
mp4 codecs param

Quote:
Originally Posted by mzso View Post
And it only goes up to 480p?
It's beginning encoding videos with AV1 as a testing or to push the standard.
It's too expensive encoding all videos at this moment, maybe it's better waiting 1 year (with custom capable encoding hardware).
marcomsousa is offline   Reply With Quote
Old 10th September 2018, 20:36   #893  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by nevcairiel View Post
Thats not messed up, thats the codec parameters string as the MP4 specification, its used for immediate profile/level recognition without having to parse the file.

https://aomediacodec.github.io/av1-isobmff/#codecsparam

av1, Main Profile (0), Level 3.1 (05), Main Tier (M), 8 bit (08)
Ah, okay.

So, is LAV holding back support until some sort of wider adoption of AV1 is accomplished?

Quote:
Originally Posted by marcomsousa View Post
It's beginning encoding videos with AV1 as a testing or to push the standard.
It's too expensive encoding all videos at this moment, maybe it's better waiting 1 year (with custom capable encoding hardware).
I didn't suggest that YT should start converting all videos. But converting all resolutions makes sense, for the few that are encoded.
mzso is offline   Reply With Quote
Old 11th September 2018, 05:14   #894  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by marcomsousa View Post
(with custom capable encoding hardware).
The era of HW encoders is behind us. HEVC was too complex to do with ASIC or even with GPU pixel shaders. Encoding with modern complex codecs like AV1 is going to be CPU, and maybe FPGA.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 11th September 2018, 05:50   #895  |  Link
olduser217
Registered User
 
Join Date: Jun 2015
Posts: 21
Quote:
Originally Posted by benwaggoner View Post
The era of HW encoders is behind us. HEVC was too complex to do with ASIC or even with GPU pixel shaders. Encoding with modern complex codecs like AV1 is going to be CPU, and maybe FPGA.
I think there are currently some mobile SOCs or surveillance SOCs that support 4K HEVC encoding with hardware accelerator.
olduser217 is offline   Reply With Quote
Old 11th September 2018, 07:33   #896  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
Quote:
Originally Posted by Mr_Khyron View Post
Youtube has started to encode videos to AV1
https://www.youtube.com/watch?v=F1B9Fk_SgI0

You must have youtube-dl (2018-09-10)
Holy cow, as soon as the extensions get support I'm going to be downloading everything both ways and testing. Hopefully AV1 broad release lives up to its promise.
foxyshadis is offline   Reply With Quote
Old 11th September 2018, 07:56   #897  |  Link
SmilingWolf
I am maddo saientisto!
 
SmilingWolf's Avatar
 
Join Date: Aug 2018
Posts: 95
Hi y'all!

So, since I keep finding more and more alignment-related bugs that only show up on GCC 8.2, but not on 7.3 (compiler's fault? aomedia's fault? Who knows <rant>they have barely gotten any attention despite the community's effort and the fact they involve common configurations and major compiler releases</rant>) I decided to just go for it and build a GCC 7.3 cross compilation VM

Builds specs:
GCC 7.3, 64bits only, statically linked, secure api enabled, so no Win XP support
lbd binaries have been compiled with -DCONFIG_LOWBITDEPTH=1
hbd binaries have been compiled with -DCONFIG_LOWBITDEPTH=0
Use the former for all your 8bits needs since they are considerably faster, the latter for 10-12bits

av1-1.0.0-541-g7d447f5b0: https://mega.nz/#!0wxmgCqS!vBuViCEA7...v1MubYI0lJnluI

Last edited by SmilingWolf; 11th September 2018 at 09:40.
SmilingWolf is offline   Reply With Quote
Old 11th September 2018, 09:58   #898  |  Link
Pushman
Registered User
 
Join Date: Nov 2017
Posts: 7
It is in HD now:

Pushman is offline   Reply With Quote
Old 11th September 2018, 11:08   #899  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
@SmilingWolf: I'll keep an eye on it, as soon as MABS passes in both branches again. But for now, there is a greater evil breaking the building of ffmpeg. If the API for AV1 was ever "frozen", it seems to melt already.

And yes, I shared one of the issues of GCC 8.2.0 creating unaligned RAM access when vector optimization is enabled, several weeks ago, and apart from adding more CC's, not much happened about it.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 11th September 2018 at 11:12.
LigH is offline   Reply With Quote
Old 11th September 2018, 11:46   #900  |  Link
SmilingWolf
I am maddo saientisto!
 
SmilingWolf's Avatar
 
Join Date: Aug 2018
Posts: 95
Quote:
Originally Posted by LigH View Post
@SmilingWolf: I'll keep an eye on it, as soon as MABS passes in both branches again. But for now, there is a greater evil breaking the building of ffmpeg. If the API for AV1 was ever "frozen", it seems to melt already.
Well TBF they froze the bitstream and released a "stable" version 1.0, such issues are to be expected when using an old and moving codebase that needs some cleaning up after many different iterations.
Shouldn't take much more than removing lines 741-744 from libavcodec/libaomenc.c
This one's on FFMPEG, and will probably be fixed in a day or so

What bothers me much more is the same as the second part of your post, the inertia over months-long periods of time in the AOM tracker

Quote:
Originally Posted by LigH View Post
And yes, I shared one of the issues of GCC 8.2.0 creating unaligned RAM access when vector optimization is enabled, several weeks ago, and apart from adding more CC's, not much happened about it.
Regarding this, they are evaluating using the patch I suggested in comment 8 as a short term fix. BUT now it can't be tested with GCC 8.2 on master, because there is another couple of access violations of various nature happening at different optimization levels because of (as far as I've been able to test) some unholy interaction between GCC 8.2 and AVX code

Side note: unaligned memory access is fine AS LONG AS the ASM instructions emitted take into account memory could be unaligned. In this instance GCC 8.2 -O3 emits instructions that expect memory to be aligned to a 16-byte boundary (movdqa and movaps), while GCC 8.2 -O3 -fno-tree-slp-vectorize emits instructions fit for unaligned memory access (movdqu and movups)

My advice is to stay on GCC 7.3 for AV1 for the time being. I found the laptop I was using back in june to build A/V stuff with an old toolchain, if you want I can zip it up and upload

Last edited by SmilingWolf; 11th September 2018 at 11:59.
SmilingWolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:09.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.