Log in

View Full Version : exchanging mp3 for ac3 audio


WhipHubley
10th April 2004, 20:03
hi there.

I have 2 .avi files.

both are the same movie.

file 1 has nice video but crappy mp3 audio.

file 2 has crappy video but nice ac3 audio.

I'd like to bring together the nice video and the ac3 audio.

so...

I started AVI2DVD and got it to extract the ac3 audio from file 2.

I then ran AVI2DVD with file 1, but stopped it after it had extracted its mp3 audio.

I was then going to drop the extracted ac3 audio in place of the extracted mp3 audio, and start AVI2DVD again with file 1 using the recovery mode - thereby getting the nice video and the nice audio.

BUT - will AVI2DVD complain because according to its log file it is expecting the extracted audio to be an .mpa file, rather than an .ac3 file?

if so, is there anyway I can "hack" the log so that it will do this?

thanks very much for your help!

Nick
10th April 2004, 20:23
Afraid not.
You would have to author manually.

TMPGEnc DVD Author will easily author from your encoded video mpv file and your AC3 file.

Alternatively, the most automated way to do it would be to add the extracted ac3 stream to your bad-audio avi file in virtualdub, resave it with the video mode set to Direct Stream Copy, then start the encode afresh. It would also allow you to check that the new audio stream remained in sync for the whole movie before wasting time and discs.

Good luck
Nick

WhipHubley
11th April 2004, 09:57
OK - cheers for these tips.

I think I'll go with the virtualdub option (or AVIMux GUI, which seems to handle AC3 audio better) then check / adjust the sync and pass it to AVI2DVD.

thanks again.

Nick
11th April 2004, 12:18
Ah, good point!
virtual dub doesn't do AC3. Doh
vdubmod does, as does AVImux.
:)

Still, you got the idea!
Good luck

Nick

WhipHubley
11th April 2004, 17:42
oh poo - it seems that AVI2DVD doesn't keep the AC3 audio, but converts it (to mpa?) with BeSweet :-(

looks like I'm gonna' have to extract the ac3 audio, subtract it from 4.7GB, and pass the video through TMPGEnc after a bitrate calculation.

then hand the two files to TMPGEnc DVD Author.

bah!

(what exactly is AVI2DVD doing with that ac3 audio anyway?)