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.
![]()
+ Reply to Thread
Results 1 to 30 of 32
-
-
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.
-
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 -
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 -
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 ? -
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... -
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 -
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. -
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. -
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.
-
Originally Posted by duhmez
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 -
Originally Posted by SLK001
But I think i rather do that then have the borders.. -
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 -
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. -
@ 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. -
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
-
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 -
Originally Posted by Draven
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
-
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. -
Originally Posted by FulciLives
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. -
"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. -
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... -
Originally Posted by Draven
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)
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)
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
-
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 -
Not to threadjack or anything, but from the topic title, I thought this was going to be a racial/political issue
Similar Threads
-
How to get rid of black letterbox borders on AVI file?
By mukluk909 in forum Newbie / General discussionsReplies: 2Last Post: 27th Nov 2010, 15:18 -
Cutting black borders
By HamishT in forum Authoring (DVD)Replies: 17Last Post: 4th Mar 2009, 17:53 -
Black Borders won't go away!!!
By mirandapanda in forum Newbie / General discussionsReplies: 6Last Post: 10th Sep 2008, 01:49 -
how do you get rid of black borders when trying to convert file to DVD
By whodini in forum Newbie / General discussionsReplies: 1Last Post: 20th Jan 2008, 16:15 -
getting rid of black borders from ripped widescreen movies?
By curt1sw in forum Video ConversionReplies: 12Last Post: 20th Oct 2007, 04:35