MPlayer(1) MPlayer(1) (NAME) mplayer - mencoder - (SYNOPSIS) mplayer [] [file|URL|playlist|-] mplayer [] file1 [ ] [file2] [ ] mplayer [] { } [ ] mplayer [br]://[title][/device] [] mplayer [dvd|dvdnav]://[title|[start_title]-end_title][/device] [] mplayer vcd://track[/device] mplayer tv://[channel][/input_id] [] mplayer radio://[channel|frequency][/capture] [] mplayer pvr:// [] mplayer dvb://[card_number@]channel [] mplayer mf://[filemask|@listfile] [-mf options] [] mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [] mplayer cue://file[:track] [] mplayer [file|mms[t]|http|http_proxy|rt[s]p|ftp|udp|unsv|icyx|noicyx|smb]:// [user:pass@]URL[:port] [] mplayer sdp://file [] mplayer mpst://host[:port]/URL [] mplayer tivo://host/[list|llist|fsid] [] gmplayer [] [file|URL|playlist] [-skin skin] mencoder [] file [file|URL|-] [-o file | file://file | smb://[user:pass@]host/filepath] mencoder [] file1 [ ] [file2] [ ] mplayer ( ). MPEG/VOB AVI ASF/WMA/WMV RM QT/MOV/MP4 Ogg/OGM MKV VIVO FLI NuppelVideo yuv4mpeg FILM RoQ . VCD SVCD DVD Blu-ray 3ivx DivX 3/4/5 WMV H.264 . MPlayer . X11 Xv DGA OpenGL SVGAlib fbdev AAlib libcaca DirectFB Quartz Mac OS X CoreVideo GGI SDL ( ) VESA ( VESA X11) ( Matrox 3dfx ATI) MPEG Siemens DVB Hauppauge PVR (IVTV) DXR2 DXR3/Hollywood+ . . MPlayer (OSD) (antialiased) . /ISO8859-1,2 ( ) (MicroDVD SubRip OGM SubViewer Sami VPlayer RT SSA AQTitle JACOsub PJS : MPsub) DVD ( SPU VOBsub Closed Captions) . mencoder ( MPlayer) MPlayer ( ) MPlayer ( ) . MPEG-4 (DivX/Xvid) libavcodec PCM/MP3/VBRMP3 (pass) . (stream copying) () (crop expand flip postprocess rotate scale noise RGB/YUV) . gmplayer MPlayer . ( gui.conf) MPlayer MPlayer gui.conf MPlayer . ( GUI CONFIGURATION FILE .) . HTML ! (INTERACTIVE CONTROL) MPlayer - MPlayer ( LIRC) . -input . LEFT RIGHT / . UP DOWN / . PGUP PGDWN / . [ ] / . { } / . BACKSPACE . < > / . ENTER . HOME END / . INS DEL ( ASX) / . p / SPACE ( ). . . ( ). q / ESC . U ( -idle ). + - +/- . / * / . 9 0 / . ( ) /. m . _ ( MPEG-TS AVI libavformat) . # ( DVD Blu-ray MPEG Matroska AVI libavformat) . TAB ( MPEG-TS libavformat) . f ( -fs ). T ( -ontop ). w e / pan-and- scan. o OSD: / / + / + + . d : / / (-framedrop -hardframedrop ). v . j J . y g / . F << >> (forced subtitles). a : / / . x z +/- . c ( -capture) / . r t /. i ( -edlout) EDL . s ( -vf screenshot) (). S ( -vf screenshot) / (). I OSD. P OSD. ! @ /. D ( -vo vdpau -vf yadif -vf kerndeint) / (deinterlacer). A DVD. ( (xv (x)vidix (x)mga ) (-vf eq -vf eq2) (-vf hue) .) 1 2 (). 3 4 . 5 6 (hue). 7 8 (saturation). ( quartz corevideo .) . command + 1 . command + 2 . command + f ( -fs ). command + [ command + ] (alpha) . ( sdl .) c . n . ( .) PAUSE . STOP . PREVIOUS NEXT / . ( TV DVB .) h k / . n (norm). u . ( dvdnav : .) keypad 8 . keypad 2 . keypad 4 . keypad 6 . keypad 5 . keypad 7 ( : chapter->title->root). keypad ENTER . ( . MPEG .) X / . Q W / . / . / . / . / . . OSD: / / + / + + . / . (flag) <> -fs -nofs . ( XXX) XXX XXX . : ( -ao pcm ) (string- escaping) (GUI) . : %n%string_of_length_n : mplayer -ao pcm:file=%10%C:test.wav test.avi : mplayer -ao pcm:file=%`expr length "$NAME"`%"$NAME" test.avi (CONFIGURATION FILES) MPlayer/MEncoder . 'mplayer.conf' ( /etc/mplayer /usr/local/etc/mplayer) '~/.mplayer/config' . MEncoder 'mencoder.conf' ( /etc/mplayer /usr/local/etc/mplayer) '~/.mplayer/mencoder.conf' . ( gmplayer gui.conf ) . 'option=' '#' . 'yes' '1' 'true' 'no' '0' 'false' . . . 'movie.avi' 'movie.avi.conf' ~/.mplayer/ . -use-filedir-conf ( ) . ~/.mplayer . -use-filedir-conf . MPlayer mplayer.conf . MPLAYER: # Matrox. vo=xmga # . flip=yes # / PNG # mf://filemask mf=type=png:fps=25 # . vf=eq2=1.0:-0.8 # OSD progbar-align=50 MENCODER: # MEncoder . o=encoded.avi # mencoder tv:// . oac=pcm=yes ovc=lavc=yes lavcopts=vcodec=mjpeg tv=driver=v4l2:input=1:width=768:height=576:device=/dev/video0:audiorate=48000 # lavcopts=vcodec=mpeg4:autoaspect=1 lameopts=aq=2:vbr=4 ovc=lavc=1 oac=lavc=1 passlogfile=pass1stats.log noautoexpand=1 subfont-autoscale=3 subfont-osd-scale=6 subfont-text-scale=4 subalign=2 subpos=96 spuaa=20 GUI ( MPlayer ): ao_alsa_device (alsa:device=) ( ALSA) ao_alsa_mixer (mixer) ( ALSA) ao_alsa_mixer_channel (mixer-channel) ( ALSA) ao_esd_device (esd:) ( ESD) ao_extra_stereo (af extrastereo) (: 1.0) ao_extra_stereo_coefficient (af extrastereo=), ao_oss_device (oss:) ( OSS) ao_oss_mixer (mixer) ( OSS) ao_oss_mixer_channel (mixer-channel) ( OSS) ao_sdl_subdriver (sdl:) ( SDL) ao_surround () ao_volnorm (af volnorm), autosync (/) autosync_size (autosync), cache (/) cache_size (cache), enable_audio_equ (af equalizer), equ_band_00 ... equ_band_59, (af equalizer=), equ_channel_1 ... equ_channel_6 (af channels=), gui_main_pos_x, gui_main_pos_y, gui_save_pos (yes/no), gui_tv_digital (yes/no), gui_video_out_pos_x, gui_video_out_pos_y, playbar (/) replay_gain (/) replay_gain_adjustment (-30..10), show_videowin (yes/no), vf_lavc (vf lavc) ( DXR3) vf_pp (vf pp), vo_dxr3_device () ( DXR3). MPlayer gui.conf ( MPlayer ) : a_afm (afm), ao_driver (ao), ass_bottom_margin (ass-bottom-margin) ( ASS) ass_enabled (ass) ( ASS) ass_top_margin (ass-top-margin) ( ASS) ass_use_margins (ass-use-margins) ( ASS) cdrom_device (cdrom-device), dvd_device (dvd-device), font_autoscale (subfont-autoscale) ( FreeType) font_blur (subfont-blur) ( FreeType) font_encoding (subfont-encoding), font_factor (ffactor), font_name (font), font_osd_scale (subfont-osd-scale) ( FreeType) font_outline (subfont-outline) ( FreeType) font_text_scale (subfont-text-scale) ( FreeType) gui_skin (skin), idle (idle), load_fullscreen (fs), osd_level (osdlevel), playlist_support (allow-dangerous-playlist-parsing), softvol (softvol), stopxscreensaver (stop-xscreensaver), sub_auto_load (autosub), sub_cp (subcp) ( iconv) sub_overlap (overlapsub), sub_pos (subpos), sub_unicode (unicode), sub_utf8 (utf8), v_flip (flip), v_framedrop (framedrop), v_idx (idx), v_ni (ni), v_vfm (vfm), vf_autoq (autoq), vo_direct_render (panscan), vo_doublebuffering (dr), vo_driver (vo), vo_panscan (double). . '[my-profile]'. . ( -profile help ) profile-desc . 'default' . MPLAYER: [protocol.dvd] profile-desc="profile for dvd:// streams" vf=pp=hb/vb/dr/al/fd alang=en [protocol.dvdnav] profile-desc="profile for dvdnav:// streams" profile=protocol.dvd mouse-movements=yes nocache=yes [extension.flv] profile-desc="profile for .flv files" flip=yes [vo.pnm] outdir=/tmp [ao.alsa] device=spdif MENCODER: [mpeg4] profile-desc="MPEG4 encoding" ovc=lacv=yes lavcopts=vcodec=mpeg4:vbitrate=1200 [mpeg4-hq] profile-desc="HQ MPEG4 encoding" profile=mpeg4 lavcopts=mbd=2:trell=yes:v4mv=yes (GENERAL OPTIONS) -codecpath . -codecs-file ( -afm -ac -vfm -vc ) codecs.conf . -include ( -gui-include ) . -list-options . -msgcharset (: autodetect). --charset . "noconv" ( iconv). : . MPLAYER_CHARSET . -msgcolor ANSI . -msglevel :=:...> . 'all' . '-msglevel help' . : -msglevel . MPLAYER_VERBOSE . : -1 0 (fatal) 1 2 3 4 5 () 6 (verbose) 7 8 9 -msgmodule . -noconfig . : -include -use-filedir-conf . : all gui ( GUI) GUI system user -quiet ( A: 0.7 V: 0.6 A-V: 0.068 ...) . ( \r) . -priority ( Windows OS/2) MPlayer Windows OS/2 . : idle|belownormal|normal|abovenormal|high|realtime : realtime . -profile () -profile help . -really-quiet ( -quiet ) -quiet . (GUI) . -show-profile (profile) . -use-filedir-conf . : . -v (verbosity) -v . ( MPLAYER) (PLAYER OPTIONS (MPLAYER ONLY)) -autoq ( -vf [s]pp) CPU . . . -vf [s]pp . -autosync (A/V) . -autosync 0 () . -autosync 1 A/V . -nosound . -nosound . -autosync 30 . A/V . A/V . -benchmark CPU (dropped frames) . () -nosound -vo null . : MPlayer ( ). -colorkey (colorkey) RGB . 0x000000 0xffffff . cvidix fbdev svga vesa winvidix xmga xvidix xover xv ( -vo xv:ck ) directx . -nocolorkey (colorkeying) . cvidix fbdev svga vesa winvidix xmga xvidix xover xv ( -vo xv:ck ) directx . -correct-pts () . -ass . -correct-pts . demuxer codec . -crash-debug ( ) (crash) SIGTRAP gdb . --enable-crash-debug . -doubleclick-time (: 300). 0 ( -vo directx). : MOUSE_BTN0_DBL MOUSE_BTN0-MOUSE_BTN0_DBL (bind) . -edlout (EDL) . 'i' . EDL . http://www.mplayerhq.hu/DOCS/HTML/en/edl.html . -edl-backward-delay EDL EDL . MPlayer EDL EDL . MPlayer EDL . (: ). -edl-start-pts EDL . MPEG TS PTS EDL -edlout EDL . EDL . -edl-start-pts EDL : EDL EDL EDL EDL . -noedl-start-pts EDL . -enqueue ( GUI) (playlist) . -fixed-vo ( ). . fixed-vo : gl gl_tiled mga svga x11 xmga xv xvidix dfbmga. -framedrop ( -hardframedrop -nocorrect-pts) (A/V sync) . . B (decoding) . -(no)gui (GUI) ( ). . . -gui-include ( -include ) ( GUI) GUI gui.conf . -h, -help, --help . -hardframedrop ( -nocorrect-pts) ( ). ! libmpeg2 "-vc ffmpeg12," . -heartbeat-cmd ()system - (shell) - ..sp 1 : MPlayer ( Windows <<.>> path ). ( -novideo -vo null ). (screensavers) API X << >> ( -stop-xscreensaver ). API X . xscreensaver: mplayer -heartbeat-cmd "xscreensaver-command -deactivate" file GNOME: mplayer -heartbeat-cmd "gnome-screensaver-command -p" file -heartbeat-interval -heartbeat-cmd (: 30.0). -identify -msglevel identify=6. (parseable) . (ID) . DVD Blu-ray (title) . -frames 0 . TOOLS/midentify.sh MPlayer () (shellescape) . -msglevel identify=4 . -idle ( -slave ) MPlayer (idle) . (slave) MPlayer . gmplayer -idle -noidle . -input . ~/.mplayer/ . : (Autorepeat) . : conf= ~/ .mplayer/input.conf. ~/.mplayer/ . ar-dev= Apple IR Remote ( Linux). ar-delay (0 ). ar-rate . (no)default-bindings (key bindings) MPlayer . keylist . cmdlist . js-dev (: /dev/input/ js0). file= . FIFO . : FIFO MPlayer 'echo "seek 10" > mp_pipe' (pipe) . -key-fifo-size <2-65000> FIFO (: 7). FIFO n (n-1) . . MPlayer . Linux 2 Windows 1024 . -doubleclick-time 0 . -lircconf ( LIRC) LIRC (: ~/.lircrc). -list-properties (properties) . -loop (). 0 . -loop 0 . -loop -loop . -menu ( OSD) OSD . -menu-cfg ( OSD) menu.conf . -menu-chroot ( OSD) (chroot) . : -menu-chroot /home /home ( / /home/user_name ). -menu-keepdir ( OSD) . -menu-root ( OSD) . -menu-startup ( OSD) MPlayer . -mouse-movements MPlayer . DVD . VO X11 ( x11 xv ) VO gl gl_tiled direct3d corevideo . -noar AppleIR . -noconsolecontrols MPlayer . . - . /dev/stdin ( ) stdin loadfile loadlist stdin . -nojoystick . -nolirc LIRC . -nomouseinput / ( mozplayerxp ). -rtc ( RTC) RTC ( - /dev/rtc) . / . . -pausing <0-3> ( MPlayer) MPlayer . DOCS/tech/slave.txt . 0 (resume) 1 (pausing) 2 / (pausing_keep) 3 / (pausing_toggle) 4 () (pausing_keep_force) -playing-msg . : ${NAME} NAME . ?(NAME:TEXT) TEXT NAME . ?(!NAME:TEXT) TEXT NAME . -playlist ( ASX Winamp SMIL ) . : MPlayer . . MPlayer -playlist . -playlist ! : . FIXME: . -allow-dangerous-playlist-parsing . . MPlayer . -rtc-device RTC . -shuffle . -skin ( ) ~/.mplayer/skins/ /usr/ local/share/mplayer/skins/ . : -skin fittyfene ~/.mplayer/skins/fittyfene /usr/local/share/mplayer/skins/fittyfene . -slave ( -input ) (slave mode) MPlayer (backend) . MPlayer (\n) stdin . : -input cmdlist DOCS/tech/slave.txt . ( ) -input nodefault-bindings:conf=/dev/null . -softsleep MPlayer . RTC . . -sstep . . MPlayer (keyframe) . -udp-ip -udp-master . (broadcast) (: 127.0.0.1). -udp-master -udp-ip -udp-port . . -udp-port -udp-master -udp-slave (: 23867). -udp-seek-threshold . . . . -udp-slave -udp-port . -a52drc (DRC) AC-3. 0 1 0 1 ( ) ( ). 2 . AC-3 . -aid ( -alang ) (MPEG: 0-31 AVI/OGM: 1-99 ASF/RM: 0-127 VOB(AC-3): 128-159 VOB(LPCM): 160-191 MPEG-TS 17-8190). MPlayer (-v) . MPEG-TS MPlayer/MEncoder ( ) . -ausid ( -alang ) (substream) . 0x55..0x75 MPEG-TS ( libavformat) . ( ) . MPlayer -identify . -alang ( -aid ) . (container formats) . DVD ISO 639-1 Matroska MPEG-TS NUT ISO 639-2 OGM . MPlayer (-v) . : mplayer dvd://1 -alang hu,en DVD . mplayer -alang jpn example.mkv Matroska . -audio-demuxer <[+]name> ( -audiofile) -audiofile. '+' ! -audio-demuxer help . libmpdemux/demuxer.h . -audio-demuxer audio -audio-demuxer 17 MP3 . -audiofile (WAV MP3 Ogg Vorbis) . -audiofile-cache () -audiofile . -reuse-socket ( udp://) . -bandwidth ( ) ( ). . Real RTSP (dumping) . -bluray-angle ( Blu-ray) Blu-ray . MPlayer (: 1). -bluray-device ( Blu-ray) Blu-ray. Blu-ray . -cache ( ) URL . . -nocache ( ) . -cache-min . -cache-seek-min (seek) MPlayer (: 50). -capture ( MPlayer) ( ) -dumpfile ( INTERACTIVE CONTROL ). -dumpstream MPEG . . -cdda ( CDDA) CD MPlayer . : speed= CD. paranoia=<0-2> (paranoia). 0 . 0: () 1: 2: generic-dev= SCSI . sector-size= (atomic). overlap= . toc-bias TOC LBA 0 . . toc-offset= . . (no)skip () . -cdrom-device CD-ROM (: /dev/cdrom). -channels ( -af channels ) (: 2). MPlayer . . AC-3 ( DVD) . liba52 (downmix) . channels . : ( AC-3) (surround) ( OSS) . : 4 (surround) 6 5.1 8 7.1 -chapter [-] . (: 1). -cookies ( ) HTTP. -cookies-file ( ) HTTP (: ~/.mozilla/ ~/.netscape/) . Netscape . -delay ( ) . -audio-delay MEncoder . : MEncoder -ovc copy -audio-delay . -ignore-start AVI. MPlayer -audio-delay . MEncoder -audio-delay . MEncoder . -demuxer <[+]name> demuxer. '+' ! demuxer -demuxer help . demuxer libmpdemux/demuxer.h . -dumpaudio ( MPlayer) ./stream.dump ( MPEG/AC-3 ). -dumpaudio -dumpvideo -dumpstream . -dumpfile ( MPlayer) MPlayer . -dumpaudio / -dumpvideo / -dumpstream / -capture . -dumpstream ( MPlayer) ./stream.dump . DVD . -dumpaudio -dumpvideo -dumpstream . -dumpvideo ( MPlayer) ./stream.dump ( ). -dumpaudio -dumpvideo -dumpstream . -dvbin ( DVB) DVB : card=<1-4> 1-4 (: 1). file= MPlayer . ~/.mplayer/channels.conf.{sat,ter,cbl,atsc} ( ) ~/.mplayer/channels.conf . timeout=<1-240> (: 30). -dvd-device ( DVD) DVD .iso (: /dev/dvd). DVD ( vobcopy). -dvd-speed ( DVD) DVD (: 0 ). DVD 1350KB/s 8x 10800KB/s . DVD 2700KB/s . MPlayer . 100 1350KB/s -dvd-speed 8 10800KB/s . : DVD . -dvdangle ( DVD) DVD . MPlayer (: 1). -edl (EDL) . . http://www.mplayerhq.hu/DOCS/HTML/en/edl.html . -endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> ( -ss -sb ) . : . -ss -endpos -ss . -dump . : -endpos 56 56 . -endpos 01:10:00 1 10 . -ss 10 -endpos 56 1 6 . mplayer -endpos 100mb 100MB . mencoder -endpos 100mb 100 MB. -forceidx (index). ( ) . (seeking) . MEncoder ( ). : ( stdin pipe ). -fps . . -frames / . -hr-mp3-seek ( MP3) MP3. MP3 / (A/V sync) . . -http-header-fields HTTP HTTP. : mplayer -http-header-fields 'Field1: value1','Field2: value2' http://localhost:1234 HTTP : GET / HTTP/1.0 Host: localhost:1234 User-Agent: MPlayer Icy-MetaData: 1 Field1: value1 Field2: value2 Connection: close -idx ( -forceidx ) () . / . : ( stdin pipe ). -noidx . MEncoder . -ipv4-only-proxy ( ) IPv6. IPv4 . -lavfstreamopts libavformat. -loadidx -saveidx . AVI . MPlayer AVI . : MPlayer OpenDML . -mc - (A-V) ( ) mencoder -mc 0 -noskip . -mf PNG JPEG . : w= (: ) h= (: ) fps= (fps) (: 25) type= (: jpeg png tga sgi) -ni (non-interleaved). AVI ( AVI ). . . -nobps ( AVI) / -. AVI (header) . -noextbased (demuxer) . (demuxer) ( ) demuxer . demuxer . -passwd ( -user ) ( ) HTTP. -prefer-ipv4 ( ) IPv4 . IPv6 . -prefer-ipv6 ( IPv6) IPv6 . IPv4 . -psprobe MPEG-PS MPEG-PES MPlayer . EVO VDR H.264 . -pvr ( PVR) PVR . MPEG V4L2 . Hauppauge WinTV PVR-150/250/350/500 IVTV PVR . 2.6.18 MPEG V4L2 . MPEG MPlayer/MEncoder 'pvr://' (URL) . : aspect=<0-3> : 0: 1:1 1: 4:3 () 2: 16:9 3: 2.21:1 arate=<32000-48000> (: 48000 Hz : 32000 44100 48000 Hz). alayer=<1-5> MPEG (: 2). abitrate=<32-448> kbps (: 384). amode= . 'stereo' 'joint_stereo' 'dual' 'mono' (: stereo). vbitrate= Mbps (: 6). vmode= : vbr: () cbr: (Mbps) ( VBR : 9.6). fmt= MPEG : ps: MPEG-2 Program Stream () ts: MPEG-2 Transport Stream mpeg1: MPEG-1 System Stream vcd: Video CD svcd: Super Video CD dvd: DVD -radio ( ) (capture) . MPlayer 'radio://' ( channels ) 'radio://' ( channels ) (URL) . MPlayer '-v' . 'radio:///capture' . capture (line-in) . capture . : device= (: /dev/radio0 Linux /dev/tuner0 *BSD). driver= (: v4l2 v4l). v4l v4l2 . volume=<0..100> (: 100) freq_min= ( *BSD BT848) (: 87.50) freq_max= ( *BSD BT848) (: 108.00) channels=-,-,... . _ ( ;-). OSD (slave commands) radio_step_channel radio_set_channel (LIRC ). URL . : radio://1, radio://104.4, radio_set_channel 1 adevice= ( ) . capture URL . ALSA hw=. . '=' ALSA OSS . arate= ( ) (: 44100). : -rawaudio rate= arate . ( ) ( 48000,44100,32000,...). achannels= ( ) . -rawaudio (raw) . -demuxer rawaudio . CD 44kHz 16-bit stereo . AC-3 -rawaudio format=0x2000 -demuxer rawaudio . : channels= rate= samplesize= bitrate= rawaudio format= fourcc (hex) -rawvideo (raw) . -demuxer rawvideo . : fps= (: 25.0) sqcif|qcif|cif|4cif|pal|ntsc w= h= i420|yv12|yuy2|y8 format= (fourcc) (hex) . -rawvideo format=help . size= : mplayer foreman.qcif -demuxer rawvideo -rawvideo qcif "foreman". mplayer sample-720x576.yuv -demuxer rawvideo -rawvideo w=720:h=576 YUV. -referrer ( ) URL (referrer) HTTP. -rtsp-port 'rtsp://' (port) . RTSP () (forward) . -rtsp-destination 'rtsp://' IP (bind) . RTSP RTP (interface) . RTSP -v MPlayer IP . -rtsp-stream-over-tcp ( LIVE555 NEMESI) 'rtsp://' RTP RTCP TCP ( TCP RTSP) . UDP (http://www.live555.com/ mplayer ). -rtsp-stream-over-http ( LIVE555) 'http://' RTP RTCP HTTP . -saveidx () (dump) . AVI . : MPlayer OpenDML . -sb ( -ss ) . CD-ROM VOB . -speed <0.01-100> . -oac copy . 4x -af scaletempo . -srate ( ). resample lavcresample . -af-adv . . -ss