浅析使用mplayer -vo选项将movie生成jpeg,png和yuv4mpeg等文件
luther@gliethttp:/vobs/works$ mplayer -vo jpeg 犬夜叉80.flv
这样/vobs/works/目录下就生成了犬夜叉80.flv每帧视频的jpeg图片
luther@gliethttp:/vobs/works$ mplayer -vo mpegpes 犬夜叉80.flv
这样就生成了stream.yuv文件
luther@gliethttp:~$ mplayer -vo help
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Available video output drivers:
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
fbdev Framebuffer Device
fbdev2 Framebuffer Device
v4l2 V4L2 MPEG Video Decoder Output
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
mpegpes Mpeg-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
阅读(1215) | 评论(0) | 转发(0) |