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 27th April 2021, 19:50   #2401  |  Link
butterw2
Registered User
 
Join Date: Jun 2020
Posts: 208
Quote:
Originally Posted by benwaggoner View Post
Looks interesting, and makes sense given YouTube's pixels/watt economic needs. I note they don't have an AV1 implementation yet, but are working on one.
According to the Cnet article, they have began deployment of the 2nd Gen Argos hw encoder VCU (with AV1 support) in recent months.
butterw2 is offline   Reply With Quote
Old 27th April 2021, 20:56   #2402  |  Link
dapperdan
Registered User
 
Join Date: Aug 2009
Posts: 200
Quote:
Originally Posted by benwaggoner View Post
It's interesting to see Google talking about power savings in the cloud, which would be a lot smaller than the added power draw of YouTube's forced software VP9 and AV1 decode. I'm sure MW are being spent globally to decode VP9/AV1 in SW on devices that support H.264/HEVC in hardware. Even 10 extra watts per viewer at YouTube's scale is enormous.
If we're jumping straight to eco-communism and forcing giant corporations to spend millions of dollars in a specific way for the good of the planet then I have many suggestions that will have a deeper impact than YouTube using HEVC.

Even if we stick within video codecs, it would seem that corporations behind HEVC not charging for using math that they claim the legal rights to licence would be a more obvious target for anger and activism in this regard. Especially as they're currently pushing 3.5 new competing codecs. Wouldn't it be better for the ice caps if they just adopted AV1?
dapperdan is offline   Reply With Quote
Old 28th April 2021, 00:29   #2403  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,751
Quote:
Originally Posted by butterw2 View Post
According to the Cnet article, they have began deployment of the 2nd Gen Argos hw encoder VCU (with AV1 support) in recent months.
I hope there will be a followup publication about that version.

There's been a fair amount of R&D around assisted encoding, using HW encoders for coarse motion estimation, frame type decisions, that sort of thing. MCW saw about a 20-25% speedup in x265 using that, which wasn't really worth it in the end. If the Gen2 processor is better suited to that, perhaps they can combine some higher level algorithmic tuning to get a bigger share of the potential efficiency of codecs.

However, the way they've leaned into optimization for memory bandwidth would preclude much low-level tweaking. But maybe a faster hybrid mode as mentioned above? Maybe try encoding each frame different ways on different processors and then synthesize the data for a final pass?
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 28th April 2021, 00:35   #2404  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,751
Quote:
Originally Posted by dapperdan View Post
If we're jumping straight to eco-communism and forcing giant corporations to spend millions of dollars in a specific way for the good of the planet then I have many suggestions that will have a deeper impact than YouTube using HEVC.
Sure, be my guest! But this is something that can make a different within the domain of this forum.

Quote:
Even if we stick within video codecs, it would seem that corporations behind HEVC not charging for using math that they claim the legal rights to licence would be a more obvious target for anger and activism in this regard. Especially as they're currently pushing 3.5 new competing codecs. Wouldn't it be better for the ice caps if they just adopted AV1?
Pretty much every phone, tablet, and PC has supported HEVC HW decode for years now. Using a SW decoder on devices that have a HEVC HW decoder is wasting watts. I'd imagine by 2025 we'd have the majority of new devices have AV1 decode and the math would change. But there's no way to add HW decoder to devices that already shipped or will ship without HW AV1.

An argument certainly can be made on purely an environmental basis that HEVC and VVC should get much more H.264 like licenses so that Chrome and Firefox could use those codecs and YouTube and Facebook would encode for them.

Alas, that is the domain of lawyers and MBAs, and I only get to give them my opinions, not tell them what to do.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book

Last edited by benwaggoner; 10th May 2021 at 21:40. Reason: Fixed quote
benwaggoner is offline   Reply With Quote
Old 4th May 2021, 10:04   #2405  |  Link
Mr_Khyron
Member
 
Mr_Khyron's Avatar
 
Join Date: Nov 2002
Posts: 163
https://aomedia.googlesource.com/aom...76dca7a837ad4c
Quote:
Release v3.1.0 Celestia

2021-05-03 v3.1.0
This release adds an "all intra" mode to the encoder, which
significantly speeds up the encoding of AVIF still images at speed 6.

