How to create movie video clips using linux command line

Is there a command line program for linux (ubuntu) that can generate a large image containing 6 caps from a given video (e.g. WMV), an outlined storyboard style (I know that Windows Media Player Classic can do this)? I need this for the part of the script that I am writing.

+7
linux ubuntu video wmv
source share
3 answers

I pulled the answer from this site: http://blog.prashanthellina.com/2008/03/29/creating-video-thumbnails-using-ffmpeg/

ffmpeg -itsoffset -4 -i test.avi -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 test.jpg

Where -4 is the number of seconds in the file to capture a screenshot, 320x240 is the screen size, and test.jpg is the output file.

Hope this helps.

+10
source share

Use SlickSlice

 ./slickslice.sh -x video.avi -s 5x3 -e 
+4
source share

I used MPlayer to save frames as images and ImageMagick to combine them:

 mplayer -nosound -sstep 15 -vo png video.mkv montage *.png -tile 3x3 -geometry 300x+0+0 screencaps.png 
0
source share

All Articles