I have an MPEG2 video with a 2 channel AC3 audio stream that I'm trying to convert to Xvid with MP3 audio in a single step. With other MPEG2 files I've used Virtualdubmod to do it all, but when I tried that with this file, my output file had no audio. When I go to Streams List to try to demux the audio stream, it gives a weird error about having a VBR MP3 stream. TMPGEnc won't read the AC3 audio stream either. I've searched and searched but not found a specific way to go from MPEG2/AC3 to Xvid/MP3. Here's the file info from GSpot, if it helps: Thanks in advance!!
I used DGIndex already to pick out the video and audio streams I wanted to use, then ran HDTVtoMPEG2 to turn my transport stream into an MPG file. What else should I do with DGIndex? What do you mean by "run it through" DGIndex?
Install AC-3ACM Decompressor and you can convert/decompress AC3 audio directly to WAV / MP3 using VirtualDub. This also works with AviSynth and TMPGEnc, allowing you to use AC3 encoded files http://fcchandler.home.comcast.net/AC3ACM/ right-click on the AC3ACM.inf file and choose Install..
I tried that and it didn't seem to work - when I opened the MPG file in TMPGEnc, it didn't recognize the audio stream. Are there certain versions I need of TMPGEnc and the AC3ACM decompresser? I have somewhat worked around this issue by playing the video in Winamp and using its Diskwriter plugin to write out the audio as WAV, then opening the MPG and WAV in TMPGEnc and converting that to MPEG2 with MP2 audio, then using Virtualdubmod to convert that to Xvid. The problem with that is the audio got out of sync by about 600ms, which I corrected in Vdubmod, but it was still an annoyance I'd rather not deal with.
I mean to demux the audio and create a D2V file. Then frameserve the video via AVISynth for encoding and mux with the AC3, unless you don't want AC3 in which case you have multiple options. You could frameserve the AC3 with the video, use BeSweet to convert, etc.
I don't really want AC3 at all - I want my output file to be an Xvid AVI with MP3 audio. I'm only working with AC3 because I'm recording this from my Motorola DCT6412 DVR, and the stream coming from that is MPEG2 with AC3, so that's what I'm stuck working with. I'll look into those other options you gave, unless you have another recommendation for getting it to Xvid + MP3
mencoder. Something like: mencoder.exe -ovc xvid -xvidencopts whatever -oac mp3lame lameencopts whatever input.mpg -o output.avi