I have been using ffmpeg to remove the first 5 seconds of a video clip with the following code.

for %%a in ("*.mp4") do ffmpeg -i "%%a" -ss 05 -acodec copy -vcodec copy "newfiles\%%~na.mp4" pause

Is there a way to remove the first 5 sec along with the last 8 seconds of the .mp4 file?


If I have 1 minute (60 seconds) clip it will be something like: from 00:00:00 - 00:01:00 to

-ss 00:00:05 -to 00:00:55

more info: link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.