VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Jun 2005
    Location
    Portugal
    Search Comp PM
    Hi,

    Don't know if this is the right place

    I'm using free tools to convert AVI to DVD, my encoder is QuENC, and I made a APP by my own that accomplish all tasks and the final result is a ISO ready to burn.

    All works fine, but I have a problem with Frame Size, DVD Lab gives me an error of "Wrong Frame Size" when I try to open my encoded DVD. I don't know how to calculate this, i.e.,

    imagine I have a AVI source of 640x240 and I want to convert it to a PAL DVD with an aspect ratio of 16:9, I use this avisynth script :

    AviSource("c:\mymovie.avi")
    Lanczos4Resize(720, 576)
    AddBorders(0, 50, 0, 50)
    AssumeFPS(25)
    ConvertToyv12()

    and run QuEnc with this parameters :

    Quenc -i script.avs -o multiplex.mpg -b 4000 -maxbitrate 9000 -2 -aspectratio 16:9 -auto -close

    what values must I use for frame width and heigh for Lanczos resize ?

    is there a rule for calculating this ???
    Quote Quote  
  2. Member mats.hogberg's Avatar
    Join Date
    Jul 2002
    Location
    Sweden (PAL)
    Search Comp PM
    IIRC, the output video will be 720x676 from this script. Change the resize to Lanczos4Resize(720, 476), then add the borders (50+50=100) resulting in a 720x576 video (which is PAL full D1 res).
    Haven't looked into the AR aspect of this example.

    /Mats
    Quote Quote  
  3. Member
    Join Date
    Jun 2005
    Location
    Portugal
    Search Comp PM
    But how do you know that the output will be 720x676

    what calculations did you made ? this is what I don't understand

    I want a widescreen output (16:9)

    thank you
    Quote Quote  
  4. Member mats.hogberg's Avatar
    Join Date
    Jul 2002
    Location
    Sweden (PAL)
    Search Comp PM
    You first resize to 576 height with
    Lanczos4Resize(720, 576)
    Then you add 50 pixels of borders top and bottom with
    AddBorders(0, 50, 0, 50)
    giving a total height of 576+ 50+50=676
    Play the AVS in MPC (or other video player that handles AVS scripts) to see if it looks ok before you proceed to encode it.

    /Mats
    Quote Quote  
  5. Assuming your AVI source has a pixel aspect ratio of 1:1, and that you want to retain the final picture aspect ratio, you should:

    4:3 DVD
    Lanczos4Resize(704, 288)
    AddBorders(8, 144, 8, 144)

    16:9 (anamorphic) DVD
    Lanczos4Resize(704, 384)
    AddBorders(8, 96, 8, 96)

    Try using FitCD to calculate the sizes.
    Quote Quote  
  6. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    or Paranoia, which is a little simpler than fitcd
    Read my blog here.
    Quote Quote  
  7. Member
    Join Date
    Jun 2005
    Location
    Portugal
    Search Comp PM
    thanks a lot guys, BUG FIXED

    Image perfect on my TV, either with 16:9 or 4:3 sources

    Here is my APP GUI if you want to try, BUT BE AWARE OF THIS :

    - you need Win XP Framework
    - it is PAL DVD-VIDEO optimized
    - you need full codecs
    - I don't GIVE CCE, you must buy it and install on my APP CCE folder, I just use free tools

    I had given it only to friends, I made it mainly to myself, and all said to me it works fine. It is a GUI for CCE encoding, QuENC, and the output is a DVD-MOVIE ISO image, and it burns a DVD either using NERO at backgroud or not

    http://pwp.netcabo.pt/falmartins/videohelp/avi2iso.msi
    Quote Quote  



Similar Threads

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