1
2
3
4
5 | for i in *.avi; echo $i; ffmpeg -loglevel quiet -y -ss 00:10:00 -i $i -frames:v 1 (string replace -- .avi -poster.jpg $i); end
ffmpeg -ss 10 -i in.mp4 -t 1 -f image2 out.jpg
mplayer -vo jpeg -ss 00:00:10 -frames 1 in.mp4 && mv 00000001.jpg out.jpg
|
Source: Superuser, AskUbuntu