I have an avs with this code :
v=avisource("f:\work\p.avi").ReduceBy2
x=Crop(v,4,0,352,288)
a=wavsource("f:\work\p.wav")
audiodub(x,a)
ChangeFPS(25)
resampleaudio(44100)
The PC is an AMD Athlon 1.8+ and W2K , using avisynth 1.0 beta 6 and CCE 2.5 SP.
The avi is DVD2AVI + VFAPI, and have 1 minute of video. The avs plays OK with Windows Media Player, but when I encode the avs with CCE, I obtain a mpv with the first 16 seconds os video. If I delete ReduceBy2 and Crop the mpv is OK (1 minute long).
Please, anybody can help me ?
+ Reply to Thread
Results 1 to 7 of 7
-
-
What is the framerate of the video source file? What is the sample rate of the audio source?
Also try:
audiodub(avisource("f:\work\p.avi"),wavsource("f:\ work\p.wav"))
ReduceBy2
Crop(4,0,352,288)
#Crop(8,0,704,576)
#ReduceBy2
ChangeFPS(25)
resampleaudio(44100)
or try to change the filter order. Btw, you said, you use ccesp 2.5 with an Athlon CPU.
AFAIK you can not convert the audio with ccesp 2.5. Did you try to load a script without audio?
avisource("f:\work\p.avi")
ReduceBy2
Crop(4,0,352,288)
ChangeFPS(25)
resampleaudio(44100)
If you load the MPEG2DEC plugin, Avisynth can read dvd2avi projects resp. MPEG-2 sources directly.
Hope it helps. -
Thanks Truman,
I know the problem with the audio, the lines are there because cce needs ones.
I tried load a script without audio, the avi is the same : 16sec. of video.
This have the same result :
avisource("f:\work\p.avi).ReduceBy2
ChangeFPS(25)
resampleaudio(44100) #to skip cce crash on AMD
the result is : the same
the frame rate of the video source is 25fps, I dont know why after encoding it have changed to 29.9, I put the ChangeFPS there by this.
the sample rate of the audio is 48000. -
Since WMP is a DS application it might be more telling to open the .avs file in Vdub ( another AVIfile application ) to see how it sees the file.
-
Thanks, VirtualDub says that de MPV have 1 minute of video,!!!!!, So I reenconde the files changing some options in CCE, but the result is the same. WMP says that the video is a few seconds long and Virtual Dub shows the entire video (1 minute).
I have seen that CCE donīt uses de bitrateīs that I configure. Im typing : MPEG 1, Avg : 2406, Min : 2000, Max :3000, and CCE codecs with 700-800. I dont understand why this happens.....
If I select CBR, this not happen. -
At 352x388 CCE may just not be able to make it any bigger. So unless you tell it to pad to the average length( does it even have that option? ) your file size might be smaller than the average when the average is so high that even the most complex parts do not require the average.
Similar Threads
-
25fps AVI > NTSC DVD - am I doing this right? (AviSynth, CCE, DGPulldown
By fischkopf in forum Video ConversionReplies: 25Last Post: 22nd May 2008, 19:31 -
CCE, AviSynth and MP4 Question
By Maikeru-sama in forum Video ConversionReplies: 5Last Post: 31st Mar 2008, 11:19 -
Matted to anamorphic with aviSynth/CCE?
By Sephiroth666 in forum Newbie / General discussionsReplies: 3Last Post: 7th Jan 2008, 00:00 -
AVISynth > Compressed AVI > DVD - Best software/codecs?
By PTRACER in forum Video ConversionReplies: 8Last Post: 15th Sep 2007, 20:26 -
Filter just part of a file with AviSynth?
By Holonet in forum EditingReplies: 6Last Post: 2nd Aug 2007, 06:21