VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. 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 ?
    Quote Quote  
  2. Member
    Join Date
    Feb 2001
    Location
    Berlin, Germany
    Search Comp PM
    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.
    Quote Quote  
  3. 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.
    Quote Quote  
  4. Member
    Join Date
    Aug 2000
    Location
    Upstate NY
    Search Comp PM
    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.
    Quote Quote  
  5. 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.
    Quote Quote  
  6. Member
    Join Date
    Aug 2000
    Location
    Upstate NY
    Search Comp PM
    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.
    Quote Quote  
  7. CCE 2.5 can't pad the average. I see these option on tmpgenc.

    thanks
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!