View Full Version : Cropping mpeg2 file
molmik
22nd October 2003, 08:52
I've converted an avi file to mpeg2. It worked fine however at the top and the bottom an artifact colour strip occured. How can I cropped these stips? Which application can be used? I've tried Virtual Dub, however it can not handle mpeg2 file, as I know.
Thanks for the help!
ps. I hope not posting an over discussed topic.
Matthew
23rd October 2003, 03:47
You need to re-encode, and it's best to start with the original avi, re-encoding the mpeg2 file means more quality loss.
I'd use avisynth with the crop and addborder commands...
e.g. to crop 8 pixels from the top and bottom and replace with black I think it would be:
crop(0,8,X,Y-8-8) [where Y = verticle res).
addborders(0,8,0,8)
These pages may help:
http://www.avisynth.org/index.php?page=Crop
http://www.avisynth.org/index.php?page=addborders
molmik
23rd October 2003, 15:14
Thanks
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.