crop and resize question
I am after some advice to a crop and resize question
source material is DVB stream of a movie that was produced in 4:3 aspect, the stream has been broadcast in 16:9 so I have the black borders on the left and right of the picture. My goal is to remove the borders then resized it to a resolution of 720x576 with no borders. Here is a script that does what I want, it works but is obviously not optimal, more like a backyard hack :) but it should demonstrate what I am attempting. Mpeg2Source("D:\video\sample.d2v") BicubicResize(720, 576, 0, 0.6, 0, 0, 720, 576) Crop(88, 0,-88, 0) BicubicResize(688, 574, 0, 0.6, 0, 0, 544, 576) AddBorders(16, 1, 16, 1) I am open to all suggestions as to the proper way to do this as I am sure this is not it :) UT |
Hi urban tec,
Open your captured file in Vdub and insert a null transform filter. Then find the exact "Film Pixels" values by cropping all black areas. Take that information and feed it to FitCD or MovieStacker, and let it calculate the correct parrameters ;) -kwag |
Thanks Kwag,
I couldnt figure out where to put the values into movie stacker (havent used it much) but I kept at it and while on the resize page at avisynth.org the penny dropped :) :) :) For anyone that is interested this is the script now Mpeg2Source("D:\video\sample.d2v") Crop(94, 0, -94, 0).BicubicResize(720, 576) Thats it ps: I used Vdub to modify the cropping, thanks for the suggestion Kwag :) UT |
Quote:
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.