- Upgrading:
All intra mode for encoding AVIF still images and AV1 all intra
videos: AOM_USAGE_ALL_INTRA (2) can be passed as the 'usage'
argument to aom_codec_enc_config_default().

New encoder control IDs added:
- AV1E_SET_ENABLE_DIAGONAL_INTRA: Enable diagonal (D45 to D203)
intra prediction modes (0: false, 1: true (default)). Also
available as "enable-diagonal-intra" for the
aom_codec_set_option() function.

New aom_tune_metric enum value: AOM_TUNE_BUTTERAUGLI. The new aomenc
option --tune=butteraugli was added to optimize the encoder’s
perceptual quality by optimizing the Butteraugli metric. Install
libjxl (JPEG XL) and then pass -DCONFIG_TUNE_BUTTERAUGLI=1 to the
cmake command to enable it.

Addition of support for libvmaf 2.x.

- Enhancements:
Heap memory consumption for encoding AVIF still images is
significantly reduced.

- Bug fixes:
Issue 2601: third_party/libaom fails licensecheck

Issue 2950: Conditional expression for rc->this_key_frame_forced is
always true in find_next_key_frame()

Issue 2988: "make install" installs the aom.h header twice

Issue 2992: Incorrectly printing the temporal_id twice in dump_obu
tool
Mr_Khyron is offline   Reply With Quote
Old 9th May 2021, 09:23   #2406  |  Link
VincAlastor
Registered User
 
Join Date: Sep 2009
Location: Berlin
Posts: 168
SVT-AV1 v0.8.7 released

https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases

[0.8.7] - 2021-05-08

Encoder

Feature optimizations: creating new mode decision / encode-decode feature levels allowing better speed / quality trade-off granularity
Preset repositioning after adopting new levels
Preset 8 achieving similar speed levels to that of x265 medium in the VOD (shot-based encoding) use-case while maintaining quality gains
New 1-pass and 2-pass VBR implementation ported from libaom and adapted to the SVT architecture - still a WIP
Cleaned up old VBR and CVBR RC code along with the lookahead mechanism associated with them
Improvements for TPL algorithm to handle long clips and easy content
Added HDR support and color primaries SEI signaling (off by default until integrated with ffmpeg)
Memory optimizations, cleaning up data structures to reduce memory usage up to 2x memory reduction in multi-threaded VBR environment
Additional AVX2 and AVX512 optimizations
Cleaned up unused command line parameters except the config params that are linked to ffmpeg
Update user guide and documentation

Build and Testing

Bug fixes
Improve CI coverage
Improve Unit Test Coverage
Address C vs asm mismatches
Fix static analysis warnings / errors
VincAlastor is offline   Reply With Quote
Old 12th May 2021, 19:06   #2407  |  Link
GTPVHD
Registered User
 
Join Date: Mar 2008
Posts: 187
https://forum.blackmagicdesign.com/v...?f=21&t=141034

Quote:
Support for decoding AV1 clips on Windows.
Accelerated AV1 decodes on supported Intel, NVIDIA and AMD platforms.
DaVinci Resolve 17.2 adds AV1 support.
GTPVHD is offline   Reply With Quote
Old 13th May 2021, 12:20   #2408  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,022
mediatek dimensity 900 was announced today, it can hardware decode AV1.
hajj_3 is offline   Reply With Quote
Old 13th May 2021, 18:48   #2409  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,751
Anyone know anything about this AV1 decoder for Xbox Series S|X? https://www.microsoft.com/en-us/p/av...s/9p13g73d7rmz

The AMD GPU in both the PS5 and Xbox Series has AV1 HW decode in its PC GPU implementations. Have we ever found out whether the HW is there on the new game consoles?
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 13th May 2021, 23:00   #2410  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,022
Quote:
Originally Posted by benwaggoner View Post
Anyone know anything about this AV1 decoder for Xbox Series S|X? https://www.microsoft.com/en-us/p/av...s/9p13g73d7rmz

The AMD GPU in both the PS5 and Xbox Series has AV1 HW decode in its PC GPU implementations. Have we ever found out whether the HW is there on the new game consoles?
There is no hardware decoder in at least 1 of the consoles, i read it somewhere official a few weeks ago, can't remember where though.
hajj_3 is offline   Reply With Quote
Old 14th May 2021, 00:58   #2411  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,751
Quote:
Originally Posted by hajj_3 View Post
There is no hardware decoder in at least 1 of the consoles, i read it somewhere official a few weeks ago, can't remember where though.
Share the link if you can find it!
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 17th May 2021, 20:24   #2412  |  Link
soresu
Registered User
 
