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 > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st December 2023, 09:42   #1  |  Link
j7n
Registered User
 
j7n's Avatar
 
Join Date: Apr 2006
Posts: 137
Opus file starts with a noise impulse in LFE

There seems to be a bug with encoding 5.1 in Opus. The LFE channel sometimes starts with a quiet puff of noise at about -56 dB if the input contains inaudible background noise. Seems to happen in any recent version of Opus. There is no noise when encoding absolute silence. Can anyone confirm?

To reproduce: Make a silent file with 6 channels, add some dither to it, encode with opusenc.exe.

http://j7n.sytes.net/temp/opussample/
j7n is offline   Reply With Quote
Old 1st December 2023, 15:28   #2  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Quote:
Can anyone confirm?
Not me.
With "opusenc opus-tools 0.2-34-g98f3ddc (using libopus 1.4-9-gc8549975)"
using:
Code:
ffmpeg -y -threads 8 -loglevel fatal -nostdin -i "C:\Users\Selur\Desktop\6chdither2s.wav" -ac 6 -ar 48000 -sample_fmt s32 -f sox - | sox --multi-threaded  --temp "J:\tmp\2023-12-01@15_17_52_761000" --buffer 524288 -S -t sox - -t flac - | opusenc --bitrate 192 --comp 10 --framesize 20 --expect-loss 0 --max-delay 1000 --ignorelength -  "G:\Output\iId_1_aid_0_2023-12-01@15_17_52_761000.opus"
and using:
Code:
opusenc --bitrate 192 --comp 10 --framesize 20 --expect-loss 0 --max-delay 1000 --ignorelength "C:\Users\Selur\Desktop\6chdither2s.wav"  "G:\Output\direct.opus"
both seem fine. Can't here anything in MPC-HC nor see anything in audacity.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 1st December 2023, 16:56   #3  |  Link
j7n
Registered User
 
j7n's Avatar
 
Join Date: Apr 2006
Posts: 137
I used the build from Rarewares and a few older ones with a simple command line:

opusenc --bitrate 448 6chdither2s.wav 6chdither2s.opus

The output of opusdec, Foobar 2.0 and MPC-HC is the same. It's quiet, but I first noticed it with quiet music. I suspect it might to do with filtering of the LFE because it can contain 4 kHz, but is lowpass filtered by the encoder.
j7n is offline   Reply With Quote
Reply

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 16:05.


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