
mplayer -
mencoder -
mplayer
[] [|URL||-]
mplayer [] 1 [ ] [2] [ ]
mplayer [] { " " } [ ]
mplayer [dvd|dvdnav]://[|[_]-_][/] []
mplayer vcd://[/]
mplayer tv://[][/] []
mplayer radio://[ ][/capture] []
mplayer pvr:// []
mplayer dvb://[_@] []
mplayer mf://[_|@__] [-mf ] []
mplayer [cdda|cddb]://[-._][:][/] []
mplayer cue://[:] []
mplayer
[file|mms[t]|http|http_proxy|rt[s]p|ftp|udp|unsv|icyx|noicyx|smb]://
[:@]URL[:] []
mplayer sdp:// []
mplayer mpst://[:]/URL []
mplayer tivo:///[list|llist|fsid] []
gmplayer [] [-skin skin]
mencoder [] [|URL|-] [-o | file:// | smb://[:@host]/__]
mencoder [] 1 [ ] [2] [ ]
mplayer
Linux (
, ).
MPEG/VOB, AVI, ASF/WMA/WMV, RM, QT/MOV/MP4, Ogg/OGM, MKV, VIVO, FLI,
NuppelVideo, yuv4mpeg, FILM RoQ ,
.
VCD, SVCD, DVD, 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 b ATI)
MPEG, Siemens DVB, Hauppauge PVR (IVTV), DXR2 DXR3/Hollywood+.
,
.
MPlayer onscreen display (OSD) ,
. /ISO8859-1,2 (, , , ..),
12 (MicroDVD, SubRip, OGM, SubViewer, Sami, VPlayer, RT, SSA,
AQTitle, JACOsub, PJS : MPsub) DVD (SPU streams, VOBsub Closed
Captions).
mencoder (MPlayer Media Encoder, MPlayer) ,
, MPlayer' ( ) ,
MPlayer' ( ).
MPEG-4 (DivX/Xvid), libavcodec PCM/MP3/VBRMP3 1, 2 3 .
, , (, , , , , , , RGB/YUV )
.
gmplayer
MPlayer . , MPlayer.
, MPlayer,
HTML
MPlayer , , ,
MPlayer' , ,
( LIRC).
-input, .
<- ->
/ 10 .
up down
/ 1 .
pgup pgdown
/ 10 .
[ ] / 10%.
{ } / .
backspace
.
< > / .
ENTER
, .
HOME END
/
INS DEL ( ASX)
/ .
p / SPACE
( ).
.
.
,
( ).
q / ESC
.
U
Stop playing (and quit if -idle is not used).
( , -idle).
+ - +/- 0.1 .
/ * / .
9 0 / .
( ) , / .
m
.
_ ( MPEG-TS, AVI libavformat)
.
# ( DVD, MPEG, Matroska, AVI libavformat)
.
TAB ( MPEG-TS libavformat)
.
f
( -fs).
T
` ` ( -ontop).
w e / pan-and-scan.
o
OSD: / / + / + + .
d
: / / ( -framedrop -hardframedrop).
v
.
j
.
y g / .
F
" ".
a
: / / .
x z +/- 0.1 .
r t /.
i ( -edlout)
EDL .
s ( -vf screenshot)
.
I OSD.
! @ / .
D ( -vo xvmc, -vo vdpau, -vf yadif, -vf kerndeint)
/ .
A DVD.
( (xv, (x)vidix, (x)mga, ..), (-vf eq -vf eq2) hue
(-vf hue).
1 2 .
3 4 .
5 6 .
7 8 .
( quartz corevideo).
command + 0
.
command + 1
.
command + 2
.
command + f
( -fs).
command + [ command + ]
.
( .)
PAUSE
STOP
.
PREVIOUS NEXT
/ 1 .
( MPlayer GUI
.)
ENTER
.
ESC
.
l
.
t
.
c
.
p
.
r
.
( , MPlayer TV
.)
h k / .
n
.
u
.
( ,
: TV .)
X
/ .
Q W / .
button 3 button 4
/ 1 .
button 5 button 6
/ .
/ 10 .
up down
/ 1 .
button 1
button 2
OSD: / / +
/ + + .
button 3 button 4
/ .
'flag' 'noflag',
-fs -nofs.
( XXX), XXX,
XXX.
:
(, , -ao pcm )
GUI.
:
%n%__n
:
mplayer -ao pcm:file=%10%C:test.wav
test.avi
:
mplayer -ao pcm:file=%`expr length
"$NAME"`%"$NAME" test.avi
, MPlayer/MEncoder
.
'mplayer.conf' ( /etc/mplayer
/usr/local/etc/mplayer), -
'~/.mplayer/config'.
MEncoder 'mencoder.conf' ( /etc/
mplayer /usr/local/etc/mplayer), -
'~/.mplayer/mencoder.conf'.
,
.
: 'option=<>', '#' , ,
'yes','1' 'true'
'no','0' 'false'.
.
.
'movie.avi',
'movie.avi.conf'
~/.mplayer/.
, -use-filedir-conf (
, .
MPLAYER:
# Use Matrox driver by default.
vo=xmga
# I love practicing handstands while watching videos.
flip=yes
# Decode/encode multiple files from PNG,
# start with mf://filemask
mf=type=png:fps=25
# Eerie negative images are cool.
vf=eq2=1.0:-0.8
MENCODER:
# Make MEncoder output to a default filename.
o=encoded.avi
# The next 4 lines allow mencoder tv:// to start capturing immediately.
oac=pcm=yes
ovc=lavc=yes
lavcopts=vcodec=mjpeg
tv=driver=v4l2:input=1:width=768:height=576:device=/dev/video0:audiorate=48000
# more complex default encoding option set
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
.
, , '[my-profile]'.
.
( -profile help)
profile-desc.
'default',
.
MPLAYER:
[protocol.dvd]
profile-desc=" dvd:// "
vf=pp=hb/vb/dr/al/fd
alang=en
[protocol.dvdnav]
profile-desc=" dvdnav:// "
profile=protocol.dvd
mouse-movements=yes
nocache=yes
[extension.flv]
profile-desc=" .flv "
flip=yes
[vo.pnm]
outdir=/tmp
[ao.alsa]
device=spdif
MENCODER:
[mpeg4]
profile-desc=" MPEG4"
ovc=lacv=yes
lavcopts=vcodec=mpeg4:vbitrate=1200
[mpeg4-hq]
profile-desc=" HQ MPEG4"
profile=mpeg4
lavcopts=mbd=2:trell=yes:v4mv=yes
-codecs-file < > ( -afm, -ac, -vfm,
-vc)
codecs.conf.
-include < >
, ,
.
-list-options
.
-msgcharset <>
( : ).
, --charset configure.
"noconv" ( iconv).
:
.
MPLAYER_CHARSET .
-msgcolor
,
ANSI.
-msglevel <all=<>:<>=<>:...>
. , 'all', ,
.
'-msglevel help' .
:
, , , , -msglevel .
MPLAYER_VERBOSE, .
:
-1
0
1
2
3
4
5 ( )
6
7 2
8 3
9 4
-msgmodule
.
-noconfig <>
.
:
-include
-use-filedir-conf, .
:
all
gui ( GUI)
GUI
system
user
-quiet
; ,
,
(.. \r).
-priority <prio> ( Windows OS/2)
MPlayer
, Windows OS/2.
<prio>:
idle|belownormal|normal|abovenormal|high|realtime
:
realtime .
-profile <1,2,...>
(), -profile help
-really-quiet ( -quiet)
, -quiet.
GUI .
-show-profile <>
.
-use-filedir-conf
.
:
, .
-v
-v .
( MPLAYER)
-autoq <> ( -vf [s]pp)
CPU. , , .
.
-vf [s]pp , .
-autosync <factor>
A/V .
-autosync 0 ( ) ,
.
-autosync 1 , A/V .
, -nosound, 1.
, -nosound .
-autosync 30, ,
.
, A/V ,
1 2 .
A/V
.
-benchmark
CPU
. -nosound -vo null
.
:
MPlayer
( , fps).
-colorkey <>
colorkey RGB . 0x000000
, 0xffffff - .
cvidix, fbdev, svga, vesa,
winvidix, xmga, xvidix,
xover, xv ( -vo xv:ck), xvmc
( -vo xv:ck) directx .
-nocolorkey
colorkey.
cvidix, fbdev, svga, vesa,
winvidix, xmga, xvidix,
xover, xv ( -vo xv:ck), xvmc
( -vo xv:ck) directx .
-correct-pts ()
MPlayer ,
, ,
.
, , -ass , ,
-correct-pts , , .
.
-crash-debug ( )
gdb SIGTRAP.
--enable-crash-debug.
-doubleclick-time
( : 300).
0, ,
( -vo directx).
:
, MOUSE_BTN0_DBL
MOUSE_BTN0-MOUSE_BTN0_DBL.
-edlout <>
(EDL).
, 'i',
.
EDL.
http://www.mplayerhq.hu/DOCS/
HTML/ru/edl.html.
-enqueue ( GUI)
, ,
.
-fixed-vo
( () ).
.
fixed-vo: gl, gl2, mga,
svga, x11, xmga, xv, xvidix
dfbmga.
-framedrop ( -hardframedrop,
-nocorrect-pts)
A/V
. . -
.
-(no)gui
GUI ( ). .
.
-h, -help, --help
.
-hardframedrop ( -nocorrect-pts)
( ).
!
, , , libmpeg2
, "-vc ffmpeg12,".
-heartbeat-cmd
, 30
system(), ..
.
: MPlayer - ,
( , ,
, "." , , Windows).
(.. -vo null,
-novideo).
"" , X API (
-stop-xscreensaver).
,
X API.
xscreensaver: mplayer
-heartbeat-cmd
"xscreensaver-command
-deactivate" file
GNOME screensaver: mplayer
-heartbeat-cmd
"gnome-screensaver-command
-p" file
-identify
-msglevel identify=4
.
,
. , -msglevel
identify=6.
DVD, , ,
ID .
-frames 0 .
TOOLS/midentify.sh
MPlayer ()
.
-idle ( -slave)
, MPlayer
. , MPlayer
.
-input <>
.
~/.mplayer/.
:
.
:
conf=<_>
, ~/.mplayer/
input.conf. ~/
.mplayer/<_> , .
ar-dev=<>
Apple ( ,
Linux).
ar-delay
(0 ).
ar-rate
, .
(no)default-bindings
, MPlayer .
keylist
, .
cmdlist
, .
js-dev
( : /dev/
input/js0).
file=<_>
. FIFO.
:
FIFO, MPlayer ,
'echo "seek 10" >
mp_pipe', .
-key-fifo-size <2-65000>
FIFO, ( : 7). FIFO n
(n-1) .
, ( " " ).
, MPlayer
2 Linux 1024 Windows.
-lircconf <_> ( LIRC)
LIRC ( : ~/.lircrc).
-list-properties
.
-loop <>
. 0 - .
-menu ( OSD )
OSD .
-menu-cfg <_> ( OSD )
menu.conf.
-menu-chroot <> ( OSD )
.
:
-menu-chroot /home
/home (..
/ , /home/user ).
-menu-keepdir ( OSD )
.
-menu-root <> ( OSD )
.
-menu-startup ( OSD )
MPlayer.
-mouse-movements
MPlayer ,
.
DVD .
VO, X11 (x11, xv, xvmc,
etc.)
gl, gl2, direct3d
corevideo.
-noar Apple (AppleIR).
-noconsolecontrols
MPlayer.
.
, -.
, ,
/dev/stdin ( ), stdin
stdin loadfile
loadlist.
-nojoystick
.
-nolirc
LIRC.
-nomouseinput
/ ( mozplayerxp ).
-rtc ( RTC)
Linux RTC ( - /dev/rtc)
1/1024 .
Linux, ,
.
-playing-msg <>
.
:
${NAME}
NAME.
?(NAME:TEXT)
TEXT NAME.
?(!NAME:TEXT)
TEXT NAME.
-playlist <_>
(ASX, Winamp, SMIL,
---- ).
:
,
.
FIXME: .
-rtc-device <>
RTC .
-shuffle
.
-skin <> ( GUI)
, ,
, /usr/local/share/
mplayer/skins/ ~/.mplayer/
skins/.
:
-skin fittyfene
/usr/local/share/
mplayer/skins/
fittyfene
~/.mplayer/skins/
fittyfene.
-slave ( -input)
, MPlayer .
, MPlayer ,
(\n).
:
-input cmdlist
DOCS/tech/slave.txt.
,
; , , -input
nodefault-binds:conf=/dev/null.
-softsleep
, ,
MPlayer . ,
RTC.
CPU.
-sstep <>
<> .
, .
MPlayer ,
.
/
-a52drc <>
Dynamic Range Compression[
]
AC-3. <> - 0 1, 0
, 1 ( ) (
).
, AC-3
.
-aid <ID> ( -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 ID,
(-v).
MPEG-TS , MPlayer/MEncoder
( ) .
-ausid <ID> ( -alang)
.
0x55..0x75 MPEG-TS (
libavformat).
, ,
( ) ,
. MPlayer ID
-identify.
-alang < [, ,...]> ( -aid)
.
. 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 <[+]> ( -audiofile)
-audiofile.
'+' , !
, -audio-demuxer help.
ID , libmpdemux/
demuxer.h. -audio-demuxer
audio -audio-demuxer 17
MP3.
-audiofile < >
(WAV, MP3 Ogg Vorbis)
.
-audiofile-cache <>
, -audiofile,
-reuse-socket ( udp://)
, .
-bandwidth <> ( )
( , ). ,
.
Real RTSP ,
,
.
-cache <>
( )
URL.
.
-nocache
.
-cache-min <>
, <>
.
-cache-seek-min <>
<> , MPlayer
( : 50).
-cdda <1:2> ( CDDA)
CD Audio.
:
speed=<>
CD.
paranoia=<0-2>
paranoia. , ,
, .
0: ( )
1:
2:
generic-dev=<>
SCSI .
sector-size=<>
.
overlap=<>
<>
toc-bias
, 1, TOC,
LBA 0.
Toshiba,
.
toc-offset=<>
<> , .
.
(no)skip
( ) .
-cdrom-device < >
CD-ROM ( : /dev/cdrom).
-channels <> ( -af channels)
( : 2). MPlayer .
.
AC-3 ( DVD).
liba52
.
,
channels.
:
( AC-3), (surround)
( OSS).
:
2 stereo
4 surround
6 full 5.1
-chapter <ID >[-<ID . >] ( dvd://
dvdnav://)
.
( : 1).
-cookies ( )
cookie HTTP .
-cookies-file <> ( )
HTTP cookie <> ( :
~/.mozilla/ ~/.netscape/)
.
Netscape.
-delay <>
( )
, - . , -audio-delay
MEncoder.
:
MEncoder -ovc copy;
-audio-delay.
-ignore-start
AVI .
MPlayer ,
-audio-delay.
MEncoder ;
-audio-delay .
, Mencoder
,
.
-demuxer <[+]>
.
'+' , !
-demuxer help.
ID , libmpdemux/
demuxer.h.
-dumpaudio ( MPlayer)
./stream.dump ( MPEG/
AC-3,
).
-dumpaudio,
-dumpvideo, -dumpstream, .
-dumpfile <> ( MPlayer)
.
-dumpaudio / -dumpvideo /
-dumpstream.
-dumpstream ( MPlayer)
./stream.dump.
DVD .
-dumpaudio,
-dumpvideo, -dumpstream, .
-dumpvideo ( MPlayer)
./stream.dump ( ).
-dumpaudio,
-dumpvideo, -dumpstream, .
-dvbin <options> ( DVB)
DVB, :
card=<1-4>
1-4 (default: 1).
file=<>
MPlayer <>.
: ~/.mplayer/
channels.conf.{sat,ter,cbl,atsc}
( )
~/.mplayer/
channels.conf.
timeout=<1-30>
( : 30).
-dvd-device < > ( DVD)
DVD .iso ( : /dev/dvd).
, ,
DVD (, vobcopy).
-dvd-speed < /> ( DVD)
DVD ( : 0, ).
DVD 1350/, 8x
10800/.
,
DVD 2700/ . MPlayer
.
, 100 1350/,
-dvd-speed 8 10800/.
:
DVD .
-dvdangle <ID > ( DVD)
DVD , .
MPlayer ( : 1).
-edl <>
(EDL) .
/
.
http://www.mplayerhq.hu/
DOCS/HTML/ru/edl.html
.
-endpos
<[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (
-ss -sb)
.
:
MEncoder ,
.
-ss, -endpos
-ss .
:
-endpos 56
56 .
-endpos 01:10:00
1 10 .
-ss 10 -endpos 56
1 6 .
-endpos 100mb
100 .
-forceidx
.
(A/V , ..).
, .
MEncoder ( ).
:
, (.. stdin, pipe, ..).
-fps < >
. , .
-frames <>
/ <> , .
-hr-mp3-seek ( MP3)
MP3.
MP3 ,
A/V ..
, ,
.
-idx ( -forceidx)
, , .
/ .
:
(.. stdin, pipe, ..).
-noidx . MEncoder .
-ipv4-only-proxy ( )
IPv6 .
- IPv4 .
-loadidx < >
, -saveidx.
,
, AVI. MPlayer ,
AVI ,
.
:
, MPlayer OpenDML.
-mc </>
A-V ( )
-mf <1:2:...>
PNG JPEG .
:
w=<> ( : )
h=<> ( : )
fps=<>
fps ( : 25)
type=<>
(: jpeg, png, tga,
sgi)
-ni ( AVI)
AVI ( AVI ).
-nobps ( AVI)
/ A-V . AVI .
-noextbased
.
, () ( , ),
.
.
-passwd <> ( see -user) ( )
HTTP .
-prefer-ipv4 ( )
IPv4 .
IPv6.
-prefer-ipv6 ( IPv6 )
IPv6 .
IPv4.
-psprobe < >
MPEG-PS MPEG-PES ,
, MPlayer
.
EVO VDR , H.264 .
-pvr <1:2:...> ( PVR)
PVR.
MPEG , V4L2.
Hauppauge WinTV
PVR-150/250/350/500 ,
IVTV,
PVR . , Linux 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 , :
32000, 44100
48000 ).
alayer=<1-3>
MPEG[MPEG layer](
: 2).
abitrate=<32-448>
/ ( : 384).
amode=<>
.
: 'stereo',
'joint_stereo',
'dual'
'mono' ( : stereo).
vbitrate=<>
/ ( : 6).
vmode=<>
:
vbr: ( )
cbr:
vpeak=<>
/ ( VBR ,
: 6.6).
fmt=<>
MPEG :
ps: MPEG-2 (
)
ts: MPEG-2
mpeg1: MPEG-1
vcd: Video CD
svcd: Super Video
CD
dvd: DVD
-radio <1:2:...> ( )
.
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,
radio_step_channel
radio_set_channel (
LIRC).
, URL .
: radio://1,
radio://104.4,
radio_set_channel 1
adevice=<> ( )
, .
, URL
capture.
ALSA hw=<>.<>.
'=',
ALSA, OSS.
arate=<> ( )
( : 44100).
:
, -rawaudio
rate=<> , arate.
( ),
arate (,
48000,44100,32000,...).
achannels=<> ( )
.
-rawaudio <1:2:...>
.
-demuxer rawaudio.
CD, 44 16- .
AC-3 -rawaudio
format=0x2000 -demuxer
rawaudio.
:
channels=<>
rate=<>
samplesize=<>
bitrate=<>
rawaudio
format=<>
(fourcc)
-rawvideo
format=help
-rawvideo <1:2:...>
.
-demuxer rawaudio.
:
fps=<>
( : 25.0)
sqcif|qcif|cif|4cif|pal|ntsc
w=<>
h=<>
i420|yv12|yuy2|y8
format=<>
(fourcc)
size=<>
:
mplayer foreman.qcif
-demuxer rawvideo
-rawvideo qcif
"foreman".
mplayer sample-720x576.yuv
-demuxer rawvideo
-rawvideo w=720:h=576
YUV .
-rtsp-port
'rtsp://' URL .
,
RTSP .
-rtsp-destination
rtsp://' URL IP .
RTSP , RTP .
RTSP , -v, ,
IP MPlayer,
.
-rtsp-stream-over-tcp ( LIVE555
NEMESI)
'rtsp://' URL , RTP
RTCP
TCP ( TCP , RTSP).
, ,
UDP (
http://www.live555.com/
mplayer/).
-saveidx <>
<>.
AVI .
:
, MPlayer OpenDML.
-sb < > ( -ss)
.
CD-ROM VOB .
-speed <0.01-100>
.
-oac copy.
-srate <>
(, ).
,
resample lavcresample.
-af-adv.
, ,
.
-ss <time> (also see -sb)
.
:
-ss 56
56 .
-ss 01:10:00
1 10 .
-tskeepbroken
MPlayer TS , .
MPEG-TS .
-tsprobe < >
MPEG-TS , ,
MPlayer ID.
-tsprog <1-65534>
MPEG-TS ,
( ) .
-vid -aid.
-tv <1:2:...> ( TV/PVR)
TV .
TV MPlayer, 'tv://'
'tv://<_>'
'tv://<_> ( channels
_) URL.
'tv:///<_>',
S-Video ( input).
:
noaudio
automute=<0-255> ( v4l
v4l2)
, , ,
.
automute=100 .
0 ( ).
driver=<>
TV -tv
driver=help. :
dummy, v4l, v4l2,
bsdbt848 ()
device=<>
TV ( : /dev/
video0). :
bsdbt848 bktr,
tuner ,
, tuner bktr (, -tv
device=/dev/bktr1,/dev/tuner1).
input=<>
( : 0 (TV), ).
freq=<>
, ( 511.250).
channels.
outfmt=<>
,
V4L (yv12, rgb32,
rgb24, rgb16, rgb15,
uyvy, yuy2, i420)
, .
outfmt=help, .
width=<>
height=<>
fps=<>
( )
buffersize=<>
( : )
norm=<>
bsdbt848 v4l PAL,
SECAM, NTSC.
v4l2 .
normid .
normid=<> ( v4l2)
TV ID. TV .
TV .
channel=<>
<> .
chanlist=<>
: europe-east,
europe-west,
us-bcast, us-cable,
channels=<>-<>[=<>],<>-<>[=<>],...
. :
<> , 1000, ,
.
_ ( ;-).
OSD,
tv_step_channel,
tv_set_channel
tv_last_channel,
( LIRC).
frequency.
:
'channels',
1.
: tv://1, tv://TV1,
tv_set_channel 1,
tv_set_channel TV1
[brightness|contrast|hue|saturation]=<-100-100>
.
audiorate=<>
.
forceaudio
v4l , .
alsa
ALSA.
amode=<0-3>
:
0:
1:
2: 1
3: 2
forcechan=<1-2>
, ,
TV .
/
amode , v4l.
, TV
.
adevice=<>
. <> /dev/xxx
OSS ID ALSA.
':' '.' ID
ALSA.
audioid=<>
, .
[volume|bass|treble|balance]=<0-65535>
(v4l1)
[volume|bass|treble|balance]=<0-100>
(v4l2)
.
, .
v4l2, 50 ,
gain=<0-100> (v4l2)
( )
.
0 .
,
immediatemode=<>
0 ( MEncoder).
1 ( MPlayer)
TV .
mjpeg
MJPEG ( ).
,
, MPlayer
decimation ( ).
decimation=<1|2|4>
, MJPEG :
1: full size
704x576 PAL
704x480
NTSC
2: medium size
352x288 PAL
352x240
NTSC
4: small size
176x144 PAL
176x120
NTSC
quality=<0-100>
JPEG ( < 60).
tdevice=<>
TV (: /dev/vbi0) (
: ).
tformat=<>
TV ( : 0):
0:
1:
2:
3:
tpage=<100-899>
TV ( : 100).
tlang=<-1-127>
( : 0),
,
28. , , ,
- 28.
, -1.
hidden_video_renderer (
dshow)
video renderer
Null renderer ( : ).
, , - . :
-vo directx
-vf crop.
hidden_vp_renderer (
dshow)
VideoPort video
renderer
( : ).
VideoPort .
:
-vo directx
-vf crop.
system_clock ( dshow)
( ).
normalize_audio_chunks (
dshow)
, ( : ).
0.5,
immediatemode=0.
-tvscan <option1:option2:...> ( TV
MPlayer)
TV . MPlayer "-tv
channels=",
.
:
autostart
( : ).
period=<0.1-2.0>
( : 0.5).
,
.
threshold=<1-100>
( ) ,
( : 50).
,
.
-user < > ( -passwd) ( )
HTTP .
-user-agent <>
<> user agent HTTP.
-vid <ID>
(MPG: 0-15, ASF: 0-255,
MPEG-TS: 17-8190).
MPEG-TS, MPlayer/MEncoder
( ) .
-vivo <> ( )
VIVO ( ). FIXME: .
OSD/
:
-vf expand.
-ass ( FreeType)
SSA/ASS.
SSA/ASS Matroska
libass. -embeddedfonts.
:
OSD, libass fontconfig
-ass-border-color <>
() .
: RRGGBBAA.
-ass-bottom-margin <>
.
SSA/ASS (
-ass-use-margins).
-ass-color <>
.
: RRGGBBAA.
-ass-font-scale <>
, SSA/ASS.
-ass-force-style <[.]=[,...]>
.
:
-ass-force-style
FontName=Arial,Default.Bold=1
-ass-force-style
PlayResY=768
-ass-hinting <>
. <> :
0
1 FreeType,
2 FreeType,
3
0-3 + 4
, , OSD
, , .
7 ( OSD , ).
-ass-line-spacing <>
SSA/ASS.
-ass-styles <>
SSA/ASS ,
. [V4 Styles] / [V4+
Styles] SSA/ASS.
-ass-top-margin <>
. SSA/ASS (
-ass-use-margins).
-ass-use-margins
, .
-dumpjacosub ( MPlayer)
( -sub) JACOsub .
dumpsub.js .
-dumpmicrodvdsub ( MPlayer)
( -sub) MicroDVD .
dumpsub.sub .
-dumpmpsub ( MPlayer)
( -sub) MPsub, MPlayer.
dump.mpsub .
-dumpsami ( MPlayer)
( -sub) SAMI.
dumpsub.sm .
-dumpsrtsub ( MPlayer)
( -sub) SubViewer (SRT).
dumpsub.srt .
:
SRT
Unix. ,
unix2dos
DOS/Windows.
-dumpsub ( MPlayer) ( )
VOB .
-dump*sub -vobsubout*.
-embeddedfonts ( FreeType)
Matroska ( : ).
SSA/ASS ( -ass).
~/.mplayer/fonts.
:
FontConfig 2.4.2 , ,
.
-ffactor <>
.
:
0
0.75 ( )
1
10
-flip-hebrew ( FriBiDi)
, FriBiDi.
-noflip-hebrew-commas
FriBiDi .
, ,
.
-font < font.desc, (FreeType),
(Fontconfig))>
OSD/SUB ( : ~/.mplayer/
font/font.desc, FreeType :
~/.mplayer/subfont.ttf).
:
FreeType, .
Fontconfig, fontconfig.
:
-font ~/.mplayer/arial-14/
font.desc
-font ~/.mplayer/
arialuni.ttf
-font 'Bitstream Vera
Sans'
-font 'Bitstream Vera
Sans:style=Bold'
-fontconfig ( fontconfig)
, fontconfig.
:
fontconfig
libass OSD. -fontconfig
libass, OSD;
-nofontconfig
.
-forcedsubsonly
DVD, ,
-slang.
-fribidi-charset < > ( FriBiDi)
, FriBiDi -UTF-8 ( :
ISO8859-8).
-ifo <VOBsub IFO >
, VOBsub .
-noautosub
.
-osd-duration <>
OSD ( : 1000).
-osdlevel <0-3> ( MPlayer)
OSD.
0
1 + ( )
2 + + +
3 + + + +
-overlapsub
, ( ).
-sid <ID> ( -slang, -vobsubid)
, <ID> (0-31). MPlayer
ID , (-v) .
DVD, -vobsubid.
-slang < [, ,...]> ( -sid)
.
. DVD ISO 639-1 ,
Matroska ISO 639-2 , OGM
. MPlayer (-v) .
:
mplayer dvd://1 -slang
hu,en
DVD,
.
mplayer -slang jpn
example.mkv
Matroska .
-spuaa <>
/ DVD/VOBsub.
16 <> ,
.
, , .
:
0 ( , )
1 (?)
2 ()
3 ( , )
4 ( )
-spualign <-1-2>
SPU (DVD/VOBsub) .
-1
0 ( , ).
1 .
2 .
-spugauss <0.0-3.0>
, -spuaa 4.
( : 1.0).
-sub <_1,_2,...>
/ .
.
-sub-bg-alpha <0-255>
OSD.
. 0 .
-sub-bg-color <0-255>
OSD.
,
. 255 0 - .
-sub-demuxer <[+]> ( -subfile) ( )
-subfile.
'+' ,
!
, -sub-demuxer help.
ID , subreader.h.
-sub-fuzziness <>
:
0
1 , .
2 , .
-sub-no-text-pp
,
-subalign <0-2>
,
-subpos.
0 ( ).
1 .
2 ( ).
-subcc
DVD Closed Caption (CC) .
VOB , ASCII ,
VOB DVD 1 .
DVD CC .
-subcp <> ( iconv)
iconv(3),
.
:
-subcp latin2
-subcp cp1250
-subcp enca:<>:< > ( ENCA)
, ,
ENCA .
, - -v,
. < > , ,
.
:
-subcp enca:cs:latin2
, , , latin 2,
.
-subcp enca:pl:cp1250
, cp1250, .
-subdelay <>
<> .
.
-subfile <> ( )
.
, -audiofile,
(OggDS?).
-subfont < (FreeType), (Fontconfig)>
( FreeType)
(. -font).
-subfont , -font.
-subfont-autoscale <0-3> ( FreeType)
.
: 0 , OSD - .
:
0
1
2
3 ( )
-subfont-blur <0-8> ( FreeType)
( : 2).
-subfont-encoding <> ( FreeType)
.
'unicode',
( : unicode).
-subfont-osd-scale <0-100> (
FreeType)
OSD ( : 6).
-subfont-outline <0-8> ( FreeType)
( : 2).
-subfont-text-scale <0-100> (
FreeType)
( : 5).
-subfps <>
( : fps ).
: <> > fps , , , .
-subpos <0-100> ( -vf expand)
.
% .
-subwidth <10-100>
.
TV-.
% .
-noterm-osd
OSD , .
-term-osd-esc <escape >
escape OSD. Escape
, OSD ( : ^[[A\r^[[K).
-unicode
MPlayer unicode.
-unrarexec < unrar> ( MingW)
unrar, MPlayer
VOBsub , rar ( : ,
).
, ,
/usr/local/bin/unrar.
-utf8
MPlayer UTF-8.
-vobsub <VOBsub >
VOBsub , .
, .. '.idx', '.ifo'
'.sub'.
-vobsubid <0-31>
ID VOBsub.
( MPLAYER)
-abs <> ( -ao oss) ()
/.
-format <> ( format)
,
. , <>
format.
-mixer <>
, /dev/mixer. ALSA .
-mixer-channel <mixer line>[,mixer
index] ( -ao oss -ao)
MPlayer , PCM. OSS vol,
pcm, line.
SOUND_DEVICE_NAMES /usr/
include/linux/soundcard.h.
ALSA , , alsamixer,
Master, Line, PCM.
:
ALSA, <,>, , 'PCM 1',
alsamixer
PCM,1.
-softvol
, .
-softvol-max <10.0-10000.0>
( : 110).
200
. 100 ( 100%) , OSD
-volstep <0-100>
( : 3).
-volume <-1-100> ( -af volume)
,
( -softvol).
-1 () .
( MPLAYER)
. :
-ao <1[:1[=]:...],2,...[,]>
.
',' MPlayer , .
, .
:
-ao help, .
:
-ao alsa,oss,
ALSA , OSS, .
-ao
alsa:noblock:device=hw=0.3
,
.
:
alsa
ALSA 0.9/1.x
noblock
.
device=<>
.
',' '.' ':' '='
ALSA.
hwac3 S/PDIF,
"iec958" "spdif" ,
.
alsa5
ALSA 0.5
oss
OSS
<dsp->
( : /dev/dsp).
<mixer->
( : /dev/mixer).
<mixer->
( : pcm).
sdl ( SDL)
-
SDL (Simple Directmedia
Layer)
<> SDL ( : SDL).
arts
aRts
esd
ESD
<> ESD ( :
localhost).
jack
JACK (Jack Audio
Connection Kit)
port=<>
( : physical
ports).
name=<
, JACK ( : MPlayer
[<PID>]). , .
(no)estimate
, ( : ).
(no)autostart
jackd .
, , , stdout
.
nas
NAS
coreaudio ( Mac OS X)
Mac OS X
openal OpenAL
pulse
PulseAudio.
[<host>][:<output sink>]
() .
<host> ,
"localhost"
(, , )
sgi ( SGI)
SGI
< > / ( : ). ,
'Analog Out'
'Digital Out'.
sun ( Sun)
Sun
<device>
( : /dev/audio).
win32 ( Windows)
waveout Windows
dsound ( Windows)
DirectX DirectSound
device=<
.
-v .
dart ( OS/2)
OS/2 DART
(no)share
DART .
bufsize=<>
<> ( : 2048).
dxr2 ( -dxr2) ( DXR2)
Creative DXR2
ivtv ( IVTV)
IVTV MPEG .
-ac hwmpa.
v4l2 ( Linux 2.6.22+)
V4L2 MPEG .
mpegpes ( DVB)
DVB , MPEG-PES ,
DVB .
card=<1-4>
DVB , .
file=<>
null
, .
-nosound .
pcm
PCM/wave
(no)waveheader
wave ( : ).
, PCM.
file=<>
<> audiodump.wav.
nowaveheader,
audiodump.pcm.
fast
. , ( "Too
many video packets in
buffer").
, "Your system is
too SLOW to play
this!".
plugin
plugin
( MPLAYER)
-adapter <>
, .
, -v.
directx .
-bpp <>
.
fbdev, dga, svga, vesa .
-border
.
, -noborder
.
directx.
-brightness <-100-100>
( : 0).
.
-contrast <-100-100>
( : 0).
.
-display <> ( X11)
X ,
:
-display
xtest.localdomain:0
-dr
direct rendering ( ).
:
OSD/SUB!
-dxr2 <1:2:...>
dxr2.
ar-mode=<>
(0 = normal, 1 =
pan-and-scan, 2 =
letterbox ( ))
iec958-encoded
iec958 encoded.
iec958-decoded
iec958 decoded (
).
macrovision=<>
macrovision (0 = (
), 1 = agc, 2 = agc 2
colorstripe, 3 = agc
4 colorstripe)
mute
unmute
ucode=<>
TV
75ire
7.5 IRE
no75ire
7.5 IRE ( )
bw
/ TV
color
TV ( )
interlaced
TV ( )
nointerlaced
TV
norm=<>
TV (nsc ( ), pal,
pal60, palm, paln,
palnc)
square-pixel
square
ccir601-pixel
ccir601
cr-left=<0-500>
( : 50).
cr-right=<0-500>
( : 300).
cr-top=<0-500>
( : 0).
cr-bottom=<0-500>
( : 0).
ck-[r|g|b]=<0-255>
(r), (g), (b) .
ck-[r|g|b]min=<0-255>
ck-[r|g|b]max=<0-255>
ignore-cache
.
update-cache
.
ol-osd
OSD.
nool-osd
OSD ( ).
ol[h|w|x|y]-cor=<-20-20>
((h),(w)) (x,y)
, ( : 0).
overlay
( ).
nooverlay
TV .
overlay-ratio=<1-2500>
( : 1000).
-fbmode <> ( -vo fbdev)
<> /etc/fb.modes.
: VESA .
-fbmodeconfig <> ( -vo fbdev)
( : /etc/fb.modes).
-fs ( -zoom)
( ).
.
-fsmode-dontuse <0-31> (, -fs)
, - .
-fstype <1,2,...> ( X11)
.
, '-'.
,
.
:
-fstype help.
:
above
_NETWM_STATE_ABOVE,
.
below
_NETWM_STATE_BELOW,
.
fullscreen
_NETWM_STATE_FULLSCREEN,
.
layer
_WIN_LAYER .
layer=<0...15>
_WIN_LAYER .
netwm
NETWM.
none
.
stays_on_top
_NETWM_STATE_STAYS_ON_TOP,
.
:
layer,stays_on_top,above,fullscreen
, ,
.
-fullscreen
OpenBox 1.x.
-geometry x[%][:y[%]] [WxH][+x+y]
. x y ,
. ,
-wid , x y
, .
:
x11, xmga, xv, xvmc,
xvidix, gl, gl2, directx,
fbdev tdfxfb.
:
50:40
x=50, y=40.
50%:50%
.
100%
.
100%:100%
.
-guiwid <ID > ( -wid) ( GUI)
GUI X11
, -GUI ( MPlayer).
-hue <-100-100>
( : 0).
.
.
-monitor-dotclock <[,,...]> ( -vo
fbdev vesa)
dotclock pixelclock .
-monitor-hfreq <[,,...]> ( -vo fbdev
vesa)
.
-monitor-vfreq <[,,...]> ( -vo fbdev
vesa)
.
-monitoraspect <> ( -aspect)
TV .
0 monitoraspect (, ).
-monitorpixelaspect, .
:
-monitoraspect 4:3 or
1.3333
-monitoraspect 16:9 or
1.7777
-monitorpixelaspect <> ( -aspect)
TV
( : 1).
1 ( (?) LCD).
-nodouble
, , , .
,
, , .
OSD,
OSD.
-nograbpointer
(-vm).
.
-nokeepaspect
.
x11, xv, xmga, xvidix,
directx.
, X11
.
-ontop
.
, X11,
SDL, directx, corevideo,
quartz, ggi gl2.
-panscan <0.0-1.0>
pan-and-scan (
, , 16:9, 4:3
). .
xv, xmga, mga, gl, gl2,
quartz, corevideo xvidix .
NOTE:
-1 0 ,
.
!
-panscanrange <-19.0-99.0> ()
pan-and-scan ( : 1).
.
,
-panscanrange+1 .
-panscanrange -3 4 .
.
, -vo gl.
-refreshrate <>
.
-vo directx -vm.
-rootwin
( ). , .
x11, xv, xmga, xvidix,
quartz, corevideo directx .
-saturation <-100-100>
( : 0).
.
.
-screenh <>
,
, fbdev, x11 TVout.
-screenw <>
,
, fbdev, x11 TVout.
-stop-xscreensaver ( X11)
xscreensaver .
XSS, XResetScreenSaver
API, , -heartbeat-cmd
-vm
.
dga, x11, xv, sdl directx .
directx ,
-screenw, -screenh, -bpp
-refreshrate.
-vsync
VBI vesa, dfbmga svga .
-wid <ID > ( -guiwid) ( X11, OpenGL
DirectX)
MPlayer .
MPlayer (, plugger).
-xineramascreen <-2-...>
Xinerama (, ,
) MPlayer
-2 (
Xinerama ), -1 .
-geometry
"-fstype -fullscreen"
"-fstype none".
(
), -geometry - ,
.
gl, gl2, x11 xv.
-zrbw ( -vo zr)
- .
'-lavdopts gray'.
-zrcrop <[]x[]+[x ]+[y ]> ( -vo zr)
,
cinerama.
cinerama TV ( )
. , n- -zrcrop n-
MJPEG ,
, , -zrdev -zrcrop.
-zrhelp Zr .
-zrdev <> ( -vo zr)
, MJPEG ,
zr v4l .
-zrfd ( -vo zr)
: , -zrhdec
-zrvdec, ,
.
, .
-zrhdec <1|2|4> ( -vo zr)
:
2- 4- / MJPEG
MJPEG
.
-zrhelp ( -vo zr)
-zr* ,
cinerama.
-zrnorm <> ( -vo zr)
TV PAL NTSC ( : ).
-zrquality <1-20> ( -vo)
1 () 20 ()
JPEG.
-zrvdec <1|2|4> ( -vo zr)
:
2- 4- / MJPEG
MJPEG
.
-zrxdoff <x > ( -vo zr)
, TV ,
x TV ( : ).
-zrydoff <y > ( -vo zr)
, TV ,
y TV ( : ).
( MPLAYER)
- . :
-vo <1[:1[=]:...],2,...[,]>
.
',', MPlayer
, .
.
:
-vo help.
:
-vo xmga,xv,
X11 Matrox , Xv ,
.
-vo directx:noaccel
DirectX .
:
xv ( X11)
XVideo XFree86 4.x
.
, , , .
,
MPlayer -v , [xv
common] .
adaptor=<>
XVideo ( xvinfo).
port=<>
XVideo .
ck=<cur|use|set>
, ( : cur).
cur Xv.
use ,
MPlayer (
-colorkey
).
set , , .
ck-method=<man|bg|auto>
( : man).
man ( ).
bg .
auto Xv .
x11 ( X11)
,
, X11.
xover ( X11)
X11 , .
tdfx_vid.
<vo_driver>
,
X11.
vdpau ( -vc ffmpeg12vdpau,
ffwmv3vdpau, ffvc1vdpau ffh264vdpau)
, VDPAU .
.
sharpen=<-1-1>
, - ( : 0).
denoise=<0-1>
( : 0,
).
deint=<0-4>
( : 0).
> 0
-field-dominance.
:
> 2 .
0 .
1 , -vf
field.
2 Bob , -vf
tfields=1.
3 .
/ .
, "D"
.
4
. .
chroma-deint
,
( ).
nochroma-deint
.
.
pullup
,
xvmc ( X11 -vc ffmpeg12mc)
, XvMC (X Video Motion
Compensation) XFree86 4.x
MPEG-1/2 VCR2.
adaptor=<>
XVideo ( xvinfo).
port=<>
XVideo .
(no)benchmark
.
,
(nVidia).
, (nobenchmark).
(no)bobdeint
.
, -vf tfields=1,
xvmc ( :
nobobdeint).
(no)queue
,
.
() A/V ( :
noqueue).
(no)sleep
sleep ( Linux) (
: nosleep).
ck=cur|use|set
, -vo xv:ck ( -vo
xv).
ck-method=man|bg|auto
, -vo xv:ck-method
( -vo xv).
dga ( X11)
XFree86 Direct Graphics
Access.
.
sdl ( SDL, /)
, -
SDL (Simple Directmedia
Layer).
SDL X11, X11 MPlayer
SDL.
, (-vm/-novm , -fs ,
-novm,
, panscan ,...).
driver=<>
SDL .
(no)forcexv
XVideo sdl ( :
forcexv).
(no)hwaccel
( : hwaccel).
vidix
VIDIX (VIDeo Interface for
*niX, *nix) -
.
, .
<> VIDIX.
: cyberblade, ivtv,
mach64, mga_crtc2,
mga, nvidia, pm2,
pm3, radeon, rage128,
s3, sh_veu, sis_vid
unichrome.
xvidix ( X11)
X11 VIDIX
<> , vidix
cvidix
- VIDIX , nVidia
.
<> , vidix.
winvidix ( Windows)
Windows VIDIX.
<> , vidix.
direct3d ( Windows) ( !)
, Direct3D ( Vista).
directx ( Windows)
, DirectX .
noaccel
.
, .
kva ( OS/2)
, libkva.
snap SNAP.
wo WarpOverlay!.
dive DIVE.
(no)t23
/ T23 ( :
-not23).
,
.
quartz ( Mac OS X)
Mac OS X Quartz.
, YUV , , -vf
format=yuy2, .
device_id=<>
.
fs_res=<>:<>
( ).
corevideo (Mac OS X 10.4 10.3.9
QuickTime 7)
Mac OS X CoreVideo.
device_id=<>
, -1, ,
( : -1 - ).
shared_buffer
NSConnection
GUI.
buffer_name=<>
, shm_open,
NSConnection,
MPlayer ( :
"mplayerosx").
buffer_name
shared_buffer.
fbdev ( Linux)
.
<> fbdev ( /dev/
fb0)
VIDIX, 'vidix'
( 'vidixsis_vid
sis).
fbdev2 ( Linux)
,
<> fbdev ( : /dev/
fb0).
vesa
, VESA VBE 2.0
.
(no)dga
DGA ( : ).
neotv_pal
NeoMagic TV
PAL.
neotv_ntsc
NeoMagic TV
NTSC.
vidix
VIDIX .
lvo:
Linux VESA .
svga
, SVGA.
< > .
<>x<>x<>,
640x480x16M ,
84.
bbosd
OSD ().
native
'' .
, OSD .
retrace
.
-double.
, -vsync.
sq
.
vidix
svga VIDIX.
gl
OpenGL , .
OpenGL. ,
OpenGL, ,
.
-
-vo
gl:yuv=2:rectangle=2:force-pbo:ati-hack
-dr -noslices
, , - , /OpenGL ,
glxinfo ,
OpenGL.
(no)ati-hack
ATI PBO ( -dr
force-pbo).
(no)force-pbo
PBO ,
.
NVidia ATI.
-noslices
ati-hack.
(no)scaled-osd
OSD ( : ).
, , .
, TrueType
.
ass ( -ass),
OpenGL, -vf
ass.
osdcolor=<0xAARRGGBB>
OSD ( : 0x00ffffff,
).
rectangle=<0,1,2>
, ,
( : 0).
0: power-of-two
( ).
1:
GL_ARB_texture_rectangle.
2:
GL_ARB_texture_non_power_of_two.
, , .
swapinterval=<n>
,
( : 1). 1 VSYNC,
0 - VSYNC.
0 .
( / n).
GLX_SGI_swap_control.
(/?) .
yuv=<n>
YUV RGB.
0: ( ).
OpenGL.
, .
1:
nVidia-
(GL_NV_register_combiners).
, , .
.
, .
2: .
GL_ARB_fragment_program
, , .
, ,
.
3: , POW .
GL_ARB_fragment_program
, , .
, , , .
, .
4, , .
4: .
GL_ARB_fragment_program
, ,
.
, , , , .
, .
5: ATI- ( ).
ATI-
(GL_ATI_fragment_shader
-
GL_ARB_fragment_shader!).
, , .
.
, .
6: 3D .
GL_ARB_fragment_program
, , .
( ) (?) ATI,
.
, , , , .
, .
GPU ,
.
ycbcr
GL_MESA_ycbcr_texture
YUV RGB.
, , ,
RGB.
lscale=<n>
.
2, 3, 4 6 yuv.
0: ( ).
1: B- ( ).
.
, ,
.
2: , .
, 1.
3: 1, .
.
4: 3x3
0.5 ( filter-strength).
5: 5x5
0.5 ( filter-strength).
cscale=<n>
.
lscale.
filter-strength=<>
lscale/cscale,
.
customprog=<>
<>.
TOOLS/edgedect.fp.
customtex=<>
"gamma ramp" <>.
yuv=4 customprog.
(no)customtlin
( ), customtex GL_LINEAR ,
- GL_NEAREST.
(no)customtrect
, texture_rectangle
customtex .
.
, , ,
.
(no)glfinish
glFinish() . ,
( : ).
(no)manyfmts
(RGB BGR) ( :
).
OpenGL >= 1.2.
slice-height=<0-...>
, ( : 0). 0
.
:
YUV ( yuv),
:
(
-noslices),
, .
,
16.
(no)osd
OSD OpenGL ( :
). ;
OSD -osdlevel 0.
(no)aspect
pan-and-scan ( : ).
.
gl2
OpenGL.
,
gl,
.
(no)glfinish
, gl ( : )
yuv=<n>
YUV RGB.
-, 0, OSD
,
X .
, -vo gl.
null
,
.
aa
ASCII art, .
'mplayer -vo aa:help'.
:
-aspect.
: , , -monitorpixelaspect.
'mplayer -vo aa
-monitorpixelaspect 0.5'.
caca
Color ASCII art, .
bl
Blinkenlights UDP .
.
<> Blinkenlights.
arcade:host=localhost:2323
hdl:file=name1,file=name2.
.
ggi
GGI
<> GGI .
',', , '.'.
directfb
, DirectFB.
(no)input
DirectFB
MPlayer ( : ).
buffermode=single|double|triple
,
. ,
MPlayer .
( : single).
fieldparity=top|bottom
( : ).
: top = , bottom =
.
, MPEG , ,
.
layer=N
ID N ( : -1 - ).
dfbopts=<>
DirectFB.
dfbmga
Matrox G400/G450/G550,
DirectFB .
CRTC2 ( ""), "".
(no)input
, directfb ( : )
buffermode=single|double|triple
, directfb ( :
triple)
fieldparity=top|bottom
, directfb
(no)bes
Matrox BES ( ) ( :
).
,
. "".
(no)spic
[sub picture
layer] OSD ( : ).
(no)crtc2
TV- "" ( : ).
, ..
/ .
tvnorm=pal|ntsc|auto
TV Matrox
/etc/directfbrc ( :
).
: pal = PAL, ntsc =
NTSC. auto - (
PAL/NTSC),
.
mga ( Linux)
Matrox, YUV
Gxxx .
Matrox, .
<> Matrox ( : /dev/
mga_vid).
xmga ( Linux, X11)
mga, X11.
<> Matrox ( : /dev/
mga_vid).
s3fb ( Linux) (see also -vf yuv2 and
-dr)
S3 Virge.
, YUV , , .
-vf yuy2 YUV2 , ,
YV12.
<> fbdev ( : /dev/
fb0).
wii ( Linux)
a Nintendo Wii/GameCube.
3dfx ( Linux)
3dfx, c 3dfx X11.
16 bpp.
tdfxfb ( Linux)
tdfxfb
YUV 3dfx .
<> fbdev ( : /dev/
fb0).
tdfx_vid ( Linux)
3dfx, tdfx_vid
<device>
( : /dev/
tdfx_vid).
dxr2 ( -dxr2) ( DXR2)
Creative DXR2.
<vo_driver>
, (x11, xv).
dxr3 ( DXR3)
MPEG Sigma Designs em8300
(Creative DXR3, Sigma Designs
Hollywood Plus).
lavc.
overlay
TV .
prebuf
.
sync
.
norm=<>
TV .
0: ( ).
1: PAL/NTSC.
2: PAL/PAL-60.
3: PAL
4: PAL-60
5: NTSC
<0-3>
, em8300 .
ivtv ( IVTV)
TV- MPEG , Conexant CX23415
(iCompression iTVC15) Conexant
CX23416 (iCompression iTVC16),
(Hauppauge WinTV
PVR-150/250/350/500).
lavc.
<device>
MPEG ( :
/dev/video16).
<output>
TV-.
v4l2 ( Linux 2.6.22+)
V4L2 MPEG
lavc.
<device>
MPEG ( :
/dev/video16).
<output>
TV-.
mpegpes ( DVB)
DVB , MPEG-PES ,
DVB .
card=<1-4>
, ( V3 API,
1.x.y ).
, MPlayer .
<> ( : ./grab.mpg)
zr ( -zr* -zrhelp)
MJPEG /.
zr2 ( zrmjpeg)
MJPEG /,
.
dev=<>
.
norm=<PAL|NTSC|SECAM|auto>
( : ).
(no)prebuf
() , .
md5sum
MD5 .
RGB24 YV12.
.
outfile=<>
( : ./md5sums).
yuv4mpeg
YUV 4:2:0
( : ./stream.yuv).
, mjpegtools,
mjpegtools.
YV12, RGB (24 bpp) BGR (24
bpp) .
-fixed-vo
.
interlaced
.
interlaced_bf
.
file=<>
<> stream.yuv.
:
, (.. ).
gif89a
GIF .
RGB 24 ,
256-.
<fps>
, ( : 5.0).
<output>
( : ./out.gif).
:
,
.
:
mplayer video.nut -vo
gif89a:fps=15:output=test.gif
jpeg
JPEG .
.
[no]progressive
JPEG ( : ).
[no]baseline
[baseline] ( :
).
optimize=<0-100>
( : 100)
smooth=<0-100>
( : 0)
quality=<0-100>
(default: 75)
outdir=<>
JPEG ( : ./).
subdirs=<>
.
maxfiles=<> ( subdirs)
, .
1 ( : 1000).
pnm
PNM .
.
PPM, PGM PGMYUV, raw,
ASCII .
pnm(5), ppm(5) pgm(5).
ppm
PPM ( ).
pgm
PGM .
pgmyuv
PGMYUV . PGMYUV
PGM, U V ,
.
raw
PNM raw ( ).
ascii
PNM ASCII .
outdir=<>
PNM ( : ./).
subdirs=<>
.
maxfiles=<> ( subdirs)
, .
1 ( : 1000).
png
PNG .
, .
24bpp RGB BGR .
z=<0-9>
. 0 - , 9 - .
outdir=<>
PNG ( : ./).
alpha
PNG -. , MPlayer
-,
.
tga
Targa .
.
- ,
.
BGR[A] 15, 24 32.
format.
:
mplayer video.nut -vf
format=bgr15 -vo tga
/
-ac <[-|+]1,[-|+]2,...[,]>
,
codecs.conf.
'-' .
'+' ,
!
',' , MPlayer
.
:
-ac help.
:
-ac mp3acm
MP3 l3codeca.acm.
-ac mad,
libmad, - .
-ac hwac3,a52,
AC-3 , AC4, - .
-ac hwdts,
DTS , - .
-ac -ffmp3,
FFmpeg MP3 .
-af-adv <force=(0-7):list=()> ( -af)
:
force=<0-7>
:
0: .
1: ( ).
2: . :
,
.
3: , . :
MPlayer.
4: 0,
.
5: 1,
.
6: 2,
.
7: 3,
.
list=<>
, -af.
-afm <1,2,...>
,
codecs.conf.
,
.
:
-afm help.
:
-afm ffmpeg
libavcodec
FFmpeg.
-afm acm,dshow
Win32 .
-aspect <> ( -zoom)
,
.
:
-aspect 4:3 or -aspect
1.3333
-aspect 16:9 or -aspect
1.7777
-noaspect
.
-field-dominance <-1-1>
.
, : -vf tfields=1, -vf
yadif=1, -vo vdpau:deint -vo
xvmc:bobdeint.
-1 ( ): ,
0 ( ).
0
1
-flip
-.
-lavdopts <1:2:...> ( )
libavcodec.
.
:
-lavdopts
gray:skiploopfilter=all:skipframe=nonref
:
bitexact
( ).
bug=<>
.
0:
1: () ( )
2 (msmpeg4v3):
msmpeg4v3 , lavc
( )
4 (mpeg4): Xvid
( , fourcc==XVIX)
8 (mpeg4): UMP4 (
, fourcc==UMP4)
16 (mpeg4): ( )
32 (mpeg4): vlc
( fourcc)
64 (mpeg4): qpel
Xvid DivX (
fourcc/)
128 (mpeg4):
qpel ( fourcc/)
256 (mpeg4):
qpel ( fourcc/)
512 (mpeg4):
direct-qpel-blocksize
( fourcc/)
1024 (mpeg4): (
fourcc/)
debug=<>
.
0:
1:
2:
4:
8: (MB)
16: [per-block]
(QP)
32:
0x0040: (
-noslices)
0x0080: (MB)
0x0100:
0x0200: PTS
0x0400: [error
resilience]
0x0800:
(H.264)
0x1000:
0x2000: (QP),
QP - .
0x4000: .
ec=<>
.
1: deblock
MB.
2: (MV) ()
3: ( )
er=<>
[error resilience]
.
0:
1: ( .)
2: ( ) ( .)
3: ( , .)
4:
fast ( MPEG-2, MPEG-4
H.264)
, , ,
,
[dequantization],
, , YUV 4:2:0
.
gray
( , )
idct=<0-99> ( -lavcopts)
IDCT
. .
lowres=<>[,<w>]
. ,
.
, .
0:
1: 1/2
2: 1/4
3: 1/8
<w>, ,
<w>.
o=<>=<>[,<>=<>[,...]]
AVOptions libavcodec.
, , o=
AVOption, .
AVOptions FFmpeg. :
AVOptions MEncoder.
:
o=debug=pict
sb=<> ( MPEG-2)
.
st=<> ( MPEG-2)
.
skiploopfilter=<skipvalue>
( H.264)
loop ( deblocking)
H.264.
, , MPEG-2, ,
deblocking . ,
HDTV ,
.
<skipvalue> :
none: .
default: (
AVI).
nonref: , (..
, ).
bidir: B-.
nonkey: , .
all: .
skipidct=<skipvalue> (
MPEG-1/2)
IDCT.
( skipvalue
skiploopfilter).
skipframe=<skipvalue>
.
, . (
skipvalue
skiploopfilter).
threads=<1-8> ( MPEG-1/2)
, ( : 1)
vismv=<>
.
0: .
1: P-, .
2: B-, .
4: B-, .
vstats
./vstats_*.log.
-noslices
/ 16- ,
.
, .
libmpeg2 libavcodec.
-nosound
/ .
.
-novideo
/ .
, -vc null -vo null.
-pp <> ( -vf pp)
DLL.
-vf pp.
Win32 DirectShow DLL,
.
-pp , 0-6, 0=, 6=/.
-pphelp ( -vf pp)
.
-ssf <>
.
:
-vf scale -ssf lgb=3.0
lgb=<0-100>
( [luma])
cgb=<0-100>
( [chroma])
ls=<-100-100>
sharpen ( [luma])
cs=<-100-100>
sharpen ( [chroma])
chs=<h>
[chroma].
cvs=<v>
[chroma].
-stereo <>
MP2/MP3.
0
1
2
-sws < > ( -vf scale -zoom)
-zoom .
, , x11.
:
0
1
2 ( ) ( )
3
4 ( )
5 area
6 [luma] / [chroma]
7
8 sincR
9 lanczos
10 [natural bicubic
spline]
:
-sws .
scale.
-vc <[-|+]1,[-|+]2,...[,]>
,
codecs.conf.
'-' .
'+' ,
!
',' , MPlayer
.
:
-vc help.
:
-vc divx
Win32/VfW DivX,
.
-vc -divxds,-divx,
Win32 DivX .
-vc ffmpeg12,mpeg12,
MPEG-1/2
libavcodec,
libmpeg2, .
-vfm <1,2,...>
,
codecs.conf.
,
.
:
-vfm help.
:
-vfm ffmpeg,dshow,vfw
libavcodec,
Directshow, VfW , ,
.
-vfm xanim
XAnim .
-x <x> ( -zoom) ( MPlayer)
<x> ( / ).
.
-xvidopts <1:2:...>
Xvid.
:
libavcodec , Xvid, , ,
(-vf pp) (-vfm ffmpeg)
libavcodec.
Xvid:
deblock-chroma ( -vf pp)
deblock [chroma]
deblock-luma ( -vf pp)
deblock [luma]
dering-luma ( -vf pp)
deringing [luma]
dering-chroma ( -vf pp)
deringing [chroma]
filmeffect ( -vf noise)
.
, .
:
dr2
2 .
nodr2
2 .
-xy <> ( -zoom)
<=8 <> .
>8 ,
.
-y <y> ( -zoom) ( MPlayer)
<y> ( / ).
.
-zoom
, .
,
( x11, fbdev), ,
MPlayer
.
.
:
-af <1[=1:2:...],2,...>
.
:
-af help.
.
.
-af-add <filter1[,filter2,...]>
.
-af-pre <filter1[,filter2,...]>
.
-af-del <index1[,index2,...]>
.
0,
(-1 - ).
-af-clr
.
:
resample[=srate[:sloppy[:type]]]
.
, 44.1k.
.
16- integer float ""
[native-endian]
.
:
MEncoder, -srate
<srate>.
<srate>
.
8000 192000.
,
, .
,
.
<sloppy>
(1) (0)
<srate> ( : 1).
, .
<type>
.
0: (, , )
1: [polyphase
filterbank]
2: [polyphase
filterbank] (,
)
:
mplayer -af
resample=44100:0:0
resample 44100,
.
lavcresample[=srate[:length[:linear[:count[:cutoff]]]]]
<srate>, .
16- "" [native-endian]
.
:
MEncoder, -srate
<srate>.
<srate>
<length>
( : 16)
<linear>
1,
<count>
log2 (..., 10->1024,
11->2048, 12->4096,
...) ( : 10->1024)
<cutoff>
(0.0-1.0),
lavcac3enc[=tospdif[:bitrate[:minchn]]]
AC-3 , libavcodec.
16- ,
6 .
AC-3 S/PDIF.
,
.
48, 44.1 32, .
,
48.
'-channels N' N ,
N- AC-3.
<tospdif>
AC-3, ; S/PDIF
, <tospdif> .
<bitrate>
AC-3 .
384 384000 384.
: 32, 40, 48, 56,
64, 80, 96, 112, 128,
160, 192, 224, 256,
320,
384, 448, 512, 576,
640
(ch) . 1ch:
96, 2ch: 192, 3ch:
224, 4ch: 384, 5ch:
448, 6ch: 448
<minchn>
<minchn>,
( : 5).
sweep[=]
.
<0.0-1.0>
, , .
sinesuppress[=freq:decay]
.
50/60 . , , .
<freq>
( ), ( : 50)
<decay>
(
, ) ( : 0.0001).
0.001.
hrtf[=]
: 2
, .
m
s 2-
0 ( )
equalizer=[g1:g2:g3:...:g10]
10 , 10 IIR .
, .
10 :
.
0 31.25 Hz
1 62.50 Hz
2 125.00 Hz
3 250.00 Hz
4 500.00 Hz
5 1.00 kHz
6 2.00 kHz
7 4.00 kHz
8 8.00 kHz
9 16.00 kHz
, .
,
,
.
, resample
, .
<g1>:<g2>:<g3>:...:<g10>
, (-12/12)
:
mplayer -af
equalizer=11:11:10:5:0:-12:0:5:12:12
media.avi
,
1.
channels=nch[:nr:1:1:2:2:3:3:...]
, ,
.
<nch>, ,
: , ,
( ,
).
,
.
<nch>
(1-6)
<nr>
(1-6)
<from1:to1:from2:to2:from3:to3:...>
0 5, .
:
mplayer -af
channels=4:4:0:1:1:0:2:2:3:3
media.avi
4, 4 , 0 1,
2 3 , , 2 3
, 1 0 - .
mplayer -af
channels=6:4:0:0:0:1:0:2:0:3
media.avi
6, 4 , 0 0
3.
4 5 .
format[=format] (also see -format)
.
,
.
<format>
.
'sbe', 's' ('s'
, 'u' - ), 'b'
(16,24 32) 'e'
('le'
little-endian, 'be'
big-endian, 'ne' - ,
MPlayer).
( ): 's16le',
'u32be' 'u24ne'.
, : u8, s8,
floatle, floatbe,
floatne, mulaw, alaw,
mpeg2, ac3 imaadpcm.
volume[=v[:sc]]
.
,
.
PCM ,
master.
, PCM , , MASTER
.
(, ,
), ,
master,
.
:
MPlayer.
MEncoder, ,
.
:
, ,
.
<v>
-200 +60 ,
-200 , +60 1000 (
: 0).
<sc>
(1) (0) .
,
. ,
.
:
.
:
mplayer -af volume=10.1:0
media.avi
10.1 .
pan=n[:L00:L01:L02:...L10:L11:L12:...Ln0:Ln1:Ln2:...]
.
- volume channels,
, , ""
.
.
.
.
<n>
(1-6)
<Lij>
i j (0-1).
, n , .
,
0.
:
mplayer -af pan=1:0.5:0.5
media.avi
.
mplayer -af
pan=3:1:0:0.5:0:1:0.5
media.avi
3 , 0 1
0 1 2 (
, ).
sub[=fc:ch]
. , ,
0 1.
Butterworth
60,
.
:
DVD c Dolby Digital 5.1
,
.
<fc>
( 20 300) ( :
60)
,
, .
.
<ch>
, .
0 5 ( : 5). ,
<ch>.
:
mplayer -af sub=100:4
-channels 5 media.avi
100 4 .
center
.
,
,
.
<ch>
, .
0 5 ( : 5). ,
<ch>.
surround[=]
, Dolby Surround.
2
.
, 4 .
<> ( 0 1000) ( :
20)
: d1 -
d2 -
, 15, d1 <= d2
15+5*(d2-d1), d1 >
d2.
:
mplayer -af surround=15
-channels 4 media.avi
15 .
delay[=ch1:ch2:...]
,
.
2 .
ch1,ch2,...
, ( 0 1000).
:
1. ,
s1 - s5 ( 5.1. ).
( ).
2. s1 - s5 ,
3. d[i] =
1000*s[i]/342; i = 1...5.
:
mplayer -af
delay=10.5:10.5:0:0:7:0
media.avi
10.5,
0 7.
export[=mmapped_file[:nsamples]]
, (mmap()).
:
int nch /* */
int size /* */
unsigned long long counter /* ,
.*/
- () 16 .
<mmapped_file>
, ( : ~/.mplayer/
mplayer-af_export)
<nsamples>
( : 512)
:
mplayer -af
export=/tmp/mplayer-af_export:1024
media.avi
1024
'/tmp/mplayer-af_export'.
extrastereo[=mul]
() ,
"" .
<mul>
( : 2.5). 0.0
( ), 1.0 , -1.0
.
volnorm[=:]
.
<> .
1:
( ).
2:
.
<>
( : 0.25).
ladspa=:[:...]
LADSPA (Linux Audio
Developer's Simple Plugin
API) .
,
LADSPA .
<> LADSPA.
LADSPA_PATH , .
, .
<> .
,
.
'help',
,
'listplugins'
LADSPA SDK.
<> - ,
(, , ).
( -v MPlayer)
.
'analyselugin'
LADSPA SDK.
comp
/, .
.
, .
gate
[noise gate], comp.
, .
karaoke
, , , , , "" . ,
.
2 ;
-, 2 .
scaletempo[=1:2:...]
,
( ).
'stride' ,
'stride*scale' .
'overlap'% ,
.
'search'
.
scale=<>
.
. ( : 1.0)
stride=<>
.
scale .
.
. ( : 60)
overlap=<>
.
. ( : .20)
search=<>
.
.
, , ( : 14)
speed=<tempo|pitch|both|none>
.
tempo
( ).
pitch
.
.
'[
speed_mult
0.9438743126816935'
'] speed_mult
1.059463094352953'
input.conf
. :
.
both , .
none .
:
mplayer -af scaletempo
-speed 1.2 media.ogg
1.2x
.
mplayer -af
scaletempo=scale=1.2:speed=none
-speed 1.2 media.ogg
1.2x ,
.
mplayer -af
scaletempo=stride=30:overlap=.50:search=10
media.ogg
.
mplayer -af
format=floatne,scaletempo
media.ogg
scaletempo .
.
mplayer -af
scaletempo=scale=1.2:speed=pitch
audio.ogg
1.2x
, 1.2x.
stats
,
.
volume.
.
:
-vf <1[=1:2:...],2,...>
.
, .
, , '-1'.
w:h , x:y x;y ,
.
:
-vf help.
.
.
-vf-add <1[,2,...]>
.
-vf-pre <1[,2,...]>
.
-vf-del <1[,2,...]>
.
0,
(-1 - ).
-vf-clr
.
, ,
,
-vf <>=help
.
-vf <=_1=1[:_2=2:...]>
, .
on off yes no -.
:
crop[=w:h:x:y]
, .
.
<w>,<h>
, .
<x>,<y>
, - .
cropdetect[=:]
.
<> , (0)
(255) ( : 24).
<> , / ( : 16).
.
2 ( 4:2:2 ),
16 - .
rectangle[=w:h:x:y]
,
.
input.conf
'change_rectangle'
,
.
<w>,<h>
( : -1,
.)
<x>,<y>
( : -1, , )
expand[=w:h:x:y:o:a:r]
( )
x, y.
/OSD
.
<w>,<h>
( : ,).
w h .
:
expand=0:-50:0:0
50
.
<x>,<y>
( : )
<o>
OSD/
0: ( )
1:
<a>
, ( : 0).
:
expand=800:::::4/3
800x600,
,
, ,
4/3 .
<r>
, , <r> ( :
1).
flip ( -flip)
.
mirror
Y.
rotate[=<0-7>]
90 .
4-7 ,
, .
0 90 ( ).
1 90 .
2 90 .
3 90 .
scale[=w:h[:interlaced[:chr_drop[:par[:par2[:presize[:noup[:arnd]]]]]]]]
()
YUV<->RGB (
-sws).
<w>,<h>
/ ( : /)
:
-zoom, (
libvo) , d_width/
d_height!
0: d_width/
d_height
-1: /
-2: w/h,
prescaled .
-3: w/h,
.
-(n+8): -n ,
16 .
<interlaced>
.
0: ( )
1:
<chr_drop>
0: .
1: 2 .
2: 4 .
3: 8 .
<par>[:<par2>] ( -sws)
, -sws.
-sws 2 (): B ()
and C ( )
0.00:0.60
0.00:0.75 " "
VirtualDub'
0.00:0.50
Catmull-Rom
0.33:0.33
Mitchell-Netravali
1.00:0.00 B-
-sws 7 (): (0 ()
- 100 ())
-sws 9 (lanczos):
(1-10)
<presize>
.
qntsc: 352x240 (
NTSC)
qpal: 352x288 (
PAL)
ntsc: 720x480 (
NTSC)
pal: 720x576 (
PAL)
sntsc: 640x480
(NTSC )
spal: 768x576
(PAL )
<noup>
.
0: ( ).
1: , .
2: , .
<arnd>
,
.
0: ( ).
1: .
dsize[=aspect|w:h:aspect-method:r]
/
. (4/3),
(1.33).
.
,
; ,
( ) ,
.
<w>,<h>
.
:
0:
-1: ( )
-2: w/h,
.
-3: w/h,
.
:
dsize=800:-2
,
800x600
4/3 ,
800x450
16/9 .
<aspect-method>
.
-1: ( ).
0: , <w> <h>
.
1: , <w> <h>
.
2: , <w> <h>
.
3: , <w> <h>
.
:
dsize=800:600:0
800x600
.
<r>
, <r> ( :
1).
yuy2
YV12/I420/422P YUY2.
YV12, YUY2.
yvu9
YVU9 YV12 .
.
yuvcsp
YUV CCIR 601 .
rgb2bgr[=swap]
RGB 24/32 <-> BGR 24/32.
swap
R <-> B.
palette
RGB/BGR 8 ->
15/16/24/32bpp
.
format[=fourcc]
- . scale
.
:
format=fmt=help.
<fourcc>
, rgb15, bgr24,
yv12 ( : yuy2)
noformat[=fourcc]
- . format,
.
:
noformat=fmt=help.
<fourcc>
, rgb15, bgr24,
yv12 ( : yv12)
pp[=filter1[:option1[:option2...]]/[-]filter2...]
(also see -pphelp)
.
'/',
'-'.
, , , .. dr/dering -
.
, :
a/autoq
, CPU .
c/chrom
( ).
y/nochrom
.
n/noluma
( ).
: -pphelp .
:
hb/hdeblock[:difference[:flatness]]
deblocking'
<difference>: ,
deblocking ( :
32).
<flatness>: ,
deblocking ( :
39).
vb/vdeblock[:difference[:flatness]]
deblocking'
<difference>: ,
deblocking ( :
32).
<flatness>: ,
deblocking ( :
39).
ha/hadeblock[:difference[:flatness]]
deblocking'
<difference>: ,
deblocking ( :
32).
<flatness>: ,
deblocking ( :
39).
va/vadeblock[:difference[:flatness]]
deblocking'
<difference>: ,
deblocking ( :
32).
<flatness>: ,
deblocking ( :
39).
deblocking'
difference flatness,
h1/x1hdeblock
deblocking'
v1/x1vdeblock
deblocking'
dr/dering
tn/tmpnoise[:[:2[:3]]]
<1>: ->
<2>: ->
<3>: ->
al/autolevels[:f/fullyrange]
/
f/fullyrange:
(0-255).
lb/linblenddeint
blend,
(1 2 1).
li/linipoldeint
,
.
ci/cubicipoldeint
,
.
md/mediandeint
median, , median
.
fd/ffmpegdeint
FFmpeg,
(-1 4 2 4 -1).
l5/lowpass5
FIR,
,
(-1 2 6 2 -1).
fq/forceQuant[:quantizer]
<quantizer>:
de/default
pp
(hb:a,vb:a,dr:a)
fa/fast
pp
(h1:a,v1:a,dr:a)
ac
high quality pp
filter combination
(ha:a:128:7,va:a,dr:a)
pp
(ha:a:128:7,va:a,dr:a)
:
-vf pp=hb/vb/dr/al
deblocking,
/
-vf pp=de/-al
/
-vf
pp=default/tmpnoise:1:2:3
.
-vf pp=hb:y/vb:a
deblocking ,
deblocking
CPU.
spp[=[:qp[:]]]
( - 6 - )
.
<> 0-6 ( : 3)
<qp>
( : 0,
QP ).
<> 0: ( )
1: ( , )
4: 0, QP B- ( )
5: 1, QP B- ( )
uspp[=[:qp]]
& ,
( - 8 - )
.
spp , uspp
& Snow libavcodec,
spp
8x8 DCT, MJPEG.
<> 0-8 ( : 3)
<qp>
( : 0,
QP ).
fspp[=[:qp[:[:bframes]]]]
<> 4-5 (, spp; : 4)
<qp>
( : 0,
QP ).
<-15-32>
, ,
,
, ( : 0 - PSNR ).
<bframes>
0: QP B- ( )
1: QP B- ( )
pp7[=qp[:]]
spp , spp=6 7 DCT, IDCT
.
<qp> ( : 0,
QP ).
<> 0:
1: ( , )
2: ( , )
qp= (QP)
<> , "2+2*sin(PI*qp)"
test
.
geq=
<> , 'p(W-X\,Y)'
, :
PI: pi
E: e
X / Y:
W / H:
SW / SH: /,
[plane], 1,1
0.5,0.5 YUV
4:2:0.
p(x,y): x/y
[plane].
rgbtest[=:]
RGB,
RGB BGR.
, .
<> ( : 0). 0 .
<> ( : 0). 0 .
lavc[=:fps]
YV12 MPEG-1 libavcodec
DVB/DXR3/IVTV/V4L2.
<> 1-31: qscale
32-:
<fps>
fps ( ) ( : 0,
)
dvbscale[=]
DVB ,
x y
. expand scale.
<> ,
DVB_HEIGHT*ASPECTRATIO
( : 576*4/3=768),
16:9 TV
576*(16/9)=1024.
:
-vf
dvbscale,scale=-1:0,expand=-1:576:-1:-1:1,lavc
FIXME: Explain what
this does.
noise[=luma[u][t|a][h][p]:chroma[u][t|a][h][p]]
.
<0-100>
<0-100>
u ( )
t ( )
a ( , )
h ( , )
p ()
denoise3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
,
( .).
<luma_spatial>
( : 4)
<chroma_spatial>
( : 3)
<luma_tmp>
( : 6)
<chroma_tmp>
( :
luma_tmp*chroma_spatial/luma_spatial)
hqdn3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
/ denoise3d.
.
ow[=depth[:luma_strength[:chroma_strength]]]
Overcomplete Wavelet.
<depth>
depth ,
( : 8).
<luma_strength>
<chroma_strength>
eq[=:] ()
, ,
, .
c MEncoder, ,
.
<-100-100>
<-100-100>
eq2[=::::rg:gg:bg:weight]
, ( ),
.
, MMX ,
-vf, 1.0.
.
<0.1-10>
( : 1.0)
<-2-2>
,
( : 1.0) negative
image (default: 1.0)
<-1-1>
( : 0.0)
<0-3>
( : 1.0)
<0.1-10>
( : 1.0)
<0.1-10>
( : 1.0)
<0.1-10>
( : 1.0)
<0-1>
weight
, ..
.
0.0 , 1.0
( : 1.0).
hue[=hue:saturation]
, ,
/,
.
<-180-180>
( : 0.0)
<-100-100>
,
( : 1.0).
halfpack[=f]
YUV 4:2:0 4:2:2 ,
[downsampling] , .
,
[downscaling] .
CPU.
<f>
, halfpack
[downsampling]. ,
0 1 ().
0:
downsampling.
1:
downsampling.
ilpack[=]
YUV 4:2:0,
downsampling' .
4:2:0 YUY2 (4:2:2)
, ,
[scanline]
.
<> [sampling].
0: ` `
[nearest-neighbor
sampling], ,
1: ( )
harddup
MEncoder.
harddup,
.
, MPEG ,
.
,
-.
softskip
MEncoder. Softskip ,
()
.
,
( , , .).
, ,
, CPU.
decimate[=max:hi:lo:frac]
, , .
__ (, ),
.
<max>
,
( ),
( ).
<hi>,<lo>,<frac>
, 8x8,
, <hi>,
<frac>
(1 ) ,
<lo>.
<hi> <lo> 8x8
,
64 1 , or the
same spread out
differently over the
block.
dint[=sense:level]
drop-deinterlace (dint),
.
<0.0-1.0>
( : 0.1)
<0.0-1.0>
,
( : 0.15).
lavcdeint ()
FFmpeg, , -vf pp=fd
kerndeint[=thresh[:map[:order[:sharp[:twoway]]]]]
(Donald Graft).
, .
<0-255>
thresh ( : 10)
<map>
0: , ( ).
1: , , .
<order>
0: ( ).
1: .
<sharp>
0: ( ).
1: .
<twoway>
0: [twoway]
(default).
1: [twoway] .
unsharp[=l|cWxH:amount[:l|cWxH:amount]]
/
l
.
c
.
<width>x<height>
, . ( = 3x3,
= 13x11 11x13, -
3x3 7x7)
amount
/ ( -1.5-1.5).
<0:
>0:
swapuv
U V [planes].
il[=d|i][s][:[d|i][s]]
() [(de)nterleaves] .
-
.
DVD TV
.
, ( )
(, ), [deinterleaving]
( ),
( ) ,
.
d [deinterleave] ( )
i [interleave] ]
s ( )
fil[=i|d]
() [(de)nterleaving] .
il , ,
, .
, ,
, , , , .
d , .
i ( fil=d ).
field[=n]
,
, CPU .
n
( , n ).
detc[=1=1:2=2:...]
''
.
,
MPlayer/MEncoder.
, 3:2 ,
.
, ,
,
, ivtc, pullup
filmdint .
( )
detc:
<dr>
.
0: ( ).
1: ,
5 .
2: , 5:4.
:
MEncoder 1 2.
<am>
.
0: , <fr>.
1: ( )
<fr>
. 0-2 - ; 3
4 - .
, -1, ' '.
- ,
<t0>, <t1>, <t2>, <t3>
, .
ivtc[=1]
.
, , detc, ivtc .
, ,
,
, TV.
(ivtc=1) dr=1 detc,
MEncoder, MPlayer.
detc, (-ofps 24000/1001),
MEncoder.
ivtc , pullup filmdint
.
pullup[=jl:jr:jt:jb:sb:mp]
[pulldown] ( ) ,
[hard-telecine],
24000/1001 fps 30000/1001
fps .
pullup , detc ivtc,
.
ivtv, pullup ,
,
,
.
, ,
.
jl, jr, jt, and jb
"" , , . /
8 ,
/ .
, 8 .
sb ( )
1 pullup
,
, -1, pullup
.
,
.
mp ( )
1 2
pullup.
, , , , ,
( )
- .
- CPU
pullup
.
:
pullup softskip,
, pullup .
/.
filmdint[=]
, pullup.
,
,
TV.
.
,
.
MPEG-2, ,
, MPEG-2 .
MPEG,
, ,
"Bottom-first field".
MEncoder -fps 30000/1001
-ofps 24000/1001.
MPlayer,
, ,
pp=lb .
/.
crop=<w>:<h>:<x>:<y>
, crop, ,
, , y
4.
x y
, .
, , x y .
io=<ifps>:<ofps>
ifps , ofps .
ifps/ofps
-fps/-ofps.
TV
, .
luma_only=<n>
n , .
YV12 [sampled] TV,
.
mmx2=<n>
x86, n=1, MMX2 ,
n=2,
3DNow! ,
C. , MMX2 3DNow!
,
fast=<n>
.
n=3.
n , , ,
MPEG
REPEAT_FIRST_FIELD ,
, MPEG-2 .
, MMX2 3DNow!.
MMX2 3DNow, n=0
1, ,
n=2 3.
n=2 3, ,
256 128,
.
n=4 5, ,
, , ,
.
verbose=<n>
n 0, .
.
dint_thres=<n>
.
.
, n=256 .
, n=8.
comb_thres=<n>
.
, 128.
diff_thres=<n>
.
, 128.
sad_thres=<n>
[Sum of Absolute
Difference], 64.
softpulldown
MEncoder MPEG-2 ,
3:2 ( ).
ivtc detc ,
,
.
divtc[=]
Inverse telecine for
deinterlaced video.
.
3:2-
,
, ,
.
.
, -ofps 4/5
fps softskip
, divtc .
:
, ,
, ,
( )
, .
,
. ,
.
.
, divtc
, , .
-nosound -ovc raw -o
/dev/null
CPU .
, - crop=2:2:0:0
divtc.
divtc .
, divtc
.
:
pass=1|2
.
file=<_>
log ( :
"framediff.log").
threshold=<>
, ,
( : 0.5). ,
.
window=<_>
, ( : 30).
,
.
.
, , .
phase=0|1|2|3|4
( : 0).
, , ,
, .
, , ,
.
, , .
deghost=<value>
deghosting (0-255
, -255-255 , 0).
, deghosting.
, ,
[blending] .
Deghosting
[blended] ,
deghosting',
,
.
, ,
deghosting ,
0,
.
, .
phase[=t|b|p|a|u|T|B|A|U][:v]
, .
PAL ,
, ,
.
:
t " ", - " ".
.
b " ", - " ".
.
p .
,
. , ;-)
a ,
.
t b ,
. , u.
u ,
.
t b ,
, .
T " ",
.
t p, .
B " ",
.
b p, .
A ,
.
t, b p,
, U.
.
U , ,
.
t, b p, .
v .
t, b p.
telecine[=start]
3:2 20%.
MPlayer.
'mencoder -fps 30000/1001
-ofps 30000/1001 -vf
telecine'.
fps ! ( A/V , .)
start ,
(0-3).
tinterlace[=mode]
temporal field - ,
.
, - .
tfields ( 0).
:
0 , - ,
.
1 , ; .
2 , ; .
3 , ,
.
4 .
, .
tfields[=[:_]]
Temporal field separation -
,
.
telecine, tfields
MEncoder, -fps -ofps
() !
<> 0: ( /).
1: . (
.)
2: 1/4 ( ).
4: 1/4 4tap ( ) (
).
<_> ()
-1: ( ) , ,
tfields ,
0 ( ).
0:
1:
:
, , .
-field-dominance.
yadif=[[:_]]
<> 0: 1 .
1: 1 .
2: 0, .
3: 1, .
<_> ()
tfields.
:
, , .
-field-dominance.
mcdeint=[[:[:qp]]]
.
, , ,
tfields=1, yadif=1/3 .
<> 0:
1:
2: ,
3: , 2 multiple
reference frames
<> 0 1 (: !).
<qp>
,
.
boxblur=:[::]
<> blur
<power>
sab=:pf:__[::pf:__]
[shape adaptive blur]
<> blur (~0.1-4.0) ( ,
)
<pf>
(~0.1-2.0)
<__> , (~0.1-100.0)
smartblur=::[:::]
<> blur (~0.1-5.0) ( ,
)
<> (0.0-1.0)
(-1.0-0.0)
<> (0), (0-30)
(-30-0)
perspective=x0:y0:x1:y1:x2:y2:x3:y3:t
, .
<x0>,<y0>,...
, , ,
<t>
(0) (1)
[resampling]
2xsai
, .
1bpp
1bpp YUV/BGR 8/15/16/32
down3dright[=]
.
,
.
<> ( : 12)
bmovl=::fifo
bitmap bitmap FIFO
, .
bmovl TOOLS/bmovl-test.c.
<> '' (0=, 1=).
<> '' (0=, 1=)
<fifo>
/ FIFO ( pipe,
'mplayer -vf bmovl'
)
FIFO:
RGBA32 x y
**4 RGBA32 .
ABGR32 x y
**4 ABGR32 .
RGB24 x y
**3 RGB24 .
BGR24 x y
**3 BGR24 .
ALPHA x y
.
CLEAR x y
.
OPAQUE
.
"ALPHA 0 0 0 0 0",
.
HIDE
bitmap.
SHOW
bitmap.
:
<>, <>
/
<x>, <y>
x/y.
<> .
-255, ALPHA-,
-225, -200, -175
fade-in- [ ]! ;)
0: ,
255: .
-255: .
<> .
0: ,
1.8MB RGBA32
.
1:
framestep=I|[i]step
n- () .
I ( ) ,
.
DVD , , 15/12
(IBBPBBPBBPBBPBB),
AVI keyint (
-lavcopts keyint= ,
MEncoder ).
, 'I!' ,
MPlayer/MEncoder ,
( ) ( AVI.).
'step' 'step'
.
'i' ( ), ( I )
'I!'.
i, , I!, .
tile=xtiles:ytiles:output:start:delta
.
0,
.
, (... -vf tile=10:5
...). , scale tile :-)
:
<xtiles>
x ( : 5)
<ytiles>
y ( : 5)
<output>
, 'output',
'output'
, xtile * ytile.
.
, , 8 * 7 50 ,
2 25 fps.
<start>
( : 2)
<delta>
( : 4)
delogo[=x:y:w:h:t]
TV .
, , ( -
)
<x>,<y>
<w>,<h>
<t> ( w h).
-1,
x,y,w,h.
remove-logo=///__.pgm
TV , PGM PPM
, .
.
-
[circular blur].
///__.pgm
[] + -.
zrmjpeg[=]
YV12 MJPEG
zr2.
maxheight=<h>|maxwidth=<w>
zr ( MPlayer
).
{dc10+,dc10,buz,lml33}-{PAL|NTSC}
maxwidth
maxheight
, /.
, : dc10-PAL
buz-NTSC ( :
dc10+PAL)
color|bw
- . - .
- .
hdec={1,2,4}
1, 2 4.
vdec={1,2,4}
1, 2 4.
quality=1-20
JPEG [] 1 - 20 [
].
fd|nofd
, , Zoran
MJPEG
().
screenshot
,
,
.
.
'shotNNNN.png',
- .
, ,
,
.
ass
SSA/ASS .
-ass.
:
-vf ass,screenshot
SSA/ASS
screenshot. , ,
.
blackframe[=:]
() .
.
, ,
.
<> , ( : 98).
<> , ( : 32).
( MENCODER)
-audio-delay < >
, , delay
( : 0.0).
,
delay .
, -
-delay. , -delay 0.2,
MEncoder, -audio-delay
-0.2.
(-of avi).
-delay.
-audio-density <1-50>
[chunks] ( 2 0.5).
:
CBR, VBR ,
-audio-preload <0.0-2.0>
( : 0.5).
-fafmttag <format>
.
:
-fafmttag 0x55
0x55 (mp3).
-ffourcc <fourcc>
fourcc .
:
-ffourcc div3
fourcc 'div3'.
-force-avi-aspect <0.2-3.0>
, AVI OpenDML vprp .
'-ovc copy',
-frameno-file <_> ()
,
( )
.
:
A-V .
.
, , .
-hr-edl-seek
,
. , ,
. ,
.
.
:
'-ovc copy'.
-info <1:2:...> ( AVI)
AVI .
:
help
.
name=<>
artist=<>
genre=<>
subject=<>
copyright=<>
srcform=<>
comment=<value>
-noautoexpand
expand MEncoder.
,
.
-noencodedups
:
.
, ,
.
harddup.
-noodml ( -of avi)
OpenDML AVI >1.
-noskip
.
-o <_> .
, ,
MEncoder.
-oac < >
( ).
:
-oac help.
:
-oac copy
,
-oac pcm
PCM.
-oac mp3lame
MP3 ( LAME).
-oac lavc
libavcodec .
-of <format> ( !)
( : AVI).
:
-of help.
:
-of avi
AVI.
-of mpeg
MPEG ( -mpegopts).
-of lavf
libavformat (
-lavfopts).
-of rawvideo
( - )
-of rawaudio
( - )
-ofps <fps>
(fps) ,
.
(30000/1001 fps MPEG, )
fps (ASF, MOV).
-ovc < >
( ).
:
-ovc help.
:
-ovc copy
,
-ovc raw
( '-vf format'
).
-ovc lavc
libavcodec .
-passlogfile <_>
<_> divx2pass.log.
-skiplimit <>
,
(-noskiplimit ).
-vobsubout <_>
.idx .sub .
VOBsub .
-vobsuboutid <_>
.
, DVD .ifo .
-vobsuboutindex <>
( : 0).
( MENCODER)
, :
-<>opts <1[=1]:2[=2]:...>
<> : lavc, xvidenc, mp3lame,
toolame, twolame, nuv, xvfw, faac,
x264enc, mpeg, lavf.
mp3lame (-lameopts)
help
vbr=<0-4>
0 cbr
1 mt
2 rh ( )
3 abr
4 mtrh
abr
cbr
CBR ABR .
br=<0-1024>
/ ( CBR ABR)
q=<0-9>
(0 - , 9 - ) ( VBR)
aq=<0-9>
(0 - /, 9 - /)
ratio=<1-100>
vol=<0-10>
mode=<0-3>
( : )
0
1 joint-
2
3
padding=<0-2>
0
1
2
fast
VBR .
highpassfreq=<>
.
.
-1 , 0
lame .
lowpassfreq=<>
.
.
-1 , 0
lame .
preset=<>
help
medium
VBR , , 150-180 /
standard
VBR , , 170-210 /
extreme
VBR , , 200-240
/
insane
CBR , , 320 /
<8-320>
ABR /
:
fast:preset=standard
cbr:preset=192
ABR 192 /
preset=172
ABR 172 /
preset=extreme
toolame twolame (-toolameopts
-twolameopts )
br=<32-384>
CBR /,
VBR - . VBR
112.
vbr=<-50-50> ( VBR)
; ,
, - .
0, CBR ( ).
maxvbr=<32-384> ( VBR)
, /
mode=<stereo | jstereo | mono |
dual>
( : mono 1- , stereo)
psy=<-1-4>
( : 2)
errprot=<0 | 1>
.
debug=<0-10>
faac (-faacopts)
br=<bitrate>
/ ( quality)
quality=<1-1000>
, - ( br)
object=<1-4>
1 MAIN ( )
2 LOW
3 SSR
4 LTP ( )
mpeg=<2|4>
MPEG ( : 4)
tns
.
cutoff=<0-_/2>
( : _/2)
raw
( : 0, ADTS).
, ,
[remux] .
lavc (-lavcopts)
libavcodec (lavc ) .
.
:
vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250
o=<>=<>[,<>=<>[,...]]
AVOptions libavcodec.
, , o=
AVOption, .
AVOptions FFmpeg. :
AVOptions MEncoder.
:
o=bt=100k
acodec=<>
( : mp2)
ac3
Dolby Digital (AC-3)
adpcm_*
Adaptive PCM -
HTML .
flac
Free Lossless Audio
Codec (FLAC)
g726
G.726 ADPCM
libamr_nb
3GPP Adaptive
Multi-Rate (AMR)
libamr_wb
3GPP Adaptive
Multi-Rate (AMR)
libfaac
Advanced Audio Coding
(AAC) - FAAC
libmp3lame
MPEG-1 audio layer 3
(MP3) - LAME
mp2
MPEG-1 audio layer 2
(MP2)
pcm_*
PCM - HTML .
roq_dpcm
Id Software RoQ DPCM
sonic
sonicls
vorbis
Vorbis
wmav1
Windows Media Audio
v1
wmav2
Windows Media Audio
v2
abitrate=<>
/ ( : 224)
atag=<>
Windows (, atag=0x55).
bit_exact
( (I)DCT).
bit_exact , , , ,
.
user_data MPEG-4 .
, , .
threads=<1-8>
(threads) ( : 1).
vcodec=<>
( : mpeg4).
asv1
ASUS Video v1
asv2
ASUS Video v2
dvvideo
Sony Digital Video
ffv1
FFmpeg
ffvhuff
, 20% HuffYUV c
YV12
flv
Sorenson H.263,
Flash Video
h261
H.261
h263
H.263
h263p
H.263+
huffyuv
HuffYUV
libtheora
Theora
libx264
x264 H.264/AVC MPEG-4
Part 10
libxvid
Xvid MPEG-4 Part 2
(ASP)
ljpeg
Lossless JPEG
mjpeg
Motion JPEG
mpeg1video
MPEG-1
mpeg2video
MPEG-2
mpeg4
MPEG-4 (DivX 4/5)
msmpeg4
DivX 3
msmpeg4v2
MS MPEG4v2
roqvideo
ID Software RoQ Video
rv10
RealVideo
snow ( : vstrict)
FFmpeg ,
svq1
Apple Sorenson Video
1
wmv1
Windows Media Video,
1 ( WMV7)
wmv2
Windows Media Video,
2 ( WMV8)
vqmin=<1-31>
1 ( ,
: msmpeg4, h263 ,
, ,
).
2 mpeg4/mpeg1video
( ).
3 h263(p)/msmpeg4.
3 2 , 2 (
h263(p)
MB, msmpeg4 ,
.)
lmin=<0.01-255.0>
( : 2.0). Lavc lmin.
lmin lavc
, , vqmin. , lmin,
lavc
, vqmin . , , lmin
vqmin. , lmin/lmax
; mblmin/mblmax.
lmax=<0.01-255.0>
( : 31.0)
mblmin=<0.01-255.0>
( : 2.0).
, qprd, lumi_mask,
...
mblmax=<0.01-255.0>
( : 31.0).
vqscale=<0-31>
/ ( ).
,
( : -1).
snow , 0 .
, vqscale=0
.
1 ( vqmin ).
vqmax=<1-31>
, 10-31
( : 31).
mbqmin=<1-31>
, vqmin
mbqmax=<1-31>
, vqmax
vqdiff=<1-31>
I- P- ( : 3)
vmax_b_frames=<0-4>
B- -B-:
0 B- ( )
0-2 MPEG-4
vme=<0-5>
.
:
0 ( )
1 (, )
2 log ( , )
3 phods ( , )
4 EPZS: size=1,
*dia ( )
5 X1 (, EPZS)
8 iter ( , snow)
: 0-3 ,
.
me_range=<0-9999>
( : 0 ())
mbd=<0-2> ( *cmp, qpel)
( ),
.
, .
mbd 1 2, mbcmp
(, mbcmp
, , ). , (precmp,
subcmp, cmp, mbcmp) , ,
, mbd.
0 , mbcmp ( ).
1 MB, (=vhq).
2 MB, -.
vhq
, mbd=1, .
v4mv
4 ( ).
mbd>0 .
obmc
(H.263+)
loop
loop (H.263+)
,
inter_threshold <-1000-1000>
.
keyint=<0-300>
( : 250,
25fps .
MPEG-4).
,
.
,
, .
, . 0 1, .
>300 ,
, .
MPEG-1/2 <=30.
sc_threshold=<-1000000000-1000000000>
.
libavcodec , ,
.
. -1000000000 , .
1000000000 , ( : 0).
sc_factor=< >
I- ( : 1).
: 1-16.
2 6 PSNR ( 0.04 ) I-
.
6 PSNR ( 0.01 ,
sc_factor=6),
.
vb_strategy=<0-2> ( )
I/P/B-:
0 B- ( ).
1 B- .
b_sensitivity .
2 B- , ().
,
brd_scale.
b_sensitivity=< 0>
vb_strategy=1
B- ( : 40).
B-. PSNR,
.
,
b_sensitivity ; 10 -
.
brd_scale=<0-10>
B- ( : 0).
brd_scale ,
, .
,
brd_scale=1 , ,
brd_scale=2 .
,
2^(brd_scale+1) .
bidir_refine=<0-4>
,
.
B-.
0 ( ).
1-4 ( , ).
vpass=<1-3>
( ) , ,
( ) .
1 ( turbo)
2
3 N- ( N- )
, :
(vpass=1) . , CPU ,
turbo.
(vpass=2)
.
N- , (vpass=3, )
: , . ,
divx2pass.log,
MEncoder.
, ,
CPU, "qns".
.
.
CPU .
, vpass=1,
vpass=2.
3 , vpass=1
, vpass=3, vpass=3 ,
.
huffyuv:
pass 1
.
pass 2
(Huffman),
.
turbo ( )
,
CPU .
PSNR ( 0.01),
( 0.03dB) PSNR .
aspect=<x/y>
, MPEG .
, .
MPlayer ,
.
aspect .
:
aspect=16/9 aspect=1.78
autoaspect
, aspect, ,
(crop/expand/scale/.),
. ,
.
vbitrate=<>
( : 800).
: 1 = 1000
4-16000
( )
16001-24000000
( )
vratetol=<>
. 1000-100000 - .
(: 1 = 1000 ) ( : 8000)
: vratetol ,
vrc_(min|max)rate.
vrc_maxrate=<>
/ ( : 0, )
vrc_minrate=<>
/ ( : 0, )
vrc_buf_size=<>
.
MPEG-1/2 vbv , VCD
327, 917 SVCD 1835 DVD.
vrc_buf_aggressivity
vrc_strategy
.
, ,
, vrc_strategy 0.
0 lavc ( ).
1 Xvid (; ,
MPlayer Xvid 1.1
).
vb_qfactor=<-31.0-31.0>
B- -B- ( : 1.25)
vi_qfactor=<-31.0-31.0>
I- -I- ( : 0.8)
vb_qoffset=<-31.0-31.0>
B- -B- ( : 1.25)
vi_qoffset=<-31.0-31.0>
( : 0.0)
v{b|i}_qfactor > 0
I/B- = P- * v{b|i}_qfactor
+ v{b|i}_qoffset
(
P-) q= -q * v{b|i}_qfactor
+ v{b|i}_qoffset
:
, I/P- B- : lmin=
<ip_>:lmax= <ip_>:vb_qfactor=
<b_/ip_>.
vqblur=<0.0-1.0> ( )
( : 0.5),
( ).
0.0 .
1.0 .
vqblur=<0.0-99.0> ( )
( : 0.5),
( ).
vqcomp=<0.0-1.0>
. vrc_eq ( : 0.5).
-
.
vrc_eq=<>
1+(tex/avgTex-1)*qComp
tex^qComp
qcomp 0.5 - ( )
:
+,-,*,/,^
:
tex
iTex,pTex
, -
avgTex
avgIITex
I-
avgPITex
P-
avgPPTex
- P-
avgBPTex
- B-
mv
,
fCode
log2
iCount
/
var
mcVar
qComp
qcomp
isI, isP, isB
1, I/P/B, 0.
Pi,E
.
:
max(a,b),min(a,b)
/
gt(a,b)
1, a>b, 0 .
lt(a,b)
1, a<b, 0 .
eq(a,b)
1, a==b, 0 .
sin, cos, tan, sinh, cosh,
tanh, exp, log, abs
vrc_override=<>
(, , ...). , < >,
< >, <>[/< >, < >, <>[/...]]:
(2-31)
(-500-0)
%
vrc_init_cplx=<0-1000>
( 1)
vrc_init_occupancy=<0.0-1.0>
vrc_buf_size ( : 0.9)
vqsquish=<0|1>
qmin qmax.
0 .
1 ( ).
vlelim=<-1000-1000>
.
DC ( -4
quant=1):
0 ( )
-4 JVT
vcelim=<-1000-1000>
.
DC ( -4
quant=1):
0 ( )
7 JVT
vstrict=<-2|-1|0|1>
0
1 ,
MPEG-4 .
-1 libavcodec ( ).
-2 ,
MPlayer (snow).
vdpart
.
2 ,
( ).
:
1. MV
2. DC
3. AC
MV & DC , , AC 1. 2.
(MV & DC) , 3. (AC), ,
AC , MV & DC.
, , ,
AC/DC/MV.
vpsize=<0-10000> ( vdpart)
, .
0
( )
100-1000
ss
slice structured H.263+
gray
- ()
vfdct=<0-10>
DCT ( )
0 ( ).
1
2
3 MMX
4 mlib
5 AltiVec
6 AAN
idct=<0-99>
IDCT ( )
: To the best of our
knowledge all these IDCTs do
pass the IEEE1180 tests.
, IEEE1180.
0 ( ).
1 JPEG
2 simple
3 simplemmx
4 libmpeg2mmx (,
keyint >100)
5 ps2
6 mlib
7 arm
8 AltiVec
9 sh4
10 simplearm
11 H.264
12 VP3
13 IPP
14 xvidmmx
15 CAVS
16 simplearmv5te
17 simplearmv6
lumi_mask=<0.0-1.0>
- '' ,
,
.
, ,
,
, , ,
, PSNR.
:
,
.
:
,
- .
0.0
( )
0.0-0.3
dark_mask=<0.0-1.0>
- '' ,
,
.
, ,
,
, , ,
, PSNR.
:
,
.
:
,
/ TV / TFT - .
0.0
( )
0.0-0.3
tcplx_mask=<0.0-1.0>
( : 0.0 ()).
, ; tcplx_mask (
),
, .
( , ), , , ,
,
.
,
,
tcplx_mask.
scplx_mask=<0.0-1.0>
.
,
deblocking', , , .
( ),
; scplx_mask ,
, .
:
, ( scplx_mask).
0.0
( )
0.0-0.5
:
,
, scplx_mask
P , DC.
scplx_mask, , .
p_mask=<0.0-1.0> ( vi_qfactor)
inter .
,
( : 0.0 ()). p_mask=1.0
, .
border_mask=<0.0-1.0>
- MPEG-.
,
, 1/5 / , , ,
.
naq
().
(*_mask),
MB
. Naq MB
.
ildct
DCT.
ilme
( qpel).
alt
[scantable].
top=<-1-1>
-1
0
1
format=<>
YV12
444P
ffv1
422P
HuffYUV, JPEG , dv
ffv1
411P
JPEG , dv ffv1
YVU9
JPEG , ffv1 svq1
BGR32
JPEG ffv1
pred
( HuffYUV)
0
1 / [plane/gradient]
2 [median prediction]
pred
( JPEG )
0
1
2 -
3 / [plane/gradient]
6
coder
( ffv1)
0 (vlc)
(Golomb-Rice)
1 (CABAC)
context
( ffv1)
0 [context model]
1 [context model]
( ffvhuff)
0 [Huffman] ( )
1 [Huffman]
qpel
(quarter pel) ( ilme).
: , .
mbcmp=<0-2000>
,
mbd=0.
,
mbd.
0 (SAD)
, ( )
1 (SSE)
2 (SATD)
Hadamard
3 (DCT)
DCT
4 (PSNR)
(, )
5 (BIT)
,
6 (RD)
-,
7 (ZERO)
0
8 (VSAD)
9 (VSSE)
10 (NSSE)
,
11 (W53)
5/3 , snow
12 (W97)
9/7 , snow
+256
, () B-.
ildctcmp=<0-2000>
DCT ( mbcmp).
precmp=<0-2000>
( mbcmp) ( :0).
cmp=<0-2000>
full pel ( mbcmp) (
:0).
subcmp=<0-2000>
sub pel ( mbcmp) (
:0).
skipcmp=<0-2000>
FIXME: .
nssew=<0-1000000>
NSSE, , . 0 NSSE
SSE
,
,
( : 8).
predia=<-99-6>
dia=<-99-6>
.
- .
.
,
, .
,
, .
, .
- .
:
.
-3 () 3
-2 () 2
-1 [uneven
multi-hexagon search]
()
1 size=1 ( ),
EPSZ
0
000
0
2 size=2
0
000
00000
000
0
trell
.
8x8.
, PSNR,
(, ,
IDCT, , , .).
error lambda*bits.
lambda
, (QP)
bits "
,
error
cbp
[coded block pattern].
, + *.
( trell).
mv0
MB MV=<0,0> (.. )
. , mbd=0.
mv0_threshold=< >
, <0,0>
mv0_threshold,
<0,0>
( : 256).
mv0_threshold 0, (0.01)
PSNR, , , ;
mv0_threshold 320 PSNR (
, 1%, ).
:
mv0.
qprd ( mbd=2)
(QP)
last_pred=<0-99>
0 ( )
a 2a+1 x 2a+1
.
preme=<0-2>
0
1 I- ( )
2
subq=<1-8>
subpel ( qpel) ( : 8 ( ))
:
.
refs=<1-8>
( snow) ( : 1)
psnr
PSNR ( )
PSNR
, 'psnr_hhmmss.log'.
(), , .
mpeg_quant
MPEG H.263.
aic
AC MPEG-4 H.263+.
( 0.02 PSNR),
( 1%).
:
H.263+ AIC vqmin 8 .
aiv
inter vlc H.263+
umv
MV ( H.263+)
MV.
ibias=<-256-256>
[bias] intra (256 1.0,
MPEG
96, H.263 : 0)
: H.263 MMX ( vfdct=1
2), MPEG MMX ( vfdct=1
2).
pbias=<-256-256>
[bias] inter (256 1.0,
MPEG
96, H.263 : -64)
: H.263 MMX ( vfdct=1
2), MPEG MMX ( vfdct=1
2).
: , (-32 - -16 -64)
PSNR.
nr=<0-100000>
, 0 . 0-600 - ,
( : 0).
, , ,
, denoise3d hqdn3d.
qns=<0-3>
.
, , PSNR,
, , ( ) .
, .
( trell),
( )
.
0 ( )
1 .
2 + 1.
3 .
inter_matrix=< >
inter .
64 , .
intra_matrix=< >
intra .
64 , .
vqmod_amp
vqmod_freq
dc
intra DC ( : 8).
vcodec=mpeg2video, 8,
9, 10 11.
cgop (also see sc_threshold)
GOP.
,
(sc_threshold=1000000000).
gmc
.
(no)lowdelay
low delay MPEG-1/2 ( B-).
vglobal=<0-3>
.
0 , ( ).
1 [extradata] (
.mp4/MOV/NUT).
2 .
3 1 2.
aglobal=<0-3>
, vglobal .
level=<>
CodecContext Level.
31 41 Playstation 3.
skip_exp=<0-1000000>
FIXME: .
skip_factor=<0-1000000>
FIXME: .
skip_threshold=<0-1000000>
FIXME: .
nuv (-nuvopts)
Nuppel RTJPEG LZO.
, c RTJPEG, c LZO,
.
, i420, i420 c LZO, RTJPEG,
RTJPEG c LZO.
:
nuvrect
TV .
c=<0-20>
( : 1)
l=<0-20>
( : 1)
lzo
LZO ( ).
nolzo
LZO .
q=<3-255>
( : 255)
raw
RTJPEG .
rtjpeg
RTJPEG ( ).
xvidenc (-xvidencopts)
: (CBR),
pass=<1|2>
.
turbo ( )
,
CPU . , , PSNR,
PSNR
bitrate=<> (CBR )
/, <16000
/, >16000.
<> , Xvid
( )
( : 687 /).
fixed_quant=<1-31>
zones=<0>[/<1>[/...]] (CBR )
(, , ...).
< >,<>,<>.
:
q , =<2.0-31.0>
.
w , =<0.0.1-2.00)
%.
:
zones=90000,q,20
, 90000, 20.
zones=0,w,0.1/10001,w,1.0/90000,q,20
0-10000 10%,
90000
20. , ,
10% 89999 .
me_quality=<0-6>
.
, ( : 6).
, .
CPU,
, .
(no)qpel
, MPEG-4 .
,
. , , .
, ,
.
.
(no)gmc
Global Motion Compensation,
Xvid
(GMC-),
//.
,
.
(no)trellis
- ,
, [quantized coefficients]
entropy encoder.
, VHQ -
CPU,
( ).
, VHQ ( : ).
(no)cartoon
, /.
Xvid , Xvid
"" .
(no)chroma_me
. ,
.
( : ).
(no)chroma_opt
.
, .
.
PSNR ,
,
.
, , ,
- .
(no)hq_ac
AC intra
( : ).
vhq=<0-4>
[usual color domain]
,
.
, Xvid
[frequency domain] (DCT)
,
, .
:
0
1 [mode decision]
(inter/intra MB) ( )
2
3
4
(no)lumi_mask
.
'' ,
,
.
, ,
,
, , ,
, PSNR.
(no)grayscale
Xvid ,
-.
.
(no)interlacing
.
.
:
,
,
-vf scale=<>:<>:1.
min_iquant=<0-31>
I- ( : 2)
max_iquant=<0-31>
I- ( : 31)
min_pquant=<0-31>
P- ( : 2)
max_pquant=<0-31>
P- ( : 31)
min_bquant=<0-31>
B- ( : 2)
max_bquant=<0-31>
B- ( : 31)
min_key_interval=<> ( )
( : 0)
max_key_interval=<>
( : 10*fps)
quant_type=<h263|mpeg>
.
, MPEG
.
H.263 .
MPEG .
quant_intra_matrix=<_>
intra .
xvid4conf.
quant_inter_matrix=<_>
inter .
xvid4conf.
keyframe_boost=<0-1000> ( )
intra ,
, .
,
10 10% ,
( : 0)
kfthreshold=<> ( )
kfreduction.
,
, kfreduction. ( : 10).
kfreduction=<0-100> ( )
, , ,
( ). kfthreshold , ,
kfreduction - .
I- . ( : 30).
max_bframes=<0-4>
B-, I/P- ( : 2).
bquant_ratio=<0-1000>
B- -B-, 150=1.50 ( : 150)
bquant_offset=<-1000-1000>
B- -B-, 100=1.00 ( : 100)
bf_threshold=<-255-255>
B-.
, B- ( : 0).
, B- , , , B-
.
(no)closed_gop
Xvid GOP (Group Of
Pictures, , I-),
.
, GOP
P-, I-, B-.
, - ( : ).
(no)packed
AVI , .
( , )
,
, , ,
, .
:
,
ISO-MPEG-4 , DivX/
libavcodec/Xvid.
:
DivX,
frame_drop_ratio=<0-100> (
max_bframes=0)
.
.
, (
n-vop).
, n-vop,
:
,
!
rc_reaction_delay_factor=<>
, CBR
,
rc_averaging_period=<value>
CBR .
.
Xvid
( ).
" " Xvid
CBR.
rc_buffer=<value>
.
curve_compression_high=<0-100>
Xvid
"".
,
,
( :0).
curve_compression_low=<0-100>
Xvid
,
.
,
- . ( : 0).
overflow_control_strength=<0-100>
,
.
. ,
, .
,
.
"" ,
(
).
, ( , )
( : 5).
:
, !
max_overflow_improvement=<0-100>
,
.
,
. ( : 5).
max_overflow_degradation=<0-100>
,
.
,
. ( : 5).
container_frame_overhead=<0...>
, .
, .
, ( )
. Xvid
( ). 0 , Xvid
( : 24 - AVI).
profile=<profile_name>
VBV ( )
"", " " "DivX".
,
.
unrestricted
( )
sp0
0
sp1
1
sp2
2
sp3
3
asp0
0
asp1
1
asp2
2
asp3
3
asp4
4
asp5
5
dxnhandheld
DXN
dxnportntsc
NTSC DXN
dxnportpal
PAL DXN
dxnhtntsc
NTSC DXN
dxnhtpal
PAL DXN
dxnhdtv
HDTV DXN
:
-ffourcc.
DX50,
Xvid, DivX.
par=<mode>
(Pixel Aspect Ratio, PAR).
DAR (Display Aspect
Ratio), . PAR - .
: DAR = PAR * (/).
MPEG-4 5 ,
.
5 :
vga11
PAR PC .
.
pal43
4:3 PAR PAL.
.
pal169
ntsc43
ntsc169
( ).
ext
par_width
par_height.
:
, aspect autoaspect.
par_width=<1-255> ( par=ext)
.
par_height=<1-255> ( par=ext)
.
aspect=<x/y | f ( )>
, MPEG .
, ,
,
aspect , .
(no)autoaspect
, aspect,
(crop/expand/scale/ ),
.
psnr
PSNR ( )
PSNR
'psnr_hhmmss.log' .
(), , .
debug
./xvid.dbg. (
.)
Xvid 1.1.x.
bvhq=<0|1>
- B-
, ,
, -.
, P- vhq.
B-, ,
( : 1).
Xvid 1.2.x.
threads=<0-n>
n ( : 0).
, ,
, 16.
x264enc (-x264encopts)
bitrate=<>
/ (-: ).
,
( ratetol).
,
vbv_maxrate,
qp=<0-51>
, P-.
I- B- ip_factor
pb_factor, 20-40 - .
, . 0 - . , H.264
, MPEG-1/2/4:
H.264 (QP) .
: H264QP = 12 +
6*log2(MPEGQP). , QP=2 MPEG
QP=18 H.264.
crf=<1.0-50.0>
.
, QP.
, ,
QP,
.
pass=<1-3>
2- 3- .
,
.
1
2 ( )
3 N- ( )
, :
.
CPU- , ,
.
, (pass=2)
.
, (pass=3, )
: , .
, CPU.
(pass=3) - , , ,
.
, CPU.
(ABR),
.
ABR, .
- ABR, .
turbo=<0-2>
.
,
,
.
0 ( )
1 subq, frameref
inter-.
2 subq frameref 1,
ME
inter-.
1 PSNR
.
2 PSNR
+/- 0.05 .
keyint=<value>
IDR- ( : 250).
, ,
.
MPEG-1/2/4, H.264 DCT
keyint.
keyint_min=<1-keyint/2>
IDR- ( : 25).
, - I-, GOP.
H.264, I- GOP,
P- ,
( frameref). , I- .
IDR- P- , IDR-.
scenecut=<-1-100>
I- ( : 40).
scenecut, I-, keyint.
scenecut I-.
I-, ,
. -1 , I-
keyint , .
, ,
P- , I-,
" keyint".
frameref=<1-16>
,
B- P- ( : 1).
, ,
6 , .
,
, .
15 .
bframes=<0-16>
B- I- P- ( : 0)
(no)b_adapt
B-,
, ( : ).
, B-.
b_bias=<-100-100>
, b_adapt.
b_bias B- ( : 0).
(no)b_pyramid
B- . , 3 B-: I0 B1
B2 B3 P4.
, B- , MPEG-[124].
I0 P4 B1 B2 B3, B-
I0 P4.
, I0 P4 B2 B1 B3. B2
, B1 I0 B2, B3 B2 P4.
. , ;
bframes >= 2. : .
(no)deblock
deblocking ( : ).
,
.
deblock=<-6-6>,<-6-6>
- AlphaC0 ( : 0).
H.264 in-loop deblocking
. -, ,
. -,
,
.
- Beta ( : 0).
.
, ,
, , .
, ,
. ,
, ,
.
(no)cabac
CABAC (Context-Adaptive
Binary Arithmetic Coding) ( :
).
, 10-15% .
, .
qp_min=<1-51> (ABR )
, 10-30 ( : 10).
qp_max=<1-51> (ABR )
( : 51)
qp_step=<1-50> (ABR )
, /
( : 4).
ratetol=<0.1-100.0> (ABR )
( ) ( : 1.0)
vbv_maxrate=<> (ABR )
, / ( : )
vbv_bufsize=<> (ABR )
vbv_maxrate, ( : , ,
vbv_maxrate )
vbv_init=<0.0-1.0> (ABR )
, vbv_bufsize ( : 0.9)
ip_factor=<>
I- P- ( : 1.4)
pb_factor=<>
P- B- ( : 1.3)
qcomp=<0-1> (ABR )
( : 0.6).
,
.
cplx_blur=<0-999> ( )
. ( : 20).
"" ,
. cplx_blur , I- ,
P-, ,
(, fps)
- .
qblur=<0-99> ( )
( : 0.5).
"",
.
zones=<0>[/<1>[/...]]
(, , ...).
< >,< >,<>,
q=<0-51>
b=<0.01-100.0>
:
.
,
- qp_min/qp_max.
direct_pred=<name>
,
B-.
none .
spatial
. ( )
temporal
P-.
auto spatial
temporal.
Spatial temporal PSNR,
. Auto , . Auto
multipass. direct_pred=none
, .
(no)weight_b
B-.
,
, .
B- , .
bframes > 1.
partitions=<>
( :
p8x8,b8x8,i8x8,i4x4).
p8x8 p16x8, p8x16, p8x8.
p4x4 p8x4, p4x8, p4x4.
p4x4 subq >= 5,
.
b8x8 b16x8, b8x16, b8x8.
i8x8 i8x8. i8x8 ,
8x8dct.
i4x4 i4x4.
all .
none .
, p16x16, b16x16, and
i16x16
.
, ,
. , 16x16,
.
(no)8x8dct
:
4x4 8x8 DCT.
i8x8 .
4x4 DCT.
me=<> .
dia , 1 ()
hex , 2 ( )
umh ()
esa ( , umh)
me_range=<4-64>
( : 16)
subq=<1-9>
subpel.
. subq=5 10% ,
subq=1.
0
.
SAD [ ] (
subq=1, , , ).
1 0,
().
2
.
SATD [
].
.
3 2, .
4
.
SATD.
.
5
,
.
, SATD , ,
,
.
6 -
I- P- ( ).
7 -
.
8 -
I- P-.
9 -
().
" " : 4x4, 4x8, 8x4
, 8x8 , 16x16.
(no)chroma_me
subpixel ( : ).
subq>=5.
(no)mixed_refs
8x8 16x8
.
frameref>1.
trellis=<0-2> ( cabac)
, -
0 ( )
1
2 (, subq>=6)
psy-rd=rd[,trell]
.
rd=<0.0-10.0>
( subq>=6) ( :
1.0)
trell=<0.0-10.0>
trellis ( trellis, )
( : 0.0)
deadzone_inter=<0-32>
-trellis ( : 21).
( /),
,
( ).
deadzone_intra .
deadzone_intra=<0-32>
-trellis ( : 11).
, deadzone_inter, ,
intra .
,
deadzone_inter.
(no)fast_pskip
P- ( : ).
- ,
, .
(no)dct_decimate
dct P-,
( : ).
, ,
, ,
.
,
, .
nr=<0-100000>
, 0 . 100-1000 - , ,
,
( : 0).
, , ,
denoise3d hqdn3d.
chroma_qp_offset=<-12-12>
,
.
- <-2-2> ( : 0).
aq_mode=<0-2>
(AQ) :
0
1 .
2 ( ).
aq_strength=< >
(AQ)
( : 1.0).
0.6 AQ , 1.5 - AQ
.
cqm=<flat|jvt|<_>>
JM.
flat
flat 16 ( ).
jvt
JVT.
<_> JM .
:
Windows CMD.EXE ,
CQM .
.
CQM JM , .
cqm4iy=<list> ( cqm)
4x4 intra , 16
1-255, .
cqm4ic=<list> ( cqm)
4x4 intra , 16
1-255, .
cqm4py=<list> ( cqm)
4x4 inter , 16
1-255, .
cqm4pc=<list> ( cqm)
4x4 inter , 16
1-255, .
cqm8iy=<list> ( cqm)
8x8 intra , 64
1-255, .
cqm8py=<list> ( cqm)
8x8 inter , 64
1-255, .
level_idc=<10-51>
, A
H.264 ( : 51 - 5.1).
, .
, , ,
.
threads=<0-16>
CPU ( : 1).
. 0 auto x264
CPU
.
(no)global_header
, SPS PPS -
( : ).
, Sony PSP,
.
SPS PPS
IDR .
(no)interlaced
.
log=<-1-3>
, .
-1
0 .
1
2 PSNR ( )
3 PSNR, QP, , ,
(no)psnr
-.
: PSNR 'Y', 'U', 'V',
'Avg' PSNR mathematically
sound ( PSNR).
JM .
'Global' PSNR,
PSNR, log=3.
(no)ssim
Structural Similarity
Metric ( ).
PSNR,
.
(no)visualize
x264 .
x264 ,
, x264
, .
:
red/pink
intra
blue
inter
green
yellow
B-
.
, x264 .
, x264
, ,
.
xvfw (-xvfwopts)
Video for Windows ,
- .
codec=<>
, .
compdata=<>
( firstpass.mcf),
vfw2menc.
MPEG (-mpegopts)
MPEG 5 ,
, . , MPEG ,
MEncoder' ( -noskip, -mc, harddup
softskip ).
:
format=mpeg2:tsaf:vbitrate=8000
format=<mpeg1 | mpeg2 | xvcd | xsvcd
| dvd | pes1 | pes2>
( : mpeg2). pes1 pes2
(
[padding]), VDR ;
, , .
size=< 65535>
, , , ( : 2048).
muxrate=<>
( : 1800 /).
'format=mpeg1' 'mpeg2'
.
tsaf
, ; format=dvd.
dvdauthor "..audio sector
out of range...", , , .
interleaving2
,
.
vdelay=<1-32760>
, ( : 0),
, .
:drop.
adelay=<1-32760>
, ( : 0),
, .
drop
vdelay,
.
vwidth, vheight=<1-4095>
, MPEG-1/2.
vpswidth, vpsheight=<1-4095>
"pan and scan" ,
MPEG-2.
vaspect=<1 | 4/3 | 16/9 | 221/100>
MPEG-2 .
MPEG-1
.
vbitrate=<>
/ MPEG-1/2.
vframerate=<24000/1001 | 24 | 25 |
30000/1001 | 30 | 50 | 60000/1001 |
60 >
MPEG-1/2.
, telecine.
telecine
3:2 :
30000/1001 fps.
MPEG-2 ,
20000/1001, -ofps.
.
film2pal
FILM PAL NTSC PAL :
25 fps.
MPEG-2 ,
24000/1001, -ofps.
.
tele_src tele_dest
, DGPulldown
(Donand Graft).
;
,
.
MPEG-2, , ,
<= 1.5.
tele_src=25:tele_dest=30000/1001.
PAL NTSC:
vbuf_size=<40-1194>
, . ,
, , .
,
.
HDTV 400.
abuf_size=<4-64>
, .
, vbuf_size.
FFmpeg libavformat (-lavfdopts)
analyzeduration=<>
( ) ,
.
format=<>
libavformat.
o=<>=<>[,<>=<>[,...]]
AVOptions libavformat.
, , o=
AVOption, .
AVOptions FFmpeg. :
AVOptions MEncoder.
:
o=ignidx
probesize=<>
.
MPEG-TS
TS .
cryptokey=<_>
, .
, .
FFmpeg libavformat (-lavfopts) ( -of
lavf)
delay=<>
MPEG[12]:
, (SCR)
(DTS) ( ).
0.7 ( MPEG ).
.
format=<_>
, ( : ).
mpg
MPEG-1 MPEG-2 PS
asf
Advanced Streaming
Format
avi
wav
Waveform Audio
swf
Macromedia Flash
flv
Macromedia Flash
rm
RealAudio RealVideo
au
SUN AU
nut
NUT ()
mov
QuickTime
mp4
MPEG-4
ipod
MPEG-4 ,
Apple iPod.
dv
Sony Digital Video
matroska
Matroska
muxrate=<>
, /;
MPEG[12].
"buffer underflows".
o=<>=<>[,<>=<>[,...]]
AVOptions libavformat.
, , o=
AVOption, .
AVOptions FFmpeg. :
AVOptions MEncoder.
:
o=packetsize=100
packetsize=<>
, , [unitary] .
MPEG[12] : 2324
[S]VCD, 2048 .
preload=<>
MPEG[12]: ,
, (SCR)
(DTS) (
).
,
MPlayer MEncoder.
MPLAYER_CHARSET ( -msgcharset)
( : ).
"noconv" .
MPLAYER_HOME
, MPlayer .
MPLAYER_VERBOSE ( -v -msglevel)
( : 0).
-msglevel 5
MPLAYER_VERBOSE.
libaf:
LADSPA_PATH
LADSPA_PATH , . , .
FIXME: ladspa.
libdvdcss:
DVDCSS_CACHE
, .
[descrambling] DVD, .
DVDCSS_CACHE , ,
DVD .
DVDCSS_CACHE , libdvdcss
, "${HOME}/.dvdcss/" Unix
"C:\Documents and
Settings\$USER\Application
Data\dvdcss\" Win32.
"off" .
DVDCSS_METHOD
, libdvdcss
[scrambled] .
title, key or disc.
key
. libdvdcss
,
.
,
disc
, .
, libdvdcss
. CPU
64 .
title
, .
DVD,
, .
,
, , ,
DVD,
, RPC2 .
DVDCSS_RAW_DEVICE
""[raw] .
,
Linux "" raw(8). ,
, "" [highly aligned] :
Linux 2048 ( DVD).
DVDCSS_VERBOSE
libdvdcss.
0 .
1 stderr.
2 stderr.
DVDREAD_NOKEYS
.
.
HOME FIXME: .
libao2:
AO_SUN_DISABLE_SAMPLE_TIMING
FIXME: .
AUDIODEV
FIXME: .
AUDIOSERVER
Network Audio System
nat
, .
, DISPLAY.
tcp unix. : tcp/<_>:<_>,
<_>:<_>
[unix]:<_>.
NAS - 8000 <_> .
:
AUDIOSERVER=somehost:0
NAS somehost,
.
AUDIOSERVER=tcp/somehost:8000
NAS somehost,
TCP 8000.
AUDIOSERVER=(unix)?:0
NAS , 0 localhost
unix .
DISPLAY
FIXME: .
vidix:
VIDIX_CRT
FIXME: .
VIDIXIVTVALPHA
'disable'
VIDIX.
'ivtvfbctl'.
osdep:
TERM FIXME: .
libvo:
DISPLAY
FIXME: .
FRAMEBUFFER
FIXME: .
HOME FIXME: .
libmpdemux:
HOME FIXME: .
HOMEPATH
FIXME: .
http_proxy
FIXME: .
LOGNAME
FIXME: .
USERPROFILE
FIXME: .
GUI:
CHARSET
FIXME: .
DISPLAY
FIXME: .
HOME FIXME: .
libavformat:
AUDIO_FLIP_LEFT
FIXME: .
BKTR_DEV
FIXME: .
BKTR_FORMAT
FIXME: .
BKTR_FREQUENCY
FIXME: .
http_proxy
FIXME: .
no_proxy
FIXME: .
/usr/local/etc/mplayer/mplayer.conf
MPlayer
/usr/local/etc/mplayer/mencoder.conf
MEncoder
~/.mplayer/config
MPlayer
~/.mplayer/mencoder.conf
MEncoder
~/.mplayer/input.conf
( '-input keylist' )
~/.mplayer/gui.conf
GUI
~/.mplayer/gui.pl
GUI
~/.mplayer/font/
( font.desc .RAW)
~/.mplayer/DVDkeys/
CSS
, /path/to/movie.avi, MPlayer
:
/path/to/movie.sub
~/.mplayer/sub/movie.sub
MPLAYER
DVD:
mplayer dvd://1
DVD :
mplayer dvd://1 -alang ja -slang en
5, 6, 7:
mplayer dvd://1 -chapter 5-7
5, 6, 7:
mplayer dvd://5-7
multiangle DVD:
mplayer dvd://1 -dvdangle 2
DVD :
mplayer dvd://1 -dvd-device /dev/dvd2
DVD , VOB :
mplayer dvd://1 -dvd-device /path/to/directory/
DVD , title1.vob :
mplayer dvd://1 -dumpstream -dumpfile title1.vob
DVD dvdnav /dev/sr1:
mplayer dvdnav:////dev/sr1
HTTP:
mplayer http://mplayer.hq/example.avi
, RTSP:
mplayer rtsp://server.example.com/streamName
MPsub:
mplayer dummy.avi -sub source.sub -dumpmpsub
MPsub :
mplayer /dev/zero -rawvideo pal:fps=xx -demuxer rawvideo -vc null -vo null -noframedrop -benchmark -sub source.sub -dumpmpsub
V4L:
mplayer tv:// -tv driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv
Zoran ( , ):
mplayer -vo zr -vf scale=352:288 file.avi
Zoran ( ):
mplayer -vo zr2 -vf scale=352:288,zrmjpeg file.avi
DTS-CD :
mplayer -ac hwdts -rawaudio format=0x2001 -cdrom-device /dev/cdrom cdda://
-afm hwac3 -ac hwdts.
'/dev/cdrom' CD-ROM .
DTS ,
cdda://, format, hwac3 hwdts.
6- AAC :
mplayer -rawaudio format=0xff -demuxer rawaudio -af pan=2:.32:.32:.39:.06:.06:.39:.17:-.17:-.17:.17:.33:.33 adts_he-aac160_51.aac
pan (, ), .
geq:
mplayer -vf geq='128+(p(XY)-128)*(0.5-gt(mod(X/SW128)64))*(0.5-gt(mod(Y/SH128)64))*4'
MENCODER
DVD #2, :
mencoder dvd://2 -chapter 10-15 -o title2.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4
DVD #2, 640x480:
mencoder dvd://2 -vf scale=640:480 -o title2.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4
DVD #2, 512xHHH ( ):
mencoder dvd://2 -vf scale -zoom -xy 512 -o title2.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4
, 1800kbit :
mencoder dvd://2 -o title2.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:mbd=1:vbitrate=1800
, MJPEG :
mencoder dvd://2 -o title2.avi -oac copy -ovc lavc -lavcopts vcodec=mjpeg:mbd=1:vbitrate=1800
*.jpg :
mencoder "mf://*.jpg" -mf fps=25 -o output.avi -ovc lavc -lavcopts vcodec=mpeg4
( -vf ):
mencoder -tv driver=v4l:width=640:height=480 tv:// -o tv.avi -ovc raw
(pipe):
rar p test-SVCD.rar | mencoder -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800 -ofps 24 -
.
, , , .
. :)
- .
, (http://www.mplayerhq.hu/DOCS/
HTML/ru/bugreports.html)
.
MPlayer Arpad Gereoffy.
AUTHORS, .
MPlayer is (C) 2000-2009 The MPlayer
Team
Gabucino, Jonas Jermann
Diego Biurrun. Diego Biurrun.
. ,
MPlayer-DOCS. , ,
MPlayer-translations.
MPlayer 2009-03-02 MPlayer(1)