I actually wasn't, but thanks for the precise correction
-----
I tested a random free mp3 from an archive.org concert, and the eac3to slowdown result matched the expected to the ms .
(For some reason it won't let me upload it here, but you can try it out yourself)
https://www.mediafire.com/?4b5f4yldtjwdm0g
Expected result from slowdown
709.799 * 25/(24000/1001) = 740.1133322917
eac3to slowdown result as wav
740.113
So I think it's specific to your particular scenario / source
Check the log file to see if eac3to is doing any other manipulations
No, because it varies by encoder, by Hz , by encoder profile (e.g. HE-AAC vs. LC-AAC) .do you recommend always shaving off 55 ms of any source audio?
But nero is noted for it's exceptionally large values. QAAC has more options to control this (--no-delay )
+ Reply to Thread
Results 31 to 45 of 45
-
-
That probably means mkvtoolnix has read the metadata and delayed the audio accordingly. At 48 kHz with 2624 samples delay and a frame length of 2624 it will delete the first three frames 3 * 1024 = 3072 (first number divisible by 1024 and greater than 2624). That leaves 448 samples of positive delay. 448 / 48 kHz = 9.333.. ms. So roughly 10ms (timecodes may be not 100% accurate - that's normal in mkv).
Not directly. But you can pipe.
eac3to "input.wav" "stdout.wav" -slowdown | qaac --no-delay --adts - -o "output.aac"
Or you can extract raw aac from nero m4a. Then metadata is lost. -
I'm sorry so is the Delay relative to the video 10 ms .....why would it ADD more if the issue is the encoder is ADDING a delay already? Shouldn't it be -10?
-
Like I explained: Mkvmerge deletes 3072 samples. Since the delay of Nero was +2624 samples you now have -448 samples delay. Well, would have. You don't because mkvmerge counters it by letting the first frame (actually fourth frame) of the aac audio start at +448 samples (~= +10ms at 48 kHz). So then MediaInfo will report a positive delay.
-
So basically the encoder delay gets "taken care of" by MKVMerge/ToolNix then?
I don't have to do much? So the 10ms delay relative to the video is just proper? Not a real delay necessarily that would make the audio go out of sync? In which case is it worth doing --no-delay on qaac? -
Yes.
Correct.
Yeah, quite the opposite: the delay as reported by MediaInfo is actually there to ensure correct sync.
MediaInfo doesn't check actual lip sync. It only compares video to audio start times as they are stored in the file.
Debatable. -
https://www.amazon.com/clouddrive/share/qJWsfUc1tjPZ7RCylZEoDNKEs1nsa84sKXZvDhjmIuU?re...hare_link_copy
^ Above is the WAVPCM file that is not coming out correctly via slowdown on EAC3To. Perhaps you can take a look at it.
And thank you for your insightful answers. I have a lot to consider now... -
One thing - any idea what the delay values are for different types of encoders, good sir? Like LIBAV AAC (FFmpeg Audacity) ??? etc or where I may find these? I found a thing on Hydrogen audio stating various samples of delays...but no real ...database of solid numbers in terms of milliseconds...and I don't understand the "sample size" entirely.
-
Thank you so much.
I will see on this.
Also Madshi just figured it out. It's not an EAC3To problem as much as it's the libSsrc library problem which does not resample 44.1 KHz correctly but instead works off of integers - make a 44.1 KHz file 44 KHz...on processing. Hence the difference in the WAV output... -
-
So I guess I shouldn't put a lot of stock to MediaInfo delay #'s unless it's a significant amount like 50ms + ?
Also - then is there any point in necessarily using an encoder with a LESSER initialization delay?Last edited by TheLastOfThem; 13th Jul 2017 at 17:26.
-
I'm not sure you should ever need to worry about encoder padding, at least in theory. If audio includes padding and it's written to the file correctly (gapless playback info), it should be decoded without it, and I'd imagine that'd include importing into Audacity, although I don't use Audacity myself. You should be able to transcode from MP3 to AAC to wave to AAC to wave and still end up with the same number of samples because the padding with be ignored each time (I know I can do so with foobar2000 and if I check each version of the audio, foobar2000 would show the same number of samples).
The only time it'd be a problem is when muxing, if video players don't skip the padding, although chances are the info is lost when muxing, but for AAC MKVToolNix compensates.
I used Nero for years although I mostly use QAAC these days. QAAC has a zero delay option, which is nice if you like seeing a zero delay with MediaInfo, although not important, but it also has a built in peak normalizing function I find handy on occasion.
I do most of my audio encoding with foobar2000 (or sometimes MeGUI) as extracting and importing and time-stretching and transcoding seems a bit hard when you can create a preset, load the audio and do it all with a few clicks. There's a DSP for foobar2000 that lets it open Avisynth scripts, so you can create a script to torture the audio however you prefer, open it in foobar2000 and convert.
Or you could configure ffmpeg as the encoder. Here's the command lines from two foobar2000/ffmpeg encoder presets I use now and then:
NTSC to PAL speedup with ffmpeg, wave file output:
Code:-i - -ignore_length true -af "rubberband=tempo='1001/960':pitch='1001/960'" -c:a pcm_s24le %d
Code:/d /c c:\progra~1\foobar2000\encoders\ffmpeg.exe -i - -ignore_length true -af "rubberband=tempo='1001/960':pitch='1001/960'" -c:a pcm_f32le - | c:\progra~1\foobar2000\encoders\QAAC\qaac.exe --ignorelength -s --no-optimize --no-delay -V 91 -o %d -
Last edited by hello_hello; 13th Jul 2017 at 21:13.
Similar Threads
-
Aac eac3to
By TheLastOfThem in forum AudioReplies: 7Last Post: 8th Jul 2016, 15:59 -
How to install and use 'eac3to and more' GUI ?
By Hitesh12 in forum Newbie / General discussionsReplies: 0Last Post: 2nd Jan 2015, 09:54 -
eac3to on mkv
By mikehunt69 in forum Blu-ray RippingReplies: 2Last Post: 2nd Jan 2014, 12:02 -
eac3to conversion problem
By dac1 in forum Blu-ray RippingReplies: 0Last Post: 5th Oct 2013, 15:16 -
Eac3to problem
By abhi247 in forum Blu-ray RippingReplies: 7Last Post: 18th Feb 2013, 14:03