PDA

View Full Version : weird mpeg2 from DV AVI-file


petcampeg
6th July 2004, 22:25
I’ve got an encoding problem which I can’t figure out. My starting point is a DV AVI film clip once created using Premiere 6.5 and I would like to create a mpeg2 clip. To do this I’m using AviSynth 2.53 as an intermediate step. So I wrote a very simple .avs-script like this:

video = DirectShowSource("G:\folder1\folder2\clip.avi")
audio = DirectShowSource("G:\folder1\folder2\clip.avi")
AudioDub(video, audio)

I then loaded this .avs-script in TMPGEnc 2.521. I unticked the “DirectShow Multimedia File” box in the Options>Environmental Settings menu and launched the mpeg2 coding. The resulting mpeg2-file is very strange. The picture appears to be running slightly in slow motion and the sound sort of loops around every two seconds. The same thing happens when I directly load the .avs-script in the Windows Media Player. What am I doing wrong?

Manao
6th July 2004, 22:49
The last two lines of your script are useless. Just return "video" should be OK.

Also, download the latest avisynth ( 2.55 alpha from 06/17/04 ), because since 2.53 some changes have been made on DirectShowSource.

Video Dude
7th July 2004, 00:39
@petcampeg

You double posted which is against the rules.

Click the link below to read my answer in the TMPGEnc section.

http://forum.doom9.org/showthread.php?s=&threadid=79276