Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo OFF
- cls
- set "PAUSES=1"
- setlocal
- :: This is just for stripping the intro and outro from a video using FFmpeg.
- REM The beginning and end of the clip [hh:mm:ss].
- set "START=00:00:12"
- set "END=00:14:19"
- REM The source file and destination.
- set "INPUT=D:\Videos\ASMR.mp4"
- set "OUTPUT=D:\Videos\ASMR-clip.mp4"
- REM FFmpeg variables.
- set "FFMPEG=%USERPROFILE%\Programs\ffmpeg\bin\ffmpeg.exe"
- set "OPTIONS_BEGIN=-hide_banner"
- REM Main command.
- "%FFMPEG%" %OPTIONS_BEGIN% -i "%INPUT%" -ss %START% -to %END% -c copy "%OUTPUT%"
- endlocal
- if %PAUSES% EQU 1 (pause)
Add Comment
Please, Sign In to add comment