Comments

Spot|DSE wrote on 6/7/2004, 9:00 AM
You'll have to use a 3rd party muxer. I've been told that mp3 can be muxed with an avi, but I don't know how to do it. It's certainly not common by any stretch.
jonnycat wrote on 6/7/2004, 9:09 AM
Wow, thanks much for the quick response, Spot. I have noticed some AVI's with an mp3 track (or ogg track) but didn't realize it was something that Vegas wouldn't do.

On that subject, if I want to stick with Vegas (which I do), what is a good compressed audio format that I can use with an AVI?
BJ_M wrote on 6/7/2004, 9:10 AM
you will have to mux it with virtualdub .. instructions on doom9 and videohelp.com

its very common for divx and xvid (along with ac3 and xvid). But almost unheard of for dv (but can be done - so can 5.1 ac3 dv)
BJ_M wrote on 6/7/2004, 9:11 AM
also depends what type of avi you are talking about -- you should be more clear as there is many many types of avi ..

jonnycat wrote on 6/7/2004, 9:27 AM
Hi, BJ, thanks for your response. I actually am using the DivX codec for rendering this film. As far as your question regarding the type of AVI, well, it's not a standard type of AVI I guess. It is a collection of targa files at 30 per second, 800x600x32, for eventual distribution via WWW (not streaming), which is why I need compression.

I've played around with virtualdub, but since I have quite a few audio sources that i have to sync up with different footage I don't know if I would be able to juggle it all between both apps. Are most people doing this type of marriage (AVI and mp3) using VirtualDub, or what editor are they using?
TheHappyFriar wrote on 6/7/2004, 11:11 AM
The audio in that file will be a fraction of file size, unless you're compressing your file a lot. (I use TGA's from Quake 3 in Vegas sometimes).

Divx has a seperate encoding section (I use X-Vid), they might have the mp3 encoding there somewhere.
BJ_M wrote on 6/7/2004, 11:58 AM
IN VEGAS 5 ..... mp3 audio is there for both divx and dv and xvid (or any avi type listed - though i didnt try all to see if it worked) as an option , just go to the audio tab and select mp3 ..

pking36330 wrote on 6/7/2004, 1:08 PM
I must be doing something wrong...I render two Mp3 files every week and I don't have even have a 2nd party mux thingy, let alone a 3rd party one.

After I have set a region for the portion of the audio track I want to use to create the Mp3, I then select "Render As..." and select the "Save as type:" drop-down list to pick the "MP3 Audio (*.mp3)" setting. After rendering the two mp3 files I use Roxio to create an audio CD and it plays fine in the CD player in my car. Isn't that an MP3 file on an audio CD?
Chienworks wrote on 6/7/2004, 1:15 PM
Pking, jonnycat isn't trying to create an audio-only file. He's trying to create a video file that contains MP3 audio as it's soundtrack.
pking36330 wrote on 6/7/2004, 1:26 PM
My bad. I knew it must be something else if I could answer the question.
jonnycat wrote on 6/7/2004, 8:11 PM
I probably should have said that I am using Vegas 4; my bad. In any case though, I do have the option of selecting mp3, but when I do it tells me "no supported formats" and reverts back to the default format (PCM in my case).

jonnycat wrote on 6/7/2004, 8:14 PM
Actually from what I read in the DivX manual (which correlates with what I experienced myself), DivX is ony a video codec; the audio part is rendered by whatever video editing software you are using (I use Vegas, but I'll have to start using a third-party app if I want to use mp3 audio in my AVI movies.

What would be nice is for Sony to release a patch to let us use mp3 audio in an AVI like the free apps let us do.
jonnycat wrote on 6/7/2004, 9:07 PM
Okay, here is the solution that I came up with thanks to direction from BJ: Unfortunately, while it turns out that VirtualDub won't allow using mp3 audio, I found something called "WaveMP3" that takes an mp3 file and "relabels it" as a wave to fool VirtualDub.

For anyone wishing to render AVI with mp3 audio, here is the procedure:

1.) Render AVI as normal with Vegas (I use Divx codec), but no audio.
2.) Convert mp3 a "wavemp3" with wavemp3 .
3.) Open AVI in Virtualdub.
4.) In Vitrual dub: Audio, WAV audio, select the converted mp3 file from step two.
5.) Set both Video and Audio to "Direct Stream Copy".
6.) Save as AVI.

It's a long convoluted route to take, but it works flawlessly.
BJ_M wrote on 6/7/2004, 9:28 PM
v-dub will take a mp3 with no problems .. also a dts or ac3 or ogm file

load video

got to "streams" -> stream list

add "your file" *.mp3

right click on mp3 and adjust interleaving settings

as an option - if nessessary , you can disable an exsisting audio file already present ..

full stream copy

save as






jonnycat wrote on 6/8/2004, 3:25 AM
BJ, where is the "streams" -> stream list section of vitrualdub; I'm using 1.5.10 and I can't find it on any of the menus?
jonnycat wrote on 6/8/2004, 7:57 AM
Alright, works perfectly! Thanks for sticking with me on this, BJ, I really do appreciate your rendering of information here.