Home » Questions » Computers [ Ask a new question ]

What is the command to cut a portion out of a video and save it using ffmpeg?

What is the command to cut a portion out of a video and save it using ffmpeg?

I've tried

Asked by: Guest | Views: 410
Total answers/comments: 2
Guest [Entry]

"you were pretty close :)

the correct syntax would be ffmpeg -i InputFile -ss StartTime -t Duration Outputfile

so try:

ffmpeg -i in_movie.avi -ss 00:26:20 -t 00:28:24 out_movie.avi

Update

this episode is about 40:23 long. -t specifies the duration, not the end time. your command will start recording at 26:20 for 28 minutes and 24 seconds, that would be until 54:44. if you want to record from 26:20 to 28:24 use the switch -t 00:02:04 instead.

ffmpeg -i in_movie.avi -ss 00:26:20 -t 00:02:04 out_movie.avi

now this will give you an AVI clip 2 minutes and 4 seconds long, captured from 26:20 to 28:24"
Eauanz [Entry]

order generic lipitor 10mg <a href="https://lipiws.top/">oral atorvastatin 20mg</a> lipitor 80mg sale