Status
Not open for further replies.

MediaStar

Active Member
2,664
2010
446
235
Hi, i tried everything after googled for command cut video 5 sec from beginning and 5 sec from end of video. But everything not working, does anyone know batch command to cut video 5 sec from start from beginning and 5 sec from end of video.

Ok this is my example:
Video 1, duration of video is 00:00:00 ~ 01:40:35 - 1h 40min and 35sec
Video 2, duration of video is 00:00:00 ~ 01:50:55 - 1h 50min and 55sec​

Video 1: I want to automatic cut from 00:00:00 until 00:00:05 and 01:40:30 until 01:40:35
Video 2: I want to automatic cut from 00:00:00 until 00:00:05 and 01:50:50 until 01:50:55

Does anyone know please?
 
1 comment
This command help you cut first 5 seconds video.
Code:
ffmpeg -i movie.mp4 -t 5 cut.mp4

When you want to cut video at the time use -ss to seek to that time.
Code:
ffmpeg -ss 01:40:30 -i video.mp4 -t 5 cut.mp4
 
Status
Not open for further replies.
Back
Top