Posted: . At: 9:34 AM. This was 3 years ago. Post ID: 14888
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.



Sponsored



How to get an excerpt from a video with FFmpeg.


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.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.