Log in

View Full Version : XVID in DirectShowSource = Slow Motion


luders
20th November 2003, 05:32
CCE was crashing when I tried to load an avisource script with an xvid file. I was using AviSynth 2.08 and I gave AviSynth 2.5.3 a try. That combined with using DirectShowSource instead of AviSource made it successfully load into CCE 2.50. However, after encoding, the playback was slowed down so that the video was in super slow motion. Turns out, in analyzing the frames in VirutalDub, DirectShowSource is just processing it bad.
Here is my script.

a=DirectShowSource("ttte-part1.avi", fps=23.976)
b=DirectShowSource("ttte-part2.avi", fps=23.976)
c=DirectShowSource("ttte-part3.avi", fps=23.976)
AlignedSplice(a,b,c)
LanczosResize(640,270)
AddBorders(0,45,0,45)
LanczosResize(704,480)
ResampleAudio(44100)
ConvertToYUY2

Perhaps I just dont know what I am doing since this is the first time that I have used DirectShowSource rather than avisource. Any help? -Aaron

sh0dan
20th November 2003, 08:22
Why not use AviSource?

What does GSpot show as Video Codec in the "Directshow Render" section?
What does it list as FrameRate in the Video Format section?

luders
20th November 2003, 08:31
Well as much as you probably hate to hear it, I am not using avisource because the avs wont load into CCE if I do. GSpot reports this for the xvid files.
Video Src. Type = 4cc:XVID
Video Path (S) --> AVI Splitter --> XviD MPEG-4 Video Decoder --> (R)
Also it reports the frame rate as 23.97
http://ubax.net/gspot.jpg

sh0dan
20th November 2003, 13:44
Have a look here (http://forum.doom9.org/showthread.php?s=&threadid=64867&perpage=40&pagenumber=2).