PHP Developer
PHP Developer

Reputation: 229

Cut video with ffmpeg in Ubuntu

I execute the command in Ubuntu to cut a video:

/usr/bin/ffmpeg -i video.mp4 -an -ss 00:00:1 -t 00:00:08 -async 1

In Windows 10 its work, but not work in Ubuntu.

I receive in Ubuntu the warning:

Trailing options were found on the commandline.

and receive the error:

At least one output file must be specified

What do I do?

Upvotes: 19

Views: 11696

Answers (1)

tso
tso

Reputation: 4904

do:
ffmpeg -i video.mp4 -ss 00:00:01 -t 00:00:08 -async 1 cut.mp4

just add output file name, in this situation - cut.mp4

Upvotes: 35

Related Questions