I have an avi file containing an mp3 audio stream. I wanted to extract the audio stream and multiplex it with an mpeg 2 video stream without re-encoding the audio. So here is what I tried:

I opened up the avi in virtualdub and selected Audio/Direct stream copy and Save wav. This exports the audio (apparently) in mp3 format.

Then in tmpgenc, I use simple multiplex and select the mpeg 2 video file and the mp3 audio file. When I select the mp3 file, I get an error: Illegal MPEG audiostream.

My guess is tmpgenc does not like the headers of the mp3 file virtualdub writes. I know I can multiplex some mp3 files in tmpgenc...just not ones written by virtualdub.

Just wondering if there is any way to accomplish this without re-encoding the audio. It seems silly to go mp3 -> wav -> mp3. Thanks.