[MPlayer-users] helpme

Arpi arpi at thot.banki.hu
Tue Jul 2 23:11:01 CEST 2002


Hi,

> There is a good way to take screenshots using mplayer. This is a sample of
> making thumbnails for avi or mpg files at 10 seconds from start:
> 
>   rm -f 00000001.png 00000002.png
>   mplayer -idx -frames 2 -ss 10 -vo png $filea 3>&1 2>&1 > /dev/null
>   if [ -f 00000002.png ]
>   then
>       echo "making thumbnail thumbnail."
>       mkdir -p thumbnails
>       convert -scale 100x100 00000002.png JPEG:t/$a.jpg

there is jpeg output too (-vo jpeg)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list