Hello. I'm fairly new to FFMPEG for windows and I'm not sure how to get this done. I have 100 videos and I need to add 20pixel black borders to the top and bottom of each video. All videos are 1280x720. These borders must overlap the video so that the resolution remains the same. How could I run this command for all videos in a specific folder? Any help would be greatly appreciated.
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 3 of 3
Thread
-
-
Code:
for %a in (*.*) do ffmpeg -i "%~a" -map 0 -vf "crop=w=1280:h=(720-40):x=0:y=20,pad=w=1280:h=720:x=0:y=20" -c:a copy -c:s copy "output_folder\%~a"
https://ffmpeg.org/ffmpeg-filters.html#pad-1
https://forum.videohelp.com/threads/392160-VapourSynth-usage-and-Handbrake-Integration
Similar Threads
-
Getting my head around Aspect Ratios, Resolutions and Black Borders
By Locarno1 in forum Newbie / General discussionsReplies: 7Last Post: 30th Apr 2017, 16:50 -
Remove black borders from DVD without loss
By DavidGGG in forum DVD RippingReplies: 15Last Post: 28th Oct 2015, 12:18 -
Remove Black Borders From Movie Video
By anime12345 in forum Video ConversionReplies: 11Last Post: 27th Jan 2015, 20:40 -
best free- or something - app. 4 cropping video ( removing black borders )
By sam samy in forum EditingReplies: 3Last Post: 7th Nov 2014, 05:17 -
Fixing Black Borders
By Elegant in forum EditingReplies: 0Last Post: 30th May 2014, 22:12