VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. I need to resize a 576(or so)x306 to dvd size (720x48) but the videos 4:3 ratio brinks it to 720x380. how do I add the black bars to the video? I like MainConcept Mpeg encoder 1.3 or graphedit. TMPGenc takes like 10 hours to do it.
    Quote Quote  
  2. Member
    Join Date
    Sep 2002
    Location
    Australia
    Search Comp PM
    You can use a frameserver to do the resizing with black borders, AVISYNTH or VIRTUALDUB will work, though avisynth can feed faster than vdub.

    With AVISYNTH use
    BicubicResize(720,380,0.0,0.6)
    AddBorders(0,50,0,50)

    With VirtualDUB use the built-in RESIZE filter with settings
    New Width: 720
    New Height: 380
    Filter Mode: Bicubic
    Tick 'Expand frame and letterbox image'
    Frame Width: 720
    Frame Height: 480
    Quote Quote  
  3. Member
    Join Date
    Mar 2002
    Location
    United States
    Search Comp PM
    Excuse my ignorance bunyip,

    But it looks like your reply will be the answer to my prayers with Mainconcept.

    I'm creating SVCDs with mainconcept, but if the source is wide screen, it gets coded 4:3, so you get that stretched look in the SVCD.
    There is no "keep aspect ration" in Mainconcept.

    I downloaded and installed AVISYNTH 2.07, but I don't knw how to use it.
    It appears like it needs to be a plug in for Mainconcept ? Not a stand-alone app.
    Could you tell me how to apply it.

    I assume for a PAL compliant SVCD, the settings would be
    BicubicResize(480,576,0.0,0.6)
    AddBorders(0,50,0,50)

    Thanks

    Please help
    Quote Quote  
  4. Member
    Join Date
    Sep 2002
    Location
    Australia
    Search Comp PM
    To use AVISYTH you just need to create an 'AVS' file with the settings you require.

    Use a text editor e.g Notepad and enter following text;

    (Note: this is for your Jolo's PAL settings)

    (Change this line to point to where your dll file is)
    LoadPlugin("E:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec 2.dll")
    (Change this line to point to your input AVI file)
    AVIsource("your.avi")
    ConvertToYUY2()
    (Change this line so that XXX = the height of the actual video e.g if the AVI is 704x300 then XXX=300)
    BicubicResize(480,XXX,0.0,0.6)
    (Change this line to 'pad' the video out to 576 e.g. if the above XXX=300 then set top & bottom to 138)
    AddBorders(0,top,0,bottom)

    Save the text file as something like 'video.avs'.

    In Mainconcept when you select 'open video file' select 'file types' of 'all files' and open the 'video.avs' file.

    Now render in the usual way.
    Quote Quote  
  5. Member
    Join Date
    Mar 2002
    Location
    United States
    Search Comp PM
    Bunnyzip,

    I can't wait to try it !!

    Bless you for taking the time to do this. You aussies are so much nicer than us Yanks. :P

    Jon
    Quote Quote  
  6. Member
    Join Date
    Sep 2002
    Location
    Australia
    Search Comp PM
    Thanks jolo - it's easy to be nice when you live down here - something to do with being upside down all the time. (By the way he tag is 'bunyip' but you need to be aussie to know what a bunyip is.)

    I've had a re-think about how to keep the aspect ratio intact for SVCD since it is encoded at a ratio of 1:1.2 but playback is at a ratio of 4:3.

    If you apply the following formula to calculate the value of 'XXX' in the above post you should retain the original ratio.

    H = height of the original AVI
    W= width of the original AVI

    XXX = (( H x 1.334 ) / W ) x 576

    in the example this would make XXX = 327 which is a better result.
    Quote Quote  
  7. Member
    Join Date
    Mar 2002
    Location
    United States
    Search Comp PM
    I've got myself in a little trouble with my script. Duh.

    Here is my script, and when I read it in, things kind of ...... broke.

    The program stopped, etc. As you can see, I'm trying to convert an old Monty Python movie. I've never done this before, so do you anything wrong. The 688,368 I got from opening up the avi in Vdub.

    LoadPlugin("C:\Program Files\AviSynth2\plugins\MPEG2DEC2.dll")
    AVIsource("D:\Documents\My Videos\Comedy\meaning_of_life.avi")
    ConvertToYUY2()
    BicubicResize(688,368,0.0,0.6)
    AddBorders(0,top,0,bottom)

    I'm waiting for my ticket to come to Australia. Where is it you live. I live in Colorado Springs, Colorado, where the rocky mountains are. It is snowing out as I right this.

    Thanks,

    Jon
    Quote Quote  
  8. Member
    Join Date
    Sep 2002
    Location
    Australia
    Search Comp PM
    SNOW? I've read about that somewhere. - Currently Sydney based, but may be going rural soon.

    The thing you have missed in the script is that the 'Resize' and 'Addborders' together have to add up to '480 x 576' for PAL SVCD. (you didn't change the addborder settings).

    So using the formula above the settings should be this;

    BicubicResize(480,410,0.0,0.6)
    AddBorders(0,83,0,83)

    If you still have problems - try the VirtualDub solution.
    Quote Quote  
  9. Member
    Join Date
    Mar 2002
    Location
    United States
    Search Comp PM
    Thanks.

    If I still have trouble, I will bomb someone. That's the way we handle things here in the land of the "BUSHman".

    Jon
    Quote Quote  
  10. is there a filter compatable with graphedit that will do this?
    Quote Quote  
  11. Member
    Join Date
    Mar 2002
    Location
    United States
    Search Comp PM
    bunyip,

    You are the best. Made the changes and it led me to understand the process. It worked like a charm in mainconcept.

    If you don't mind, I am sharing you genius with some people on the Mainconcept forum.

    Have a beer on me mate !!

    Jon
    Quote Quote  



Similar Threads

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