Extracting a video clip from the command line
I had to extract a small clip from a very long video and I wanted to do it from the command line (of course!).
To do that we will use avconv (it is part of libav, an open source audio and video tools). It is a very fast audio and video converter that can be used to extract a clip from a video.
To install it in debian based distros:
$ sudo apt-get install libav-tools
In RedHat based distros there isn’t any source with a decent RPM package so the simplest way is build it from source.
In OS X there is a command called ...