I have no earthly idea how to do the resize and crop--but I suppose it is essential since my conversions are usually h264 or xvid to a dvd. So I need how to learn how to make the video 720x480... Media Info has some really small text but I think it says the AR is 2.40:1
Also, in what order is this done? Crop, Resize and then encode? I think it's done left side, top side, right side and then bottom right? TIA
+ Reply to Thread
Results 1 to 9 of 9
phuture01: I don't know if you are aware but many of today's new Blu-ray players could probably play those files if you were just to put burn these files and make a data disc or play them from a thumb drive or external hard drive. If you must make a DVD, I know that Freemake Video Converter has a way to take those files and make a basic DVD for you. I am fairly certain Video To Video Convertor has an option to convert the files to mpeg2 DVD compliant files.
There are those who have more knowledge than me on this subject. Truthfully it is very rarely that I ever go to all the bother of making a DVD and I am rusty at it. I am sure someone will give you some pointers to get your started on this project.
Thank you sir, appreciate the response I know there are the things like convertXtodvd and the like but I guess I enjoy learning about avisynth and avstodvd--they produce high quality results--better than most of the ones I've tried. And as you say, someone might be willing to point me in the right direction--if so, then that's great.
Your post is a little confusing. Do you want a DVD, or do you want a container for h264, xvid, or what? DVD is MPEG2. It can't be anything else.
If the aspect ratio of your video is 2.4:1, it is a wider screen that 16x9. For DVD, the image would be in a 720x480 frame with a display aspect ratio (DAR) of 16:9 and letterbox borders to contain the image. You can't play 2.4:1 video on a 16x9 screen without letterboxing.
Last edited by sanlyn; 19th Mar 2014 at 07:48.
thank you--I think I've got the jist of it. I have a better idea of what to do now, so thanks again
Don't take what MediaInfo says as accurate. It does a lot of rounding. Most HD video uses square pixels, so the resolution and aspect ratio are the same. ie for a video with a resolution of 1280x544:
I'd probably work it out the hard way because it's not something I'd do much. Assuming straight 16:9 resizing for NTSC DVD it'd have a display resolution of 854x480 (16:9). So to get the correct height I'd resize to a width of 854. Therefore the 1280x544 video would be resized to 854x364 (rounded). To complete the 854x480 aspect ratio, black borders need to be added top and bottom. To do so with Avisynth:
Then the 854x480 video is resized to 720x480 and the aspect ratio set to 16:9.
Ultimately, I'd be resizing the 1280x544 video to 720x364, using AddBorders to make it 720x480 and the aspect ratio would be 16:9.
Having gone through all that, it was bugging me so here's the forumula. Normally when resizing video with square pixels to another size with square pixels, the formula would be:
(original height/original width) x desired width = new height.
Or to do it the other way round:
(original width/original height) x desired height = new width.
You can use the same formula for resizing to DVD aspect ratios, only you have to include the correct pixel aspect ratio. For straight 16:9 resizing, that's 32/27 for NTSC.
(original height/original width) x (pixel aspect ratio) x desired width = new height.
ie (544/1280) x (32/27) x 720 = 363
So you'd resize to 720x364 and use add borders to give you 720x480.
For an mpeg4 pixel aspect ratio:
(544/1280) x (40/33) x 720 = 370
A List of Pixel Aspect Ratios.
so i got a 1920x800 movie and if I follow your formula I came up with 720x354 and addborders(0,63,0,63)---i think
You can't use odd numbers for AddBorders, but (0,62,0,64) would work. The resizing seems right.
Thanks alot hello hello