Join Date: May 2005
Location: Swansea, Wales, UK
Posts: 190
Quote:
Originally Posted by benwaggoner View Post
Anyone know anything about this AV1 decoder for Xbox Series S|X? https://www.microsoft.com/en-us/p/av...s/9p13g73d7rmz

The AMD GPU in both the PS5 and Xbox Series has AV1 HW decode in its PC GPU implementations. Have we ever found out whether the HW is there on the new game consoles?
We went through this months ago when I brought up the AOM GPU software decoder branch for XB1 which uses shaders to work.

Both Sony and MS consoles share the base raster/RT/compute µArch of RDNA2, with each having semi custom optimisations of their own + either their own designed video unit, or an iteration of the AMD VideoCoreNext (VCN) block that predates what went into the PC RDNA2 line up of GPU dies.

Only VCN3 forwards has this support.

That means NV2x currently for AMD, and the upcoming Van Gogh and Rembrandt APUs known to have it from early driver code commits.

This is sadly not that surprising as even the AMD Zen3 Cezanne APU launched just this year still lacks HW ASIC support in its VCN block.

I would expect any Slim or Pro type mid cycle console variants using new chips to have AV1 support though, that would seem a serious blunder if not.

That being said dav1d 0.9 was just released with a massive AVX2 SIMD asm dump for 10+ bpc content, so the current consoles should be more than enough to decode it with 8 Zen2 CPU cores - at least for content like Youtube (or Twitch later) not requiring DRM which is still going to be the majority of AV1 content for some time I think.

Facebook and Netflix sponsored most of the big new AVX2 dump - so clearly they have their eyes on using it for their own BW reducing purposes.

For Xbox you can currently use Kodi v19 which uses an older dav1d 0.8.x release - but there may well be a Kodi v19.x update to come with the 0.9 release of dav1d somewhere down the road.

Last edited by soresu; 17th May 2021 at 20:32.
soresu is offline   Reply With Quote
Old 17th May 2021, 21:48   #2413  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,751
Quote:
Originally Posted by soresu View Post
We went through this months ago when I brought up the AOM GPU software decoder branch for XB1 which uses shaders to work.

Both Sony and MS consoles share the base raster/RT/compute µArch of RDNA2, with each having semi custom optimisations of their own + either their own designed video unit, or an iteration of the AMD VideoCoreNext (VCN) block that predates what went into the PC RDNA2 line up of GPU dies.

Only VCN3 forwards has this support.

That means NV2x currently for AMD, and the upcoming Van Gogh and Rembrandt APUs known to have it from early driver code commits.

This is sadly not that surprising as even the AMD Zen3 Cezanne APU launched just this year still lacks HW ASIC support in its VCN block.

I would expect any Slim or Pro type mid cycle console variants using new chips to have AV1 support though, that would seem a serious blunder if not.
That is great info, thanks!

Quote:
That being said dav1d 0.9 was just released with a massive AVX2 SIMD asm dump for 10+ bpc content, so the current consoles should be more than enough to decode it with 8 Zen2 CPU cores - at least for content like Youtube (or Twitch later) not requiring DRM which is still going to be the majority of AV1 content for some time I think.

Facebook and Netflix sponsored most of the big new AVX2 dump - so clearly they have their eyes on using it for their own BW reducing purposes.
DRM requirements for consoles can be more flexible than for Mac/Win/Android due to the strong virtualization and locked-down nature. One can't run WireShark or a debugger against someone else's code! 720p HD content was allowed on both Xbox 360 and PS3 despite not having fixed-function decoders.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 18th May 2021, 21:04   #2414  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,424
New uploads: (MSYS2; MinGW32 / MinGW64: GCC 10.3.0)

AOM v3.1.0-220-g5b35124c3

rav1e 0.5.0-alpha (df8b712b / 2021-05-16)

dav1d 0.9.0-0 (g8636b4f / 2021-05-16)

avif 0.9.0_917cc2c
dav1d [dec]:0.9.0-0-g8636b4f, aom [enc/dec]:3.1.0-218-ga862e2058, rav1e [enc]:0.5.0-alpha (p20210511-46-gdf8b712b)
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH 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 06:21.


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