View Full Version : d2v to m2v?
bwalerud
20th October 2003, 11:40
Want to modify a mpeg2 stream using virtualdubmod using a avisynth script. I'm clear about the following:
- Create d2v using dvd2avi
- Feed d2v to virtualdubmod using avisynth-script and using lossless compression
But how do I get a m2v-file? Is the resulting avi actually a m2v-file if no audio is present?
Belgabor
20th October 2003, 19:31
If I understood you correctly what you need is a mpeg2 encoder. Look in the respective forum.
bwalerud
21st October 2003, 10:33
I know that the standard procedure would be to convert the avi for vdubmod using an mpeg2-encoder to get an m2v file. My question is if there is any way to avoid this step. Have searched in the forums and faqs but not found any information on the difference between an mpeg2-stream (m2v) and an mpeg2-stream in an avi container. Can anyone direct me to relevant information?
neuron2
21st October 2003, 21:27
>an mpeg2-stream in an avi container
There is no such thing. You are confused.
The resulting AVI will be compressed as per your output compression setting in VirtualDub. The latter cannot create MPEG-2 files; you need to re-encode using an MPEG-2 encoder if you want your final result to be M2V.
bwalerud
22nd October 2003, 14:17
What do you get then if you open an m2v file and save using 'Direct Stream Copy'?
neuron2
23rd October 2003, 04:59
You want to stay in the compressed stream domain to avoid re-encoding. Nothing wrong with that. But the possible useful modifications you can make in the compressed domain is small.
fccHandler
23rd October 2003, 06:10
Originally posted by bwalerud
What do you get then if you open an m2v file and save using 'Direct Stream Copy'?
VirtualDub doesn't allow that when the video is MPEG.
celtic_druid
23rd October 2003, 12:59
Well for a start you are using AVISynth which is serving up RAW video not MPEG2. Plus as said VDubMod doesn't support MPEG2, it uses the VFW interface and is acapable of outputting AVI, MKV or OGM. There are VFW MPEG2 codecs, however that is not the same thing and they are all as far as I am aware I frame only.
As said use an MPEG2 encoder such as CCE and load your AVS up with that instead of VDubMod.
unixfs
26th October 2003, 00:22
M2V is raw mpeg2 video not encapsulated in a container.
The last ffvfw (from cvs) permits to manage MPEG1/2 in Avi, and to execute the normal operations (such as direct stream copy, cut, etc)
on them.
To get this unusual stream you need to mux your m2v in an avi file, an operation that only mencoder (part of mplayer) can do, AFAIK (maybe VLC can do it too, but I never tried).
BTW VDubmod can natively read M2V files, so you don't even need avisynth.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.