Extracting an excerpt from a video is very useful, this is how to do it.
The command below extracts an excerpt from a video at 00:00:05 to 00:00:15. This is scaled to 640×360 pixels and is good quality.
┌──[jason@192.168.1.2]─[~/Videos] └──╼ ╼ $ ffmpeg -v 1 -i agropromfun.mp4 -ss 00:00:05 -to 00:00:15 -c:v libvpx -crf 4 -b:v 1500K -vf scale=640:-1 -an agropromfun.webm |
The -an parameter removes audio from the video clip, this is useful for showcasing a certain important part of the video.
Below is a sample webm made with this technique. This is quite good quality.
The webm format is very useful on the Internet and knowing how to make a good quality webm is very important.