VideoHelp Forum




+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 32
  1. What avisynth script should I use ?
    I have a 25fps avi and encode it in AVI2DVD with "16:9(borders added encod as 4:3).
    And after conversion the mpeg2 got those irritaiting borders on my 16:9 TV.

    Quote Quote  
  2. you can use TMPGenc Plus, in advanced settings you have an option called "clip frame"... very easy to use. once you have set your video without black stripes, you have to encode your video into 16:9 format.
    Quote Quote  
  3. Ok..
    Does TMPGEnc calculate to crop of a bit on the sides also ? So u don't get those "long faces" streched picture vertically I mean ?
    Quote Quote  
  4. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    Use this script:

    crop(0,40,720,400)
    bilinearresize(720,480)


    Then encode.

    This will convert the video to anamorphic 16:9 (which is what you want).
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  5. ok thanks, but that is for NTSC ? I should use 720,576 ?
    Quote Quote  
  6. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    If you want a PAL video, crop out the black bars, then resize to (720,576).

    Be sure to set the encoder's ASPECT RATIO setting to 16:9 so that it will author correctly.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  7. Maybe I don't have to use a script then , cause avi2dvd has this option also when encoding "Anamorphic (No borders encode as 16:9)"

    If I chose this ? Would it be the same ?
    Quote Quote  
  8. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    I don't use that option. Some options in DVD2AVI are not fully implemented yet (at least not in my version).
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  9. Ok thanks .

    Anyway..Correct me if I am wrong..

    If u have widescreen movie ex (2.35.1) in NTSC avi. And u want to resize and encode it to dvd NTSCmpeg (mpeg2). The only way to still get the full widscreen picture is to add borders. If u cut them off, u have to crop of a bit of the vertical sides also,cause u dont want a wierd stretched picture ??

    And SLK001 can u explain exactly what u do when u go with this scrip?
    crop(0,40,720,400) this I don't know...
    bilinearresize(720,480) this I know...
    Quote Quote  
  10. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    crop(0,40,720,400) will give you a video that is 720 by 400 pixels wide (or, strip off the borders). See the AVISYNTH documentation for a full discription of crop.

    I always convert my 1:2.35 movies to 16:9. I use a combination of crop and resize.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  11. Thanks again.
    I have to read a little more about this, dont want to end up with dvdr's that could be 16:9 but ain't.
    Quote Quote  
  12. this is true and very iportant. You can't have 2.35:1 with no borders. 1.85:1 also has borders butjust a little, and 1.77:1 has no borders at all. In all 3 cases you set the dar to 16:9.

    youll have to hit the forum or gogle and find out the aspect of the movie you have, and then find out how much blak bars to have for each of the different aspects.

    this confused me for a long time, and nowhere I saw ever mentioned it. I used to assume anamorphic 16:9 would e no border with 16:9 flag. Wel, that's just incorrect. Good luck.
    Quote Quote  
  13. otherwise with tmpgenc plus, the thing i forget to talk about is once you have cropped your frame, you have to set in video arrange method: center custom size and set it to 720*576 (or 704*576, it depends on your video format and original frame size..) Ive made many dvd's like this, works well and it is easy.
    Quote Quote  
  14. Originally Posted by duhmez
    this is true and very iportant. You can't have 2.35:1 with no borders. 1.85:1 also has borders butjust a little, and 1.77:1 has no borders at all. In all 3 cases you set the dar to 16:9.

    youll have to hit the forum or gogle and find out the aspect of the movie you have, and then find out how much blak bars to have for each of the different aspects.

    this confused me for a long time, and nowhere I saw ever mentioned it. I used to assume anamorphic 16:9 would e no border with 16:9 flag. Wel, that's just incorrect. Good luck.
    ok I load the avi in GSpot and under "video x:y" I can read
    640x272 (2.35:1) [=40:17] Is there a good side on the net that can tell me how to handle this kind of movie.?
    Quote Quote  
  15. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    Originally Posted by duhmez
    this is true and very iportant. You can't have 2.35:1 with no borders. 1.85:1 also has borders butjust a little, and 1.77:1 has no borders at all. In all 3 cases you set the dar to 16:9.

    youll have to hit the forum or gogle and find out the aspect of the movie you have, and then find out how much blak bars to have for each of the different aspects.

    this confused me for a long time, and nowhere I saw ever mentioned it. I used to assume anamorphic 16:9 would e no border with 16:9 flag. Wel, that's just incorrect. Good luck.
    This is true. When I said that I converted all my 1:2.35 movies to anamorphic 16:9, I meant that I cropped both the black bars and the left and right edges. For the video above, I would use

    crop(78,104,484,272)
    bilinearresize(720,480)

    This will give you the 16:9 video that you want with no black borders.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  16. Originally Posted by SLK001
    crop(78,104,484,272)
    bilinearresize(720,480)
    This will give you the 16:9 video that you want with no black borders.
    Yes ok thank u all ,but the main thing is that u have to crop of the sides also to get 16:9 with no borders? And then it's not really widescreen is it

    But I think i rather do that then have the borders..
    Quote Quote  
  17. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    Then what do you consider as "widescreen"? Is a 16:9 video not good enough for you?

    I personally do not enjoy watching videos where I have to use a magnifying glass just to see what's going on. And I don't give a damn about the studio's "artistic interpetation" of the original director's displayed format.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  18. Magnifying glass ....hmmm.

    I just wanted the facts straight.

    I didn't know earlier that u had to crop of the sides to get 16:9 and a good non streched picture.

    And yes I think 16:9 is good enough for me , even if i don't get some plant in, that was there in the first place.
    Quote Quote  
  19. @ Draven : Cropoping the sides for a non stretched 16:9 must only be done on a 2.35:1 and 1.85:1 .

    1.77:1 is the only true native 16:9 aspect and requires no cropping anywhere.

    1.85:1 would require a little side croping (I would not bother persoally, just leave the few pixels of black on top and bottom) and 2.35:1 crop sides like homeboy does, if you wish. Still, /me leave the border intact to preserve full image. That's a neat trick though. basically what homeboy has done is convert his 2.35:1 movie into a 1.77:1 movie.
    Quote Quote  
  20. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    If you have a 4:3 widescreen movie and if the aspect ratio is 1.78:1 or higher (such as 1.85:1 or 2.35:1) then this is the EASY way to convert to 16x9 using TMPGEnc Plus

    Source is 4:3 widescreen MPEG-4 without borders.
    Load the 16x9 template in TMPGEnc Plus and make sure your source is set to 1:1 VGA for VIDEO ARRANGE METHOD. The end MPEG-2 will be 16x9

    Source is 4:3 Full D1 (720x480 NTSC or 720x576 PAL) with black borders.
    Load the 16x9 template in TMPGEnc Plus. Set source to 4:3 for VIDEO ARRANGE METHOD. Go to the CLIP option and clip (aka cut) 60 from the top and bottom for NTSC or 72 from the top and bottom for PAL. You now have a 16x9 MPEG-2 in the end.

    Don't crop the sides. Bad news if you do that.

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  21. FulciLives U say I should use only TMPGEnc plus to do the converting..
    I also want subtitles, do u suggest I should framerate from virtual dub to get in the subs to TMPGEnc? Or is there another way ??

    I have alwas used AVI2DVD before, but maybe only TMPGEncplus or Cinemacraft is a better way, when it comes to have the right stretched pictuer from the right source with subs.

    What do u use
    Quote Quote  
  22. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by Draven
    FulciLives U say I should use only TMPGEnc plus to do the converting..
    I also want subtitles, do u suggest I should framerate from virtual dub to get in the subs to TMPGEnc? Or is there another way ??

    I have alwas used AVI2DVD before, but maybe only TMPGEncplus or Cinemacraft is a better way, when it comes to have the right stretched pictuer from the right source with subs.

    What do u use
    It can be done with AviSynth as well but the resizing method is very tricky with MPEG-4 that has the top/bottom of the widescreen image cropped so that there is no black above/below the image.

    I find that TMPGEnc Plus is better suited for such source material.

    However ... if you are doing a DVD conversion then AviSynth is easier to deal with.

    Load the file. Do your cropping (60 from the top and bottom for NTSC or 72 for PAL) then add your subs then resize to 720x480 for NTSC or 720x576 for PAL

    This assums you have a full D1 4:3 widescreen source with an A/R of 1.78:1 or higher.

    I could type in a sample script if you need it but don't have the time right now I need to get ready for work ...

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  23. Originally Posted by FulciLives

    This assums you have a full D1 4:3 widescreen source with an A/R of 1.78:1 or higher.
    How can u tell it's a full 4:3 widescreen ? Can u load it in Gspot and if u have under "video" a number higher than 1.78:1 it's a 4:3 widescreen ??
    Quote Quote  
  24. 4:3 widescreen mpeg 4 file without borders.....
    Problem. Therw is no such thing. If it's 4:3 and has no borders then it's 4:3......
    If it has no borders and it's wide then you must divide the horizontal by the vertical to determine if it's 1.77, 1.85, or 2.35 .
    this will determine how much borders to add to the top and bottom.

    in either case, if it's avi, merely divide the horizontal by the vertical and you will get the aspect ratio. 1.3333 = 4:3 etc.
    Quote Quote  
  25. Originally Posted by FulciLives

    I could type in a sample script if you need it but don't have the time right now I need to get ready for work ...

    - John "FulciLives" Coleman
    Well I have a NTSC in 2.35:1 and thought I could run it in AVI2DVD ??
    I have the aspect ratio in AVI2DVD to "16:9(borders added encoded as 4:3) and trying to run a script like this with avisynth2.0

    0=LoadPlugin("C:\Program\Tillbehör\Virtualdub\plugins\textsub.vdf")
    1=BicubicResize(720,480,^b_value,^c_value)
    2=AddBorders(0,60,0,60)
    3=crop(0,60,720,480)
    4=textsub(!.sub)
    ^b_value=0.33
    ^c_value=0.33
    !.sub=C:\Filmer och Musik\Ej färdiga\RatRace\RatRace4.ass


    Or should I try avisynth2.52 and Cinemacraft encoder ? Havent worked at all with CCE.
    Quote Quote  
  26. "Borders added and encoded as 4:3" means it is indeed a 4:3 video with huge black bars in them to make it look 16:9.
    If you wish to leave it this way (may as well, alot of the original res is probably lost depending on the res of the source,) then this method will work just fine. You will however need to make sure AVI2DVD knows it's 2.35, not just 16:9 , or it won't add the correct amount of border. How to calculate this is take the avi you have now, and add equal borders on top and bottom until they become 1.33 when you divide the top by the bottom, then just resize in avisynth to 720,480 and compress with your favorite mpeg2 encoder. make sure if you use tmpgenc, that the setting you choose doesn't add any _additional_ borders to it.
    Quote Quote  
  27. I should make the avi 1.33 ?
    The resolution now is 640x272. (272x2.35=640)
    481x1.33=640
    640x481
    481-272=209 (so I should add 209/2 = 105lines on top and bottom ?

    0=LoadPlugin("C:\Program\Tillbehör\Virtualdub\plugins\textsub.vdf")
    1=BicubicResize(720,480,^b_value,^c_value)
    2=AddBorders(0,105,0,105)
    3=crop(0,105,720,480)
    4=textsub(!.sub)
    ^b_value=0.33
    ^c_value=0.33
    !.sub=C:\Filmer och Musik\Ej färdiga\RatRace\RatRace4.ass

    I dont know if this is going to work , and I understod you right.

    How would u do it ?
    If I am going to learn this its better I learn it the best way...
    Quote Quote  
  28. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by Draven
    I should make the avi 1.33 ?
    The resolution now is 640x272. (272x2.35=640)
    481x1.33=640
    640x481
    481-272=209 (so I should add 209/2 = 105lines on top and bottom ?

    0=LoadPlugin("C:\Program\Tillbehör\Virtualdub\plugins\textsub.vdf")
    1=BicubicResize(720,480,^b_value,^c_value)
    2=AddBorders(0,105,0,105)
    3=crop(0,105,720,480)
    4=textsub(!.sub)
    ^b_value=0.33
    ^c_value=0.33
    !.sub=C:\Filmer och Musik\Ej färdiga\RatRace\RatRace4.ass

    I dont know if this is going to work , and I understod you right.

    How would u do it ?
    If I am going to learn this its better I learn it the best way...
    Well here is what I would do:

    Code:
    LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
    AviSource("C:\filename.avi")
    LanczosResize(704,272,0,0,640,272)
    AddBorders(8,104,8,104)
    This will resize your NTSC MPEG-4 AVI file into 4:3 widescreen with proper 2.35:1 aspect ratio intact. If adding subtitles you want to do this after the AddBorders command.

    Code:
    LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
    AviSource("C:\filename.avi")
    LanczosResize(704,360,0,0,640,272)
    AddBorders(8,60,8,60)
    This will resize your NTSC MPEG-4 AVI file into 16x9 enhanced widescreen with proper 2.35:1 aspect ratio intact. If adding subtitles you want to do this after the AviSource command but before te LanczosResize command.

    AviSyth script 1 is the better choice unless you have a 16x9 widescreen TV or think you will be watching this one such a TV then use script 2.

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  

  29. Thanks man .
    Started the conversion now with added subs, and it looked pretty ok in the preview window.
    To bad I didn't know this when I started , have a few with a streched picture, but it's hard to noticed that if u don't compare with a right converted one
    Quote Quote  
  30. Greetings Supreme2k's Avatar
    Join Date
    Feb 2003
    Location
    Right Here, Right Now
    Search Comp PM
    Not to threadjack or anything, but from the topic title, I thought this was going to be a racial/political issue
    Quote Quote  



Similar Threads

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