Can audio encoders target quality w/o caring about bit rate/file size?, [OP = softrunner / split from “IETF Opus codec now ready for testing”] |
Can audio encoders target quality w/o caring about bit rate/file size?, [OP = softrunner / split from “IETF Opus codec now ready for testing”] |
Feb 14 2013, 02:33
Post
#1
|
|
|
Group: Members Posts: 48 Joined: 19-July 12 Member No.: 101579 |
I don't know weather it is possible for encoder to do such an analysis of a source audio, but it would be great it yes. It's only a matter of finding the right formula/algorithm.x264 video encoder has encoding mode called Constant Rate Factor. In this mode number (16, 17, etc) is used to define desired quality (lower - better quality and higher bitrate), and encoder does not care about bitrate, only about keeping rate factor constant. It is a question, why nobody has invented something similar for audio encoding (except lossyWAV, which needs too much bitrate for acceptable quality)? ---------------- Opus 1.1 Alpha has some bugs, which can be found using samples from thread High Frequency Listening Test Samples. For example, at 16-24 kbps Opus gives this: ![]() and for 32-40 kbps it gives this: ![]() For samples 1_12kHz, 1_20kHz, 2_8kHz, 2_12kHz and 2_20kHz Opus sounds wrongly even at 512 kbps. Full set of files is here (problematic sampes are marked with exclamation mark). Hope, developers will use this samples in their work. This post has been edited by softrunner: Feb 14 2013, 02:34 |
|
|
|
![]() |
Feb 14 2013, 12:11
Post
#2
|
|
![]() Group: Members Posts: 239 Joined: 9-February 03 Member No.: 4921 |
x264 video encoder has encoding mode called Constant Rate Factor. In this mode number (16, 17, etc) is used to define desired quality (lower - better quality and higher bitrate), and encoder does not care about bitrate, only about keeping rate factor constant. It is a question, why nobody has invented something similar for audio encoding (except lossyWAV, which needs too much bitrate for acceptable quality)? I think every encoder with real vbr (not abr) does that? Lame has V(0-9), QT AAC has --tvbr (0-127), Vorbis has -q((-2)-10). The bitrate may vary a lot with these settings between different songs/genres. |
|
|
|
Feb 19 2013, 13:17
Post
#3
|
|
|
Group: Members Posts: 161 Joined: 6-August 11 Member No.: 92828 |
I am pretty sure that Vorbis is Bitrate based though.
But i really would like this mode in Opus, as i always use it in x264, it´s easier to have a favorite Quality rate, then bitrate, as it can be such a big difference of bitrate needed to produce that Quality. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 02:51 |