VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Member
    Join Date
    Apr 2005
    Location
    South America
    Search Comp PM
    IŽd like to know what is the best configuration on the avisynth script for me to convert avi afiles to mpg (to make a DVD usig files from the computer). I was using this:

    AVISource("file_name.avi")
    LanczosResize(648,432,0,0.5)
    AddBorders(36,24,36,24)

    But when i looked the "how to" they said to use

    AVISource("file_name.avi", False)
    AddAudio()
    ConvertToYUY2()

    What does "false" "AddAudio()" and " convertToYUY2" mean? And it is recomendable to use this comands?

    Thanks!!
    Quote Quote  
  2. Member
    Join Date
    Apr 2002
    Location
    Oskeeweewee Ontario
    Search Comp PM
    The "false" statement removes audio. This helped speed up the encoding. An older version of CCE had a bug. If there wasn't audio, it would crap out..

    There's directions to copy an .AVSI file, that safely cancels out the audio. It's like a subprogram within AVISynth..
    The addaudio() command called this subprogram up, and CCE was able to encode..
    Quote Quote  
  3. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Any avsi file in the plugins directory, like the plugins will be autoloaded so that you can use functions in it. Such as AddAudio().

    ConvertToYUY2() converts to YUY2 colourspace. Chances are that your source is YV12, which you should leave if you are using HCEnc, QuEnc, etc. CCE, I think can now handle YV12 fine, but internally converts to YUY2 anyway so there may be some speed gain having AVISynth do it.
    Quote Quote  
  4. Member
    Join Date
    Apr 2005
    Location
    South America
    Search Comp PM
    IŽve been using TMPGEnc. Do I have to use this comands? It will make the file better or the process faster?
    Quote Quote  
  5. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    TMPGEnc I think still requires RGB24 input so you should use ConvertToRGB24() or switch encoders.
    Quote Quote  
  6. Use FitCD to find the correct values for resizing and borders.
    Quote Quote  
  7. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    Your original script will work, with the possible addition of a "ConvertToRGB24()" command.

    I was never able to get the AddAudio() funtion to work.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  8. Add Audio() is exclusively for CCE, when you have no audio in the script.
    Avisource("bla-bla.avi")
    include the audio.
    Avisource("bla-bla.avi",false)
    is without audio. Then you need
    AddAudio()
    as said only for CCE (to fool it that we have an audio).
    Quote Quote  
  9. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    I use CCE V2.5, so I need the "fake" audio. I had to do it the "oldfashion" way.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  10. Originally Posted by SLK001
    I use CCE V2.5, so I need the "fake" audio. I had to do it the "oldfashion" way.
    Which is this way?
    Quote Quote  
  11. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    AUD=WAVSOURCE("ANY-WAVE-FILE-YOU-HAVE.WAV")

    last command:

    audiodub(vid,aud)


    I have a 1 second wave file that I stick in my .AVS files. Doesn't have to sync, or even be related - just has to be audio. CCE doesn't know any better, and is as happy as a clam.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  12. Ah, well, I am using the same version, but for me AddAudio() works...
    Quote Quote  



Similar Threads

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