Log in

View Full Version : mp2 and Nandub


yawnmoth
24th September 2002, 02:42
I was able to mux in an mp2 audio file, when I clicked on the mp3 option in nandub. Nandub appeared to mux it correctly, and the file size was right, but... when I tried to play it in Windows Media Player 8, there was no movement - I got a picture, but it never changed. I tried skipping ahead, and had the same problem...
Is mp2 muxing in avi files not a good idea?

Chibi Jasmin
24th September 2002, 12:07
If your mp2 file is CBR and if it plays in WMP, there's no reasons why it wouldn't work exactly the same way as for CBR mp3. The only problem is to first encapsulate the .mp2 file in a .wav one (i.e. just add correct WAV-headers).

A simple way to do it is to use GraphEdt

------------------------------------------------------------

- verify that the file plays in WMP.
- Start GraphEdt
- Insert the 'File Source (Async.)' filter and select your .mp2 file (let's assume it's toto.mp2)
- Insert the 'MPEG-I Stream Splitter' (and connect its input to the output of the previous one)
- Insert the 'WAV Dest' filter (and connect its input to the output of the previous one)
- Insert the 'File writer' and choose a target filename (I suggest toto.mp2.wav so that you don't confuse with uncompressed waves)
- Hit the play button

Now, you have a WAV file on your disk that you can use in VirtualDub (or Nandub of course), just like you can use WAV-encapsulated CBR mp3 files.