to cut part of video with ffmpeg

in Ubuntu, when I try to use ffmpeg command in konsole, it writes that ffmpeg is depricated, and that I should use avconv instead.

In reality, for some reasons, some developers of ffmpeg didn't agree with something in ffmpeg development, and made a fork of it, which they called "avconv".

You still can download ffmpeg, as a source or as a binary.

If you don't want to comple source yourself, you can download binary build from Burek binary repository. Extract the statick binary tar.gz archive and use the ffmpeg binary that's in there.

Burek web site:
http://ffmpeg.gusari.org/static/
http://ffmpeg.gusari.org/static/32bit/

the command I've used:
ffmpeg -i in_movie.mp4 -ss 01:00:46 -t 00:28:58 out_movie.mp4

after -ss option you write beginning time of the video piece you want to cut, in format hh:min:sec
and after -t option you write duration of that piece.

you can calculate duration of your video piece by substracting time_1 - time_2 , where:
time_1:   time at the end of the video piece you want to cut
time_2:   time at the beginning of your video piece


back to main pageback to main page