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 > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th August 2018, 16:40   #21  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Quote:
Originally Posted by Asmodian View Post
Opus is higher quality than AAC, isn't that a reason to use it? Audio decode time is usually not a concern, it is really fast and can be done on another CPU/thread. HEVC takes a lot longer to decode than AVC too.
There is only a slightest quality-difference between Opus & AAC (Opus being better quality). All good GPU:s nowadays (even since Nvidia GeForce 950/960) got FULL hardware-decoding for HEVC
https://forum.doom9.org/showthread.p...84#post1846184

Even a Opus@128kbps got longer a much decoding-time than AAC@144kbps,
Opus@128kbps: "Decoding time: 0:00.832".

Last edited by Forteen88; 19th August 2018 at 06:48.
Forteen88 is offline   Reply With Quote
Old 18th August 2018, 23:24   #22  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
And that equals to what? Only 300x instead of 1000x real-time?
sneaker_ger is offline   Reply With Quote
Old 19th August 2018, 00:59   #23  |  Link
Phanton_13
Registered User
 
Join Date: May 2002
Posts: 95
Quote:
Originally Posted by Forteen88 View Post
Apple AAC@144kbps (using latest version with qaac_2.67, default setting),
"Decoding time: 0:00.174"

Opus@144kbps (using opus-tools-0.1.10-win64, default setting),
"Decoding time: 0:00.990"
Try that on android and the times are going to vary greatly, in windows foobar2000 in the test make opus appear 5-6 times slower while in reality is only around 0.6 times slower in the worst case, also opus is faster than HE-AAC by a good margin.
Phanton_13 is offline   Reply With Quote
Old 19th August 2018, 06:02   #24  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Quote:
Originally Posted by sneaker_ger View Post
And that equals to what? Only 300x instead of 1000x real-time?
That test was for only 2 channels, but I was thinking more of how much decoding time difference is for like 6channels (with 24 bits bit depth), and combine that with a high resolution (1080p or even 4k) HEVC-video with no hardware-decoding support. That's a lot of pressure on the CPU.
Although, as 'Phanton_13' wrote, maybe foobar2000 got a much slower Opus-decoder than AAC-decoder.

I did another test, source-audio was from a DD5.1 movie,
AppleAAC@320kbps (foobar2k v1.4, 8 threads in Decoding speed test):
Decoding time: 0:37.325
874.862x realtime

Opus@300kbps (foobar2k v1.4, 8 threads in Decoding speed test):
Decoding time: 2:38.280
209.636x realtime

Last edited by Forteen88; 19th August 2018 at 06:46.
Forteen88 is offline   Reply With Quote
Old 19th August 2018, 11:40   #25  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
So 100% of CPU divided by 200 is 0.5% of the CPU would be used for the Opus playback. You wouldn't even be able to measure this reliably.
sneaker_ger is offline   Reply With Quote
Old 19th August 2018, 23:57   #26  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,869
I'm more concerned about compatibility rather than the playback speed.
Besides, Opus was created to accomplish good communications with low bandwidth when two or more people were talking.
Later on, they developed other profiles that aimed to compress other types of contents and not just speech and they did a good job, however, Opus is not widely used and is not considered as standard as AAC and AC3 are.
The large majority of players will likely accept AAC or AC3 audio files, but will probably refuse an Opus audio file.
I'm not talking about computers, I'm talking about hardware decoders like bluray players, consoles and smart tv.
I also gotta say that AC3 might be a bit old (although still valid and widely used), but AAC has a really good psychoacoustic model and its MDCT filter bank that adaptively switches between 128 and 1024 bands (length 256 and 2048 FFT windows, using 50% overlap) demonstrated to be effective through these years, that's why AAC has become the first choice when people encode lossy audio contents.
I'm not saying that you shouldn't use Opus, but is it really worth saving few megabytes at the expense of compatibility with many devices when generally AAC 192kbit/s would be sufficient, AAC 320kbit/s would be good and AAC 384 kbit/s would be crystal and all you need?

Last edited by FranceBB; 20th August 2018 at 00:02.
FranceBB is offline   Reply With Quote
Old 20th August 2018, 16:50   #27  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,403
Then why did you only mention speed and not compatibility? Some users do not care about bluray players, consoles, or smart TVs at all. Let them encode to new higher quality options if they want to to.

We would be stuck on MPEG2 with MP3 if compatibility always won out. Also, HEVC is still a bad idea if compatibility is what you are going for. There are a lot of devices out that that support AVC+AAC that do not support HEVC and AVC at a bit higher bitrate would be sufficient.

Opus is catching on, I would not be surprised to see some smart TVs supporting soon. They are usually running Android and have decent enough CPUs they could do it even without hardware decoding.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 20th August 2018, 18:44   #28  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,869
Quote:
Originally Posted by Asmodian View Post
Then why did you only mention speed and not compatibility?
'cause *I am* more concerned about compatibility, but I'm not the one who asked the question, @Arhu is, I just jumped in the topic and replied with my point of view xD

Quote:
Originally Posted by Asmodian View Post
We would be stuck on MPEG2 if compatibility always won out.
Which is the reason why I encode files in MPEG-2 interlaced 25i TFF by doing speed-ups or blending at work on a daily basis. T_T (Omneon playout ports compatibility for 1080i contents :'( )

Last edited by FranceBB; 20th August 2018 at 18:48.
FranceBB is offline   Reply With Quote
Old 21st August 2018, 21:58   #29  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,736
Personally, I think xHE-AAC is going to be used a lot more than Opus ever will, particularly for commercial use. It outperforms Opus, offers seamless bitrate switching, and is broadly available in AAC licensing. Opus is an excellent codec, seamlessly bridging between low bitrate speech coding with efficient perceptually lossless encoding.

The OEMs have many years of familiarity with Fraunhofer and Via licensing, and I expect device classes that support AAC today to support xHE-AAC in the future.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Tags
settings, tunes, x265

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 03:13.


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