Log in

View Full Version : Demuxing mp3 from xvid avi: file not recognized


ohhowhappy
8th April 2005, 14:12
I have an xvid file with your everyday mp3 sound track. I want to demux so I can convert the mp3 to dvd compatible format, using Tmpgenc to convert the video.

Gspot reads the audio as a 128 mp3

My understanding is that VirtualDubMod is required, and that I should go to Streams ---> Stream list ----> Full processing mode (after highlighting the stream) and then the file will be demuxed. True, VDMod works away at it, but the resulting file isn't recognized by any program.

I tried to break it into elementary streams using Tmpgenc, but that prog balks at the audio.

What am I missing? Thanks.

jggimi
8th April 2005, 14:44
Nope, you need to use streams...streams list.

See Doom9's VirtualDubMod Procedures (http://www.doom9.org/vdubmod-procedures.htm) guide.

ohhowhappy
8th April 2005, 20:34
Thanks for your reply.

I guess I wasn't clear. I was trying to follow the guide by using the streams ---> streams list. When I right click I can select full processing mode. I then select not to alter the compression, nor to convert, I just want to demux. I designate a save as mp3 format, and then I'm told I don't have the codec.

However.... I've found that if I just use Direct Stream Copy, not full processing mode, it will demux to a file that can play in Winamp. I can just use Lame to recode as a .wav.

Well, since this is Noobville, I'll keep at it. I've checked my codecs, and I have the Lame ACM mp3 codec that I've seen referred to in other threads. What is VirtualDubMod looking for when it tells me I don't have the codec?

unskinnyboy
8th April 2005, 21:23
The simplest way to demux the mp3 out of an avi is to load the avi into AVI-Mux GUI, press 'generate data source from files', right click on the mp3 track in the GUI and chose 'extract binary'. Save using any name you want. Done.

jggimi
8th April 2005, 22:05
Direct Stream Copy is used when creating a new avi/mkv/ogm file, not when demuxing or saving a .wav file.

...What is VirtualDubMod looking for when it tells me I don't have the codec?

I haven't a clue, though if you need to find out, GSpot (http://www.doom9.org/Soft21/Editing/gspot221.exe) can tell you about codecs used in .avi files, whether you have them installed, and also, what rendering processes would be used on playback.

But "Streams list" produces a window like this example from the guide:
http://www.doom9.org/images/vdubmod/vdubmod-streams.gif

All one needs to do is select the particular stream of interest, and press the Demux button. Are you getting your error at this point, or are you doing something else entirely?

ohhowhappy
10th April 2005, 15:42
Thanks for your explanation, jggmi.
Gspot tells me that the codec is installed. However, when I try to play it by hitting the numbers next to the proposed codec solutions and tests it first tries the Lame Mp3 codec engine and tells me that it failed to connect to an output pin because an invalid media type was detected. But it then tries the default Direct sound device and that's ok. So perhaps VdubMod stops at that first step.