Log in

View Full Version : Extract MP2 from AVI wrapper


rling
7th June 2005, 11:30
I encoded MPEG2 using the ffdshow codec and VirtualDub. The result is a AVI which appears to contain MPEG2 - when ZoomPlayer plays it, it reports that it is using the ffdshow MPEG2 decoder.

How can I extract the MPEG2 from the AVI file to a MP2 file, so DVD authoring software can use it directly without wanting to re-encode it?

[I know I'll feel really silly when someone answers this, cause I'm sure I must know how to do this and I've just gone temporarily insane and can't think of it.]

Cheers

rling

mrslacker
8th June 2005, 18:53
I have never used an mpeg codec with VDub, but if your mpeg2 video is really in an AVI... you will need to demux the avi into separate mpeg video and whaterver audio. Then multiplex into a proper mpeg program stream, if that's your intent. I'm not sure what will let you extract an m2v from an avi container, or even how mpeg video would be stored in an avi. mpeg-2 video isn't meant for anything but an mpeg program or transport stream, afaik. Could be wrong.

Why are you not using standalone (real) mpeg encoding software? If you like the ffmpeg codec, use QuEnc... or another ffmpeg frontend.

rling
14th June 2005, 02:08
Thanks for that info...
I didn't use QuEnc because I didn't know about it till you mentioned it. This MPEG2 AVI is something I previously encoded from DV, and ffdshow was the only MPEG2 encoder I had (then and now). I thought the step of removing the MPEG2 from the AVI container would be a no brainer, but it's been sitting around for a few months while I scratch my head about how to do it. If I have to go back to the original DV and re-encode, it will be a PITA, because it was sections from many different tapes and I would have to recapture all the tapes again. I'd be better to just extract the MP2 if that is possible...... then I can put it straight on a SVCD with Nero. Otherwise Nero says it is not valid SVCD content and wants to re-encode it.

Cheers