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. |
![]() |
#1461 | Link | ||
Registered User
Join Date: Apr 2004
Posts: 1,319
|
Quote:
Again, where is xHE-AAC adoption? It's as old as HEVC. HEVC was adopted, xHE-AAC wasn't. If ultra low bitrates are so important why nobody hurries to adopt this codec? Name me just one relatively large broadcasting company who has adopted it. Name me just one developer team (not Fraunhofer themselves) who actually developing xHE-AAC encoder in this moment. Can You do it? Because if You can't I don't see a reason to keep this dicussion. Quote:
Can You present any statistics? Last edited by IgorC; 11th February 2019 at 19:56. |
||
![]() |
![]() |
![]() |
#1462 | Link |
Registered User
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 444
|
So um, as someone on the outside, I've got to ask - outside of DRM and satisfying "not invented here" syndrome, what benefit does xHE-AAC provide over something like Opus?
__________________
____HTPC____ | __Desktop PC__
2.93GHz Xeon x3470 (4c/8t Nehalem) | 4.6GHz Pentium G3258 (2c/2t Haswell) Radeon HD5870 | Intel iGPU 2x2GB+2x1GB DDR3-1333 | 4x4GB DDR3-1600 Win7 x64 |
![]() |
![]() |
![]() |
#1463 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 3,537
|
Quote:
I think xHE-AAC is going to become more broadly supported on platforms, out of momentum. AAC licensees now get access to xHE-AAC for free so it's a trivial effort to roll in xHE-AAC support with platforms updates. And use of AAC in MPEG-4 streams is broadly understood and implemented. Opus does have a mapping, but I've not seem much use of it. MPEG-4 as a file format is more dominant than H.264 was; the Matroska based container formats aren't a significant player for commercially distributed content. The biggest recent news is that Android Pie has xHE-AAC built in. xHE-AAC also offers gapless switching between bitrates without having to do overlap decoding. Does Opus support that. I consider this a significant advantage of xHE-AAC over HE v1/v2 and LC, which can only do gapless switching within v1 or v2, but not between. xHE-AAC can switch from very low bitrates to very high quality, which wasn't feasible before. And don't knock how critical DRM is for premium content. It's a Very Big Deal. And there are SoC reasons why mixing encrypted video and unencrypted audio can be problematic. |
|
![]() |
![]() |
![]() |
#1464 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,801
|
^ DRM is absolutely positively mandatory - no two ways about it. You simply will not get the rights to distribute content if you don't have approved DRM implementations, and this is extremely specific e.g hardware implementations of PlayReady, Widevine with progressive restrictions to unlock HD or UHD content.
I don't love DRM, but it's just table stakes when you're delivering premium content. There's no way around it, so the best we can do is make it as unobtrusive as possible! Regarding the 200 - 300 Kbps scenario - another use case would be rural customers with satellite or very poor cell service. I grew up in a very small town and many of my friends live outside the city limits where there simply is no broadband. Not even DSL, though you could maybe get an ISDN or T1 line if you're a masochist ![]() You might get one bar of LTE (or two if you stand in exactly the right place), and you're sharing this one solitary tower with your neighbors, so during peak times you're lucky to get 1 Mbps, assuming you're not over your data cap, at which point you drop down to under 500 Kbps. Satellite can be fast, but generally is very over-sold in these areas, and cannot keep up with demand during peak times. It also has extreme data caps, and the throttled speed is extremely slow. Anyway - hoping we can get back on topic - AOM codec discussion ![]() Maybe viewing through the ultra low bitrate lens, has anyone done very low bitrate 2 pass VBR tests with AV1? I'd be interested to see how that might fit into the above scenario regarding downloading content for offline playback. This is a neat scenario because you get the bonus of being able to skip all the compromises one must make when encoding for adaptive bitrate delivery and can use very large buffers (vbv-maxrate + vbv-bufsize) and longer adaptive keyframe intervals. Last edited by Blue_MiSfit; 11th February 2019 at 21:50. |
![]() |
![]() |
![]() |
#1465 | Link | ||
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 3,537
|
Quote:
Quote:
I worry that AV1's interframe CABAC dependencies will impair random access enough to make the practical maximum GOP duration a lot smaller. Some of that could probably be addressed via encoder tweaks, at the loss of a little efficiency. |
||
![]() |
![]() |
![]() |
#1466 | Link |
Registered User
Join Date: May 2002
Posts: 94
|
I think that I misled wen I reference DRM, I was referencing to Digital Radio Mondiale where xhe-aac is one of the codecs used.
The lowest that I went with AV1 is q50 for sd anime and is surprisingly watchable (resulting in about 100 to 200 kbps of video bitrate, the audio was opus at 32kbps). Definitely CDEF is a great tool. Around 30MB per episode... I wish that this quality-bitrate ratio was available 20 years ago. Last edited by Phanton_13; 11th February 2019 at 22:45. |
![]() |
![]() |
![]() |
#1467 | Link | |
Registered User
Join Date: Apr 2004
Posts: 1,319
|
Quote:
Many people try to market a feature of xHE-AAC as switching between bitrates as something outstanding and so on. But in reality it's not a premium feature and Opus supports it from the very beginning. More here https://wiki.hydrogenaud.io/index.php?title=Opus Also xHE-AAC is a high delay codec and it's not suitable for real time communications like VOIP calls etc. Company who wants real time communication should also adopt low-delay xHE-AAC fork (EVS). And if You want stereo EVS then this is just another extension. So we got mutltiple codecs and/or extensions: 1.xHE-AAC 2.low delay EVS 3.EVS stereo extension (aka IVAS) ... It's sort of LC-AAC, HE-AAC, HE-AACv2, Low delay AAC (LD-AAC), Enhanced LD-AAC ( low delay HE-AAC) aka ELD-AAC, ELD-AAC v2 (HE-AACv2 low delay), xHE-AAC, EVS ( low delay xHE-AAC), IVAS (low delay stereo xHE-AAC)... While Opus is just one single format for everything: high-,low-delay, stereo and multichannel codec. So I'm not surprised that Opus is popular in internet community while xHE-AAC support is non-existent. Android 9 will get an xHE-AAC decoder but there is still no any encoder Last edited by IgorC; 12th February 2019 at 00:43. |
|
![]() |
![]() |
![]() |
#1468 | Link |
Registered User
Join Date: Mar 2002
Posts: 857
|
Very low bitrate is definitely the strong point of AV1 (more precisely aomenc). At around crf 28-30 compression rates, it's starting to get better than x265, and the lower the bitrate, the bigger the advantage. XVC, and especially VVC are still better though, the VVC reference encoder is seriously amazing at ultra low bitrate scenarios.
|
![]() |
![]() |
![]() |
#1469 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 3,537
|
Quote:
|
|
![]() |
![]() |
![]() |
#1470 | Link | |
Registered User
Join Date: Mar 2002
Posts: 857
|
Quote:
Code:
aomenc --end-usage=q --cq-level=xx --cpu-used=1 --kf-max-dist=250 -v -o av1.webm test.y4m Last edited by Tommy Carrot; 12th February 2019 at 01:53. |
|
![]() |
![]() |
![]() |
#1471 | Link | |
Registered User
Join Date: Nov 2002
Location: Minnesota, USA
Posts: 34
|
Quote:
|
|
![]() |
![]() |
![]() |
#1473 | Link |
Registered User
Join Date: May 2005
Location: Swansea, Wales, UK
Posts: 184
|
It says "low core count (e.g. 4-core machines)" though, does that mean it doesnt apply at all to higher core counts, or that they alreeady have a similar optimisation implemented or in the pipe?
|
![]() |
![]() |
![]() |
#1474 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,046
|
It probably means that memory usage didn't scale properly to different core counts. The more cores you run, the more memory its going to need, that is not unexpected from any encoder.
![]()
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
![]() |
![]() |
![]() |
#1475 | Link | |
Member
Join Date: Nov 2002
Posts: 147
|
SVT-AV1 Already Seeing Nice Performance Improvements Since Open-Sourcing
https://phoronix.com/scan.php?page=n...Speed-Progress
Quote:
|
|
![]() |
![]() |
![]() |
#1476 | Link | |
Registered User
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 444
|
That's certainly amusing considering that Intel seemed to love branding quad cores as i7 up until recently.
![]() Speaking of quad core i7 CPUs... Quote:
__________________
____HTPC____ | __Desktop PC__
2.93GHz Xeon x3470 (4c/8t Nehalem) | 4.6GHz Pentium G3258 (2c/2t Haswell) Radeon HD5870 | Intel iGPU 2x2GB+2x1GB DDR3-1333 | 4x4GB DDR3-1600 Win7 x64 |
|
![]() |
![]() |
![]() |
#1477 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 6,206
|
btw. https://ci.appveyor.com/project/Open...uild/artifacts offers Windows binaries of the stv-av1 encoder (SvtAv1EncApp.exe and SvtAv1EncApp.dll are needed)
|
![]() |
![]() |
![]() |
#1478 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,801
|
Very cool. I'm playing with this now.
Default settings are quite fast - it did 12 fps for 480p on my i7 7700k with 50% CPU usage and 1.2 GB RAM usage. Here's the basic usage guide: https://github.com/OpenVisualCloud/S..._user_guide.md A sample command: .\SvtAv1EncApp.exe -i .\beauty_480p.yuv -b out.ivf -w 848 -h 480 -fps 24 Yes, I had to encode at 848x480 and not 854 - comically this encoder requires mod 8 input ![]() Results aren't too bad - the default CQ 50 setting produced a 623 Kbps file that looks marginally okay, and CQ 40 produced a 1.2 Mbps file that looks a lot better. There are some odd artifacts, almost like the edges of objects wiggle a bit every other frame. However, I'm getting very jerky playback for some reason. I've tried a LAV nightly build in MPC-HC, latest VLC, and ffplay, and they all show the issue. I confirmed my input YUV is 24 fps and the output webm is 24 fps. When I step through it frame by frame it's all there, but for some reason it's jerky on playback. I don't recall seeing this with aomenc encodes, and the decoder isn't close to maxing out one core, so I'm not sure what's up with that... Last edited by Blue_MiSfit; 16th February 2019 at 21:48. |
![]() |
![]() |
![]() |
#1479 | Link | |
Registered User
Join Date: Jan 2017
Posts: 9
|
Quote:
|
|
![]() |
![]() |
![]() |
#1480 | Link | |
Registered User
Join Date: Aug 2015
Posts: 34
|
Quote:
(also note that CABAC is a misnomer, as it's not binary. The spec doesn't give it an acronym, but dav1d uses MSAC). |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|