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 10th April 2023, 12:27   #1  |  Link
birdie
Artem S. Tashkinov
 
birdie's Avatar
 
Join Date: Dec 2006
Posts: 337
AOmedia next (AV2) codec

Looks like it's being quite actively worked on:

https://gitlab.com/AOMediaCodec/avm
birdie is offline   Reply With Quote
Old 17th April 2023, 22:21   #2  |  Link
Tommy Carrot
Registered User
 
Tommy Carrot's Avatar
 
Join Date: Mar 2002
Posts: 863
I wonder how much efficiency improvement were they able to achieve so far over AV1. I know the bitstream is not finalized, so the current version is not very usable in the long run, but i'd still like to try it out, so i'd appreciate if someone could share a windows build of this codec. I'm also curious about ECM.
Tommy Carrot is offline   Reply With Quote
Old 18th April 2023, 10:49   #3  |  Link
paul97
Registered User
 
Join Date: Mar 2018
Posts: 10
https://gitlab.com/AOMediaCodec/avm/...ines/839933609 I suggest this, though at the moment the deblocking is a bit destroyed.
aomenc.exe C:\Users\Use\Videos\cs.yuv --cpu-used=9 --threads=4 --min-qp=57 --width=1366 --height=768 --max-qp=124 -o C:\Users\Use\Videos\single.ivf -
aomdec C:\Users\Use\Videos\single.ivf -o C:\Users\Use\Videos\csao.y4m
ffmpeg.exe -i C:\Users\Use\Videos\csao.y4m C:\Users\Use\Videos\aua.png
on i3 330m I can't decode more than one frame with yuv and aomenc

Job Build (x86_64-mingw-gcc): [inspection-accounting]
just search inspect and will appear
paul97 is offline   Reply With Quote
Old 18th April 2023, 20:59   #4  |  Link
Tommy Carrot
Registered User
 
Tommy Carrot's Avatar
 
Join Date: Mar 2002
Posts: 863
Thank you! I've taken (x86_64-mingw-gcc): [nasm] from the latest main branch build, and after some DLL hunting, i managed to get it work.

The encoder crashes on most of my test clips, so i could only test it on some SD samples. So far it seems to be a few % more efficient than AV1, so from a purely technical standpoint, it's still quite far behind VVC, at least in SD stuff.
Tommy Carrot is offline   Reply With Quote
Old 5th May 2023, 20:25   #5  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,120
experimental AV2 support added to avif: https://github.com/AOMediaCodec/liba...9316c5e273de82
hajj_3 is offline   Reply With Quote
Old 6th May 2023, 14:56   #6  |  Link
birdie
Artem S. Tashkinov
 
birdie's Avatar
 
Join Date: Dec 2006
Posts: 337
Quote:
Originally Posted by hajj_3 View Post
experimental AV2 support added to avif: https://github.com/AOMediaCodec/liba...9316c5e273de82
That's weird. AVIF was finalized or so it seemed.

Now it's not? Now you can have AVIF images based on AV2 features and no existing application will be able to read them?
birdie is offline   Reply With Quote
Old 6th May 2023, 21:13   #7  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Its no different from having a MP4 file with a new video codec. Why redefine the container if it works?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 7th May 2023, 07:32   #8  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 697
AV1 SIMD does not work with GCC 13.0.0
Does AV2 SIMD work with GCC 13.0.0?
Jamaika is offline   Reply With Quote
Old 17th June 2023, 12:58   #9  |  Link
Tommy Carrot
Registered User
 
Tommy Carrot's Avatar
 
Join Date: Mar 2002
Posts: 863
I've tested the latest build, and it's finally not crashing on higher resoulutions, so i could get a broader impression. Definitely a noticable improvement over AV1, detail retention and motion stability are both significantly better. The overall quality is pretty close to VVC, albeit much slower, but that is understandable for a work-in progress reference encoder. Interesting behaviour of the encoder is that if i dont specify keyframe intervals, the first keyframe will be encoded to a significantly higher quality, but it takes so much space that the overall quality for a given bitrate is always better if i set keyframe intervals (in my case 150).
Tommy Carrot is offline   Reply With Quote
Old 7th July 2023, 09:27   #10  |  Link
CodecWar
Registered User
 
Join Date: May 2023
Posts: 6
Its just conducted a study comparing AV1 and AV2 video codecs : https://codecwar.com/compare/av1-vs-av2
CodecWar is offline   Reply With Quote
Old 7th July 2023, 12:53   #11  |  Link
CodecWar
Registered User
 
Join Date: May 2023
Posts: 6
Quote:
Originally Posted by CodecWar View Post
Its just conducted a study comparing AV1 and AV2 video codecs : https://codecwar.com/compare/av1-vs-av2
PS

Need to log in to see the all graphs
CodecWar is offline   Reply With Quote
Old 10th October 2023, 17:37   #12  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 697
How to use this for ffmpeg?
Code:
[libavm-av2 @ 0000028e412307a0] v5.0.0-76120a1
Output #0, webm, to 'output_avm.webm':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf60.15.100
  Stream #0:0(und): Video: av1, yuv420p10le(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 3000 kb/s, 29.97 fps, 1k tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
      encoder         : Lavc60.30.102 libavm-av2
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
  Stream #0:1(und): Audio: opus, 48000 Hz, stereo, flt, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
      encoder         : Lavc60.30.102 libopus
[vost#0:0/libavm-av2 @ 0000028e40f16e30] Error submitting a packet to the muxer: Invalid data found when processing input
[out#0/webm @ 0000028e40dd67d0] Error muxing a packet
Jamaika is offline   Reply With Quote
Old 28th November 2023, 09:23   #13  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,120
Here is a list of the remaining european VC-1 patents and their expiry dates:

EP 1,528,812 - 2024-08-11
EP 2,290,991 - 2024-08-11
EP 1,661,387 - 2024-09-02
EP 1,656,793 - 2024-09-03
EP 1,656,794 - 2024-09-03
EP 1,658,726 - 2024-09-03
EP 1,665,761 - 2024-09-03
EP 2,285,113 - 2024-09-03
EP 2,285,114 - 2024-09-03
EP 2,285,115 - 2024-09-03
EP 2,323,398 - 2024-09-03
EP 2,323,399 - 2024-09-03
EP 2,323,406 - 2024-09-03
EP 2,451,161 - 2024-09-03
EP 2,466,894 - 2024-09-03
EP 2,466,895 - 2024-09-03
EP 1,549,064 - 2024-11-08

AV2 can use these in under 12 months if needed. Most european h264 patents expire by March 2024 too for the original spec of h264 that is. All Xvid patents have expired too.

Last edited by hajj_3; 28th November 2023 at 09:40.
hajj_3 is offline   Reply With Quote
Old 28th November 2023, 21:15   #14  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,752
Quote:
Originally Posted by hajj_3 View Post
Here is a list of the remaining european VC-1 patents and their expiry dates:

EP 1,528,812 - 2024-08-11
EP 2,290,991 - 2024-08-11
EP 1,661,387 - 2024-09-02
EP 1,656,793 - 2024-09-03
EP 1,656,794 - 2024-09-03
EP 1,658,726 - 2024-09-03
EP 1,665,761 - 2024-09-03
EP 2,285,113 - 2024-09-03
EP 2,285,114 - 2024-09-03
EP 2,285,115 - 2024-09-03
EP 2,323,398 - 2024-09-03
EP 2,323,399 - 2024-09-03
EP 2,323,406 - 2024-09-03
EP 2,451,161 - 2024-09-03
EP 2,466,894 - 2024-09-03
EP 2,466,895 - 2024-09-03
EP 1,549,064 - 2024-11-08

AV2 can use these in under 12 months if needed. Most european h264 patents expire by March 2024 too for the original spec of h264 that is. All Xvid patents have expired too.
Not that VC-1 is of practical use these days, but the VC-1 reference encoder was pretty much the commercial WMV implementation, so included a lot of interesting techniques that would now be available. Its adaptive deadzone implementation had some really good implementation (and thank goodness, as its delta QP signaling had a high overhead).
It also did a lot of early HEVC-like variable interprediction block size and shape stuff. And a decent overlap transform.

I don't know how applicable any of that would be to AV2, however. It's been a long time since I lived and breathed VC-1 optimization.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 29th November 2023, 09:42   #15  |  Link
oibaf
Registered User
 
Join Date: Nov 2008
Posts: 56
Quote:
Originally Posted by hajj_3 View Post
Here is a list of the remaining european VC-1 patents and their expiry dates:

EP 1,528,812 - 2024-08-11
EP 2,290,991 - 2024-08-11
EP 1,661,387 - 2024-09-02
EP 1,656,793 - 2024-09-03
EP 1,656,794 - 2024-09-03
EP 1,658,726 - 2024-09-03
EP 1,665,761 - 2024-09-03
EP 2,285,113 - 2024-09-03
EP 2,285,114 - 2024-09-03
EP 2,285,115 - 2024-09-03
EP 2,323,398 - 2024-09-03
EP 2,323,399 - 2024-09-03
EP 2,323,406 - 2024-09-03
EP 2,451,161 - 2024-09-03
EP 2,466,894 - 2024-09-03
EP 2,466,895 - 2024-09-03
EP 1,549,064 - 2024-11-08

AV2 can use these in under 12 months if needed. Most european h264 patents expire by March 2024 too for the original spec of h264 that is. All Xvid patents have expired too.
Most active VC-1 patents (source) are from Microsoft, some other from LG and Samsung and all these cover around 90% (very rough estimate just looking at the PDF, many are just the same patent in different countries) of active VC-1 patents.

However, all these companies are already members of AOMedia (source), so AOMedia can already use their patents, even if they are not expired.

Anyway you still have a point, especially for Samsung, who joined after AV1 specs was released, and their active patents may not be in AV1 but could eventually be included in AV2.

EDIT: I checked, all patents you listed are all from Microsoft.

Last edited by oibaf; 29th November 2023 at 09:51.
oibaf is offline   Reply With Quote
Old 9th December 2023, 12:38   #16  |  Link
oibaf
Registered User
 
Join Date: Nov 2008
Posts: 56
Quote:
Originally Posted by CodecWar View Post
Its just conducted a study comparing AV1 and AV2 video codecs : https://codecwar.com/compare/av1-vs-av2
The website is down? https://isitdownorjustme.net/status/codecwar-com/
oibaf is offline   Reply With Quote
Reply

Tags
av2

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 01:14.


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