Cut MP4 files with FFMpeg on Windows

Posted by Z3Ro on Monday, May 8, 2017
0
0
Type: POST
Size: 0 KB
Dimensions: 0x0
Added: Monday, May 8, 2017 07:05
Modified: Monday, November 30, -0001 00:00
Create a bat file and paste in the following. Check if you have installed ffmpeg in the same directory otherwise change the path to the correct location. Also change the desired crop time by changing the 00:00:10 variable.
@echo off setlocal enabledelayedexpansion mkdir crops for %%a in ("*.mp4") do c:toolsffmpegffmpeg.exe -i "%%a" -ss 00:00:10 -filter:v "crop=in_w-3:in_h-1:3:1" -c:v libx264 -c:a libvo_aacenc "crops%%~na.mp4" pause
This site uses google analytics, if you want to avoid being tracked you can use the following app by Google to hide yourself from all analytics tracking.
I accept the terms and conditions of this service.