Log in

View Full Version : Inserting a 5 second audio clip into an ac3 tack - Is this possible?


bokonon
20th April 2008, 17:27
Basically, i want to splice part of an .mpa (TV recording) with the ac3 track from a DVD without re-encoding the ac3 track (i don't mind re-encoding the audio from the tv recording). But it has to be in a specific part of the film and i don't want to change the length of the AC3 track (so it keeps sync with the video).

:confused:

tebasuna51
20th April 2008, 21:52
Use DelayCut and split the original ac3 in 3 parts:
- 1.ac3 first part
- 2.ac3 (the 5.024 seconds you want replace, always a multiple of 32 ms if is 48 KHz.)
- 3.ac3 until the end

With the mpa make a new 2.ac3 with the same parameters: SampleRate, BitRate, NumChannels, DialNorm, DRC, etc.

Now you can join the 3 fragments:
copy /b 1.ac3 + 2.ac3 + 3.ac3 new.ac3

bokonon
21st April 2008, 01:22
thank you! How can i find the exact MilliSecond time code for the ac3 files? Should i trust the MPC timecodes?

tebasuna51
21st April 2008, 01:44
I don't know if you have video or audio references to search the exact points.
If video you can use VirtualDub for more precise time than MPC.
If audio maybe you need decode to wav and use an audio editor like Audacity.