Hello, I am trying to figure out how to endcode a video (mts to mkv) that is currently 1280x1080 to 864x400 and remove a 4 pixel black border from all edges [top. bottom, left and right] all in one go
What would the command be?
Thanks in advance for any help.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
Last edited by VidElp; 23rd Aug 2015 at 13:33.
-
Should be pretty simple using the crop and scale filters. What have you tried so far?
-
Unclear whether you want to first remove the border and then resize to 864x400 or do you want to first resize and then crop to 852x392 ?
'-vf crop=1272:1072:4:4,scale=864:400' would first crop 4px on each side and then resize,..users currently on my ignore list: deadrats, Stears555 -
I figured it out
crop=in_w-2*4:in_h-2*4
Thanks for the help
Similar Threads
-
black thin lines in the video
By sevost in forum RestorationReplies: 2Last Post: 29th Jun 2015, 07:15 -
Thin black lines in a video
By sevost in forum RestorationReplies: 1Last Post: 31st May 2015, 06:11 -
Removing lines from video?
By killerteengohan in forum RestorationReplies: 42Last Post: 21st Nov 2014, 15:58 -
Black lines around 4:3 video (PAL)
By garylanders in forum EditingReplies: 9Last Post: 25th Nov 2011, 03:22 -
Advanced Restoration - Removing tracking lines from Video
By Deter in forum RestorationReplies: 16Last Post: 16th Dec 2010, 16:23