Log in

View Full Version : *.m2v via directshowsource


datascab
11th February 2004, 18:11
Hi,

When i import a *.m2v using avisynth and directshowsource I get a clip of incorrect length.

If i leave the clip in its vob with the audio stream it is the right length.

What gives?

The problem is not limited to avisynth. I noticed that open the script in MPC gives the same results.

Does anyone know why?

Thanks

Data

sh0dan
11th February 2004, 22:34
Because DS cannot know the exact length of the MPEG2 file without scanning it completely. This is what DVD2AVI does, and why MPEG2DEC3 is quite precise.

datascab
11th February 2004, 23:15
Hi Sh0dan,

Thanks for that, i did use dvd2avidg with the mpeg2dec3.dll.

What you say does make sense, with virtualdubmod, it gets parsed so i suppose thats how it know the length.

Thanks

Data

digitalman
12th February 2004, 18:54
The first time I tried using DirectShowSource with an .m2v file, it seemed to work perfectly, and had the correct time. It was a lot faster than using MPEG2DEC3. The final encode had the correct frames and time. But sadly, my second try with another movie did not work so well. So, some movies seem to work some do not.