removido
(usa Nenhuma)
Enviado em 19/06/2011 - 09:22h
exemplo:
$ mplayer -vf screenshot /home/h4rd3r/Vídeos/Clipes/Nora\ Jones\ plays\ Jesus\,\ Etc\ \(Wilco\).mp4
daí com o mplayer rodando a medida que clicamos na letra 'e' uma screen será tirada, começando com o nome ' shot0001.png ', ' shot0002.png ' e por aí vai.
exemplo do log do terminal:
~$mplayer -vf screenshot /home/h4rd3r/Vídeos/Clipes/Nora\ Jones\ plays\ Jesus\,\ Etc\ \(Wilco\).mp4
MPlayer SVN-r31918 (C) 2000-2010 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /home/h4rd3r/Vídeos/Clipes/Nora Jones plays Jesus, Etc (Wilco).mp4.
libavformat file format detected.
[lavf] stream 0: audio (aac), -aid 0, -alang und
[lavf] stream 1: video (h264), -vid 0
VIDEO: [H264] 1920x1080 24bpp 23.976 fps 3450.8 kbps (421.2 kbyte/s)
Clip info:
major_brand: mp42
minor_version: 0
compatible_brands: isomavc1mp42
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
s3fb: Couldn't map S3 registers: Operation not permitted
[vdpau] Error when calling vdp_device_create_x11: 1
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 125.6 kbit/8.90% (ratio: 15702->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x8b5e900]using unscaled yuv420p -> rgb24 special converter
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
A: 2.9 V: 2.9 A-V: 0.000 ct: 0.023 0/ 0 41% 4% 2.4% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0001.png' ***
A: 20.0 V: 20.0 A-V: 0.000 ct: 0.023 0/ 0 51% 3% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0002.png' ***
A: 29.1 V: 29.1 A-V: 0.000 ct: 0.023 0/ 0 51% 3% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0003.png' ***
A: 29.9 V: 29.9 A-V: 0.000 ct: 0.023 0/ 0 52% 3% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0004.png' ***
A: 30.4 V: 30.4 A-V: 0.000 ct: 0.023 0/ 0 52% 4% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0005.png' ***
A: 31.0 V: 31.0 A-V: 0.000 ct: 0.023 0/ 0 52% 4% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0006.png' ***
A: 31.4 V: 31.4 A-V: 0.000 ct: 0.023 0/ 0 52% 4% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0007.png' ***
A: 31.7 V: 31.7 A-V: 0.000 ct: 0.023 0/ 0 52% 4% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0008.png' ***
A: 31.9 V: 31.9 A-V: 0.000 ct: 0.023 0/ 0 52% 4% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0009.png' ***
A: 32.2 V: 32.2 A-V: 0.000 ct: 0.023 0/ 0 52% 4% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0010.png' ***
A: 32.4 V: 32.4 A-V: 0.000 ct: 0.023 0/ 0 52% 5% 2.1% 0 0
sending VFCTRL_SCREENSHOT!
*** screenshot 'shot0011.png' ***
A: 36.7 V: 36.7 A-V: 0.000 ct: 0.023 0/ 0 51% 4% 2.1% 0 0
MPlayer interrupted by signal 2 in module: decode video
A: 36.7 V: 36.7 A-V: 0.000 ct: 0.023 0/ 0 51% 4% 2.1% 0 0