VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7

  1. I have recently started using Avisynth and am having two problems with it.

    The firt one and most important to me to solve is that I can't get assumeFPS(23.976, sync_audio=true) to work properly. It changes the frame rate but not the sound. the script I am using is:


    movie = AVISource("D:\Projects\StarCops3.avi&quot
    audio = WAVSource("D:\Projects\StarCops3.wav&quot
    movie = movie.audiodub(audio)
    movie = movie.letterbox(8,
    movie = movie.assumeFPS(23.976, sync_audio=true)
    return movie


    The second problem is I can't open the files I captured with my DV500 directly with Avisynth but have to preprocess them with VirtualDub into another codec first (I use huffyuv 2.1.1).

    I've tried the following:


    movie = AVISource("D:\StarCops3.avi&quot
    movie = AVIFileSource("D:\StarCops3.avi&quot
    movie = OpenDMLSource("D:\StarCops3.avi&quot
    movie = DirectShowSource("D:\StarCops3.avi&quot

    All produce the Error message:

    AVISource:The Video decompressor Couldn't Produce YUY2 or RGB output
    (D:\StarCops3.asv line 1)

    with only the function name at the beginning of the message changing to mach the function used.

    any help greatly appreciated,

    Richard


    Quote Quote  
  2. Member
    Join Date
    Feb 2001
    Location
    Berlin, Germany
    Search Comp PM
    For YUY2 go to c:\windows\SYSTEM.INI
    Add the line VIDC.YUY2=huffyuv.dll
    Quote Quote  
  3. Member
    Join Date
    Feb 2001
    Location
    Rhode Island, USA
    Search PM
    What version of AVISynth are you using, and are you sure you can use that framerate? Try using whole number 24 instead of the decimal.
    irc.webmaster.com port 6667 #DDR
    Quote Quote  
  4. OOPS, I forgot to disable smiles, the scripts should look like this:


    movie = AVISource("D:\Projects\StarCops3.avi")
    audio = WAVSource("D:\Projects\StarCops3.wav")
    movie = movie.audiodub(audio)
    movie = movie.letterbox(8,8)
    movie = movie.assumeFPS(23.976, sync_audio=true)
    return movie


    and

    movie = AVISource("D:\StarCops3.avi")
    movie = AVIFileSource("D:\StarCops3.avi")
    movie = OpenDMLSource("D:\StarCops3.avi")
    movie = DirectShowSource("D:\StarCops3.avi")


    also I failed to mention the DV500 uses the Pinnacle DV codec version 1.2
    Quote Quote  
  5. Member
    Join Date
    Feb 2001
    Location
    Rhode Island, USA
    Search PM
    Eek... so that's why AVISynth won't support your captures straight off the bat.
    irc.webmaster.com port 6667 #DDR
    Quote Quote  
  6. The frame rate works fine it's the sync_audio=true part that isn't working. It seems to make no diference whether it is set to true or false.

    AVISynth 1.0 beta3

    as to the error message I will try that but it works fine if the codec used is huffyuv, the problem is with AVIs codes with the Pinnacle DV codec.

    Thanks
    Richard
    Quote Quote  
  7. I fixed my problem with assumeFRS. TIbrO was correct Avisyth will only use hole numbers, 24 worked fine where 23.976 did not.

    Thanks

    Now I just have the problem with Avisyth not being able to open AVIs coded with the Pinnacle DV codec. Any ideas on how to over come this? Fixing this problem would cut 2+ hours off the time it takes to code 1 hour of video to MPEG.

    Richard
    Quote Quote  



Similar Threads

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