MPlayer

導入

MPlayer on Windows (win32/win64) Binaries - MPlayer - The Movie Player

mplayer.exeのバージョンは、ビルドによってはファイル バージョンではなく製品バージョンで確認できます。

コマンドライン

mplayer [options] [file|URL|playlist|-]
mplayer [options] file1 [specific options] [file2] [specific options]
mplayer [options] {group of files and options} [group-specific options]
mplayer [br]://[title][/device] [options]
mplayer [dvd|dvdnav]://[title|[start_title]-end_title][/device] [options]
mplayer vcd://track[/device]
mplayer tv://[channel][/input_id] [options]
mplayer radio://[channel|frequency][/capture] [options]
mplayer pvr:// [options]
mplayer dvb://[card_number@]channel [options]
mplayer mf://[filemask|@listfile] [-mf options] [options]
mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [options]
mplayer cue://file[:track] [options]
mplayer [file|mms[t]|http|http_proxy|rt[s]p|ftp|udp|unsv|icyx|noicyx|smb]:// [user:pass@]URL[:port] [options]
mplayer sdp://file [options]
mplayer mpst://host[:port]/URL [options]
mplayer tivo://host/[list|llist|fsid] [options]

オプション

mplayer [options] [url|path/]filename

Basic options

 -vo <drv>        select video output driver ('-vo help' for a list)
 -ao <drv>        select audio output driver ('-ao help' for a list)
 vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>  play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <position>   seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)
mplayer -h

完全なリストはGENERAL OPTIONSにあります。

Basic keys

 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand
mplayer -h

完全なリストはINTERACTIVE CONTROLにあり、input.confも確認します。

AUDIO OUTPUT DRIVERS

-ao <driver1[:suboption1[=value]:...],driver2,...[,]>
AUDIO OUTPUT DRIVERS (MPLAYER ONLY) - MPlayer
audio output driver
dsound Windows DirectSound audio output
win32 Windows waveOut audio output
sdl SDLlib audio output
mpegpes MPEG-PES audio output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
mplayer -ao help

VIDEO OUTPUT DRIVERS

-vo <driver1[:suboption1[=value]:...],driver2,...[,]>
VIDEO OUTPUT DRIVERS (MPLAYER ONLY) - MPlayer
video output driver
directx Directx DDraw YUV/RGB/BGR renderer
direct3d Direct3D 9 Renderer
gl_nosw OpenGL no software rendering
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
gl OpenGL
gl_tiled X11 (OpenGL) - multiple textures version
matrixview MatrixView (OpenGL)
caca libcaca
null Null video output
mpegpes MPEG-PES file
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
mplayer -vo help

AUDIO FILTERS

-af <filter1[=parameter1:parameter2:...],filter2,...>
AUDIO FILTERS - MPlayer

VIDEO FILTERS

-vf <filter1[=parameter1:parameter2:...],filter2,...>
VIDEO FILTERS - MPlayer

参考

  • MPlayer
    ハイフン「-」はマイナス記号「−」(U+2212) で表記されています。

利用例

サムネイルの作成

0:10の位置から5つのフレームを、JPEGファイルとして出力。

mplayer -ss 10 -frames 5 -vo jpeg -ao null sample.mp4

60秒ごとに5つのフレームを、imgディレクトリにJPEGファイルとして出力。

mplayer -sstep 60 -frames 5 -vo jpeg:outdir=img -ao null sample.mp4
複数のダウンロードサイトから、まとめて検索