VideoHelp Forum




+ Reply to Thread
Results 1 to 29 of 29
  1. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    I want to resize a PAL avi to NTSC and have created a txt file with this in it.
    AVISource("filename.avi")
    LanczosResize(720,480)

    I have downloaded and installed Avisynth, but for the life of me I can't see what I do to start Avisynth and run the txt file and complete the task.

    I have run the txt file in Windows Media Player, but what do I do from there?

    Could someone please help out.
    Quote Quote  
  2. You need to have a encoder (like the free QuEnc). Make sure your text file has the .avs extension. Open the .avs file with the encoder and let it run.

    I suggest you read some of the guides on using AviSynth, not to mention the AviSynth documentation.

    Also, it takes more than resizing the frame to convert PAL to NTSC. You also have to convert the framerate.
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  3. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    Thanks gadgetguy.

    I have read the Avisynth guides and documentation, but I don't see anywhere a simple guide for a newbee.

    I'm doing the DGPulldown for the PAL to NTSC conversion.
    Quote Quote  
  4. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    The script invokes avisynth itself. You just have to load the script (its a text file saved with an .avs ext) into any media encoder or editing software that can accept it, and generally most will. Just try loading it as if you were loading the original .avi file.

    What encoder are you trying to use?
    Quote Quote  
  5. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    Thanks Adam.

    Tried what you said (renamed the txt file to avs affix) and loaded into 'Adobe Premier 6.5' which I created the original DVD with. However, Premier rejected the file.

    Was the affix avi or avs?, but I tried both and Premier rejected them
    Quote Quote  
  6. I'm not familiar with Adobe Premier, but it sounds as if it is an editor that is not compatable with AviSynth. You need to get a seperate encoder, a program that compresses the video. As I mentioned, QuEnc is a free MPEG encoder, but there are many others. What is your goal for this video? DVD, web streaming, PC playback? Different encoders are used for different purposes so without knowing the end goal it's hard to advise.

    Edit: Oh, and the extension needs to be .avs to invoke AviSynth.
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  7. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    I don't believe that Premiere will accept a frameserved video - it never has for me. There may be some kind of AVI wrapper that will force it to accept a frameserved file, but for editing, I find that an AVISYNTH script does a superior job.

    Are you just loading it to use the built-in MPEG encoder?
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  8. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    gadgetguy.

    The goal is to convert a PAL DVD to NTSC DVD using DGPulldown, which from this info http://forum.doom9.org/showthread.php?s=baf497331c3e5044932ab53f299b0025&threadid=88031 will retain much of the quality and with no need to touch the audio.

    However, as you can see from my question I'm at the bottom of the leaning curve on this, but before I get to DGPulldown I have to get the frame size down.

    I can't post on Doom9 becuase I have a 5 day wait before I can post anything.
    Quote Quote  
  9. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    SLL001:

    I'm trying to do what you chaps advise to try, hence Premier as I have no other encoder.

    gadgetguy:
    I tried QuEnc, but it don't like what I'm doing.
    AVISourse could not locate a a compressor ?
    Quote Quote  
  10. Then you want to encode to MPEG2, so QuEnc is a good choice for encoder. There are others available such as TMPGEnc, CCE, HC, etc. Some pay, some free.

    Once you select and install an encoder, post back and let us know which one you selected. We'll be able to give you more help on configuration settings when we know which one you want to use.
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  11. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    gadgetguy:

    See above your post re QuEnc
    Quote Quote  
  12. QuEnc requires the YUV colorspace so you need to add
    ConvertToYV12()
    to your script.
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  13. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    OK did that:
    ConvertToYV12()

    Still get message AVISourse could not locate a a compressor ?
    Quote Quote  
  14. Copy and paste the text from your .avs file. We'll see if we can see an error.
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  15. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    AVISource("filename.avi")
    LanczosResize(720,480)
    ConvertToYV12()
    Quote Quote  
  16. Is your avi file really named "filename"?
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  17. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    YES - as I'm just testing things first.
    Quote Quote  
  18. What type of avi file is it?

    If it's Type1 DV-AVi try DirectShowSource() instead of AviSource()
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  19. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    If all you are using avisynth for is to resize than you might as well just do that in Premiere and then export directly to mpeg. I'm not sure what internal resizing routines Premiere uses, I think its bicubic. Lancos is probably a better choice but really there's not going to be a huge difference so you might as well stick with what you know.
    Quote Quote  
  20. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    Not sure what you mean by what type.

    Premier produces it.
    Quote Quote  
  21. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    Adam:
    If I use Premier to resize the PAL AVI it tells you the result will not be mpeg2 compliant when you do that part.
    Quote Quote  
  22. As I said, I'm not familiar with Premier, but I suspect what you have is Type1 DV-AVI. My experience is that AviSynth has some issues with the audio of Type1. You can easily convert it to Type2 by opening the avi in VirtualDub (latest version) and then setting the video to "Direct Stream Copy" and resaving the avi. Once it's in Type2 format AviSource() should work fine.
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  23. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    gadgetguy:
    Will give that a try.
    Quote Quote  
  24. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    gadgetguy:
    Did the VirtualDub and new error is

    AVISource couldn't locate a decompressor for fourcc dsvd
    Quote Quote  
  25. Install the Panasonic DV codec
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  26. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    Will do.
    Quote Quote  
  27. Member Sillyname's Avatar
    Join Date
    Mar 2004
    Location
    United States
    Search Comp PM
    Originally Posted by gadgetguy
    What type of avi file is it?

    If it's Type1 DV-AVi try DirectShowSource() instead of AviSource()
    Oh!

    This is what people failed to tell me to substitute in my scripts. I had given up on AVISynth altogether. I was trying to input Type 2 DV videos but kept on getting stonewalled when loading the *.avs. I had the Panasonic DV codec installed and everything.

    I'll have to try it again.
    Your miserable life is not worth the reversal of a Custer decision.
    Quote Quote  
  28. Member
    Join Date
    Dec 2004
    Location
    England
    Search Comp PM
    gadgetguy:

    All is working fine now.

    Many thanks.
    Quote Quote  
  29. Glad I could help.
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  



Similar Threads

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