PDA

View Full Version : Why M2V has timing shorter than original AVI?


StephenChow
12th January 2008, 09:37
Hello everyone,

I've read this guide
http://www.doom9.org/index.html?/mpg/avi2dvdr.htm

and using HCEnc to convert an AVI to M2V

However, the original AVI is 21 minutes but the M2V created is just 16 minutes???

I checked M2V, it contains everything in AVI

I really don't understand and how can I fix it?

neuron2
12th January 2008, 14:25
Post your script that you fed to HC.

If you open that script in VirtualDub, what is the video length reported by File/File Information?

How did you establish that the M2V is only 16 minutes long?

StephenChow
13th January 2008, 02:41
Post your script that you fed to HC.

If you open that script in VirtualDub, what is the video length reported by File/File Information?

How did you establish that the M2V is only 16 minutes long?

My AVS Script that I fed to HC is:
AVISource("lecture1.avi")

VirtualDub 1.7.7 (newest version) said that
http://img155.imageshack.us/img155/2615/virtualdubsc6.jpg

I used MediaPlayer Classic to determine video length
AVI version is 21 minutes
Encoded MPEG-2 version is 16 minutes ( = 4/5 length of AVI version, however MPEG-2 version contains every scenes in AVI version:confused:)

Sagekilla
14th January 2008, 21:34
It sounds like it may be a framerate issue.. if the original video was 24 fps, and it got encoded as 30 fps you'd end up with 4/5th the original length (24/30 = 4/5)

StephenChow
15th January 2008, 03:38
It sounds like it may be a framerate issue.. if the original video was 24 fps, and it got encoded as 30 fps you'd end up with 4/5th the original length (24/30 = 4/5)

Sagekilla, the original AVI file's framerate is 29,97, but it is deinterlaced ( it was not interlaced correctly, it is the movie from my library and I'm allowed to do whatever I want, Im allowed to use it for my presentation and it was deinterlaced so I need to encode it to MPEG-2, deinterlace it and convert it back to AVI progressive movie.)

Mr_Odwin
15th January 2008, 16:59
My AVS Script that I fed to HC is:
AVISource("lecture1.avi")

VirtualDub 1.7.7 (newest version) said that
http://img155.imageshack.us/img155/2615/virtualdubsc6.jpg

I used MediaPlayer Classic to determine video length
AVI version is 21 minutes
Encoded MPEG-2 version is 16 minutes ( = 4/5 length of AVI version, however MPEG-2 version contains every scenes in AVI version:confused:)

You fed the m2v into vdub, not the script like neuron2 asked you to.
I'd bet that the m2v is the correct length and MediaPlayer Classic is reporting the wrong length. Try gspot.