Converting to Opus: 44.1 kHz resampled to 48 kHz |
![]() ![]() |
Converting to Opus: 44.1 kHz resampled to 48 kHz |
Jan 21 2013, 02:19
Post
#26
|
|
![]() Group: Developer Posts: 295 Joined: 22-November 10 From: Japan Member No.: 85902 |
Yes, I expected Opus to resample to 48 kHz internally. The question was more: if it does, will the CELT coder know that the input was upsampled from 32 kHz by the Speex resampler, and limit its encoding bandwidth to 16 kHz (the bandwidth of the original input file), or is the 20-kHz bandwidth of high-bitrate CELT hard-coded regardless of the input sampling rate? Input sample rate doesn't seem to be get passed to the encoder (although it is used in the calculation of default bitrate, when user doesn't provide it via --bitrate). |
|
|
|
Jan 21 2013, 03:55
Post
#27
|
|
|
Xiph.org Speex developer Group: Developer Posts: 430 Joined: 21-August 02 Member No.: 3134 |
Yes, I expected Opus to resample to 48 kHz internally. The question was more: if it does, will the CELT coder know that the input was upsampled from 32 kHz by the Speex resampler, and limit its encoding bandwidth to 16 kHz (the bandwidth of the original input file), or is the 20-kHz bandwidth of high-bitrate CELT hard-coded regardless of the input sampling rate? Opus doesn't actually have a mode for 16 kHz bandwidth (only 12 and 20). However, the new 1.1-alpha release has new code (it may not be 100% reliable) to avoid wasting bits on frequencies that aren't present in the signal being coded. |
|
|
|
Jan 21 2013, 18:40
Post
#28
|
|
|
Group: Developer Posts: 618 Joined: 6-December 08 From: Erlangen Germany Member No.: 64012 |
Thanks, guys. I'll wait for the 1.1 beta then. Too scared of alphas.
Chris -------------------- If I don't reply to your reply, it means I agree with you.
|
|
|
|
Jan 21 2013, 18:44
Post
#29
|
|
|
Group: Members Posts: 1314 Joined: 3-January 05 From: Argentina, Bs As Member No.: 18803 |
Chris, feel free to submit problematic samples for 1.1a. Experienced ears are required.
Also I'm planning to organize unofficial test of Opus 1.1a vs stable here on HA. This post has been edited by IgorC: Jan 21 2013, 18:47 |
|
|
|
Mar 14 2013, 15:55
Post
#30
|
|
|
Group: Members Posts: 148 Joined: 2-May 07 Member No.: 43131 |
Why 48kHz?
If the lowpass frequency is 20kHz why not resample everything to 40kHz instead of 48. Or why not a higher lowpass setting at higher bitrates? I doubt that 20kHz is a hard limit to everyone anyway. Some might hear a few kHz higher if its loud enough |
|
|
|
Mar 14 2013, 16:05
Post
#31
|
|
![]() Group: Developer Posts: 2977 Joined: 2-December 07 Member No.: 49183 |
why not resample everything to 40kHz instead of 48. A more complete list of common audio sample rates is: ... |
|
|
|
Mar 14 2013, 21:58
Post
#32
|
|
|
Group: Members Posts: 82 Joined: 11-December 06 Member No.: 38563 |
Doesn't the CELT layer work strictly at 48 kHz regardless of input sample rate?
|
|
|
|
Mar 15 2013, 18:28
Post
#33
|
|
![]() Group: Members Posts: 733 Joined: 17-September 06 Member No.: 35307 |
I think the CELT layer in Opus (possibly not in the old CELT codec) works also at 24kHz sampling rate (12kHz bandwidth) - and this is used at least for the 8-12kHz part of the spectrum in the hybrid mode.
|
|
|
|
Mar 15 2013, 18:51
Post
#34
|
|
|
Xiph.org Speex developer Group: Developer Posts: 430 Joined: 21-August 02 Member No.: 3134 |
I think the CELT layer in Opus (possibly not in the old CELT codec) works also at 24kHz sampling rate (12kHz bandwidth) - and this is used at least for the 8-12kHz part of the spectrum in the hybrid mode. No that is incorrect. In Opus, the CELT layer *always* works at 48 kHz, even if it's only coding a small part of the spectrum. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 06:10 |