MPlayer

å称
æ¦è¦
æè¿°
交äºå¼æ§å¶
ç¨æ³
éç½®æ件
éç½®é
éç¨é项
ææ¾å¨é项ï¼ä»ç¨äºMPLAYERï¼
æµå离å¨/åªä½æµé项
OSD/åå¹é项
é³é¢è¾åºé项ï¼ä»ç¨äº MPLAYERï¼
é³é¢è¾åºé©±å¨ï¼ä»ç¨äº MPLAYERï¼
è§é¢è¾åºé项ï¼ä»ç¨äºMPLAYERï¼
è§é¢è¾åºé©±å¨ï¼ä»ç¨äºMPLAYERï¼
解ç /è¿æ»¤å¨é项
é³é¢è¿æ»¤å¨
è§é¢è¿æ»¤å¨
éç¨ç¼ç é项ï¼ä»ç¨äº MENCODERï¼
åç¼è§£ç å¨ä¸ç¨çç¼ç é项ï¼ä»ç¨äº MENCODERï¼
ç¯å¢åé
ç¸å³æ件
MPLAYER ç使ç¨ç¤ºä¾
MENCODER ç使ç¨ç¤ºä¾
ç¨åºç¼ºé·
ä½è

å称

mplayer − å½±è§ææ¾å¨
mencoder − å½±è§ç¼è§£ç å¨

æ¦è¦

mplayer [è¥å¹²é项] [æ件|URL|ææ¾å表|−]
mplayer
[è¥å¹²é项] æ件1 [è¥å¹²è¯¥æ件ä¸ç¨çé项] [æ件2] [è¥å¹²è¯¥æ件ä¸ç¨çé项]
mplayer
[è¥å¹²é项] {æ件åé项ç»} [该ç»ä¸ç¨çé项]
mplayer
[br]://[æ é¢][/设å¤] [è¥å¹²é项]
mplayer
[dvd|dvdnav]://[æ é¢|[èµ·å§æ é¢]−ä¸æ¢æ é¢][/设å¤] [è¥å¹²é项]
mplayer
vcd://轨é[/设å¤]
mplayer
tv://[é¢é][/è¾å¥æºä»£ç ] [è¥å¹²é项]
mplayer
radio://[é¢é|é¢ç][/ææ设å¤] [è¥å¹²é项]
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 çé¢å¤è§]
mencoder
[è¥å¹²é项] æ件 [æ件|URL|−] [−o æ件 | file://æ件 | smb://[ç¨æ·å:å¯ç @]主æº/æ件路å¾]
mencoder
[è¥å¹²é项] æ件1 [该æ件ä¸ç¨çé项] [æ件2] [该æ件ä¸ç¨çé项]

æè¿°

mplayer æ¯ä¸ä¸ª LINUX ä¸ççµå½±ææ¾å¨ï¼ä¹è½è¿è¡å¨ä¼å¤å¶å®çå¹³å°å CPU æ¶æä¸ï¼åè§å¼åææ¡£ï¼ãéè¿ä¼å¤åççåå·²ç¼è¯çç¼è§£ç å¨çæ¯æï¼å¶è½ææ¾ç»å¤§é¨åç MPEG/VOBãAVIãASF/WMA/WMVãRMãQT/MOV/MP4ãOgg/ OGMãMKVãVIVOãFLIãNuppelVideoãyuv4mpegãFILM å RoQ æ件ãè¿è½è§ç VCDãSVCDãDVDãèå 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 å ATIï¼åä¸äºç¡¬ä»¶ MPEG 解ç å¨å¡ï¼æ¯å¦ Siemens DVBãHauppauge PVR (IVTV)ãDXR2 å DXR3/Hollywood+ãå¶ä¸- ç»å¤§å¤æ°æ¯æ软件æ硬件æ¹å¼çç»é¢ç¼©æ¾ï¼å èè½å¤äº«åå¨å±æ- æ¾å½±è§å容çä½éªã

MPlayer å·æ OSDï¼å±ä¸æ¾ç¤ºï¼åè½ç¨äºæ¾ç¤ºç¶æä¿¡æ¯ï¼è½æ¾ç¤ºéç¨æé¯é½¿åé´å½±ææçæ¼äº®å¤§å- å¹ï¼å¹¶æä¾é®çæ§å¶æä½çå¯è§ååé¦ææãæ¯æ欧洲è¯ç§/ISO8859−1,2ï¼åçå©è¯ãè±è¯- ãæ·åè¯ççï¼ãæ¯æ夫è¯ç§åæé²è¯çåä½ï¼ä»¥å 12 ç§çå- å¹æ ¼å¼ï¼MicroDVDãSubRipãOGMãSubViewerãSamiãVPlayerãRTãSSAãAQTitleãJACOsubãPJS以åæ们èªå·±å¼åçï¼MPsubï¼å DVD åå¹ï¼SPU æµãVOBsub åå¯éèåå¹ï¼ã

mencoder ï¼MPlayer çå½±è§ç¼è§£ç å¨ï¼æ¯ä¸ä¸ªç®åçå½±è§ç¼è§£ç å¨ï¼å¶è®¾è®¡ä¸ºå° MPlayer å¯æ- æ¾çå½±è§å容ï¼è§ä¸æï¼ç¼ç æå¶ä»ç MPlayer å¯ææ¾æ ¼å¼ï¼è§ä¸æï¼ãè½ä»¥ 1ã2 æ 3 é¶æ®µçæ¹å¼ç¼ç ä¸º MPEG-4ï¼DivX/Xvidï¼ãlibavcodec ç¼è§£ç å¨æ¯æçä»»ä½ä¸ç§æ ¼å¼æ PCM/MP3/VBRMP3 é³é¢ãæ- ¤å¤è¿è½å¤å¤å¶åªä½æµï¼å·æ强大çè¿æ»¤å¨ç³»ç»ï¼crop, expand, flip, postprocess, rotate, scale, noise, RGB/YUV转æ¢ï¼ä»¥åæ´å¤çåè½ã

gmplayer æ¯å·æå¾å½¢åç¨æ·çé¢ç MPlayerãé¤äºä¸äºèªæé项ï¼åæ¾å¨ gui.conf ä¸ï¼ä»¥å¤ï¼å¶ä¸ MPlayer å·æåæ ·çé项ï¼ç¶èæäº MPlayer çé项ä¼åæ¾å¨ gui.conf ä¸ä»¥ä¾¿è½å¤ç¬ç«äº MPlayer 使ç¨ãï¼åè§ä¸æçå¾å½¢çé¢éç½®æ件ãï¼

æ¬æå页æ«å°¾æç¨æ³ç¤ºä¾ï¼è½è®©ä½ è¿éä¸æã

å¦è§ HTML ææ¡£ï¼

交äºå¼æ§å¶

MPlayer æä¸ä¸ªå®å¨å¯éç½®çï¼å½ä»¤é©±å¨çæ§å¶å±é¢ï¼è®©ä½ å¯ä»¥éè¿é®çãé¼ æ ãæ纵ææé¥æ§å¨ï¼éä½¿ç¨ LIRCï¼æ¥æ§å¶ MPlayerãåè§ −input é项ä¸å®å¶æ§å¶å±é¢çæ¹æ³ã
é®çæ§å¶

å·¦ å å³

åé/å¿«è¿ 10 ç§éã

ä¸ å ä¸

å¿«è¿/åé 1 åéã

PGUP å PGDWN

å¿«è¿/åé 10 åéã

[ å ]

å°å½åææ¾é度åå°/å¢å  10%ã

{ å }

åå/å åå½åææ¾é度ã

BACKSPACE

å°ææ¾é度é置为æ£å¸¸æ°´å¹³ã

< å >

å¨ææ¾å表ä¸åé/åè¿ã

ENTER

å¨ææ¾å表ä¸åè¿ï¼çè³å¯ä»¥è¶è¿æ«å°¾ã

HOME å END

ä¸ä¸ä¸ª/åä¸ä¸ªç¶å表ä¸çææ¾æ å¥å£ã

INS å DELï¼ä»ç¨äº ASX ææ¾å表ï¼

ä¸ä¸ä¸ª/åä¸ä¸ªä¾åæ¢çæ¥æºã

p / SPACE

æåï¼åæä¸ååæ¶æåï¼ã

.    

æ¥è¿ãæ第ä¸ä¸æååæ¾ï¼æ¯æä¸ä¸åææ¾ä¸å¸§ï¼ç´å°æå¶å®é®åæ¶æ- ¥è¿)ï¼ã

q / ESC

åæ¢ææ¾å¹¶éåºã

U    

æåææ¾ï¼å¹¶ä¸å½æªä½¿ç¨ −idle æ¶éåºï¼ã

+ å −

è°æ´é³é¢å»¶è¿ï¼å¢å /åå° 0.1 ç§ã

/ å *

éä½/æé«é³éã

9 å 0

éä½/æé«é³éã

( å )

è°æ´å£°é³å¹³è¡¡ï¼ä»¥ååäºå·¦/å³å£°éã

m    

éé³ã

_ï¼ä»ç¨äº MPEG-TSãAVI å libav åºçæ ¼å¼ï¼

å¨å¯ç¨çè§é¢è½¨éé´å¾ªç¯åæ¢ã

#ï¼ä»ç¨äº DVDãèå DVDãMPEGãMatroskaãAVI å libav åºçæ ¼å¼ï¼

å¨å¯ç¨çé³é¢è½¨éé´å¾ªç¯åæ¢ã

TABï¼ä»ç¨äº MPEG-TS å libav åºæ ¼å¼ï¼

å¨å¯ç¨çèç®é´å¾ªç¯åæ¢ã

f    

åæ¢å¨å±æ¨¡å¼ï¼å¦è§ −fsï¼ã

T    

åæ¢é¡¶ç½®æ¨¡å¼ï¼å¦è§ −ontopï¼ã

w å e

åå°/å¢å å¨æ¯æ¾ç¤ºæ¨¡å¼çè¦çèå´ã

o    

åæ¢ OSD ç¶æï¼æ  / æç´¢æ¡ / æç´¢æ¡ + 计æ¶å¨ / æç´¢æ¡ + 计æ¶å¨ + æ»æ¶é´ã

d    

åæ¢ä¸¢å¸§ç¶æï¼æ  / è·³è¿æ¾ç¤º / è·³è¿è§£ç ãï¼åè§ −framedrop å −hardframedropï¼ã

v    

åæ¢åå¹å¯è§è®¾ç½®ã

j å J

å¨å¯ç¨åå¹é´å¾ªç¯åæ¢ã

y å g

å¨åå¹å表ä¸åè¿/åéã

F    

åæ¢æ¾ç¤ºâ强å¶ä½¿ç¨çåå¹â模å¼ã

a    

åæ¢å¯¹é½åå¹æ¨¡å¼ï¼ä¸ / ä¸ / ä¸ã

x å z

è°æ´åå¹å»¶è¿ï¼å¢å /åå° 0.1 ç§ã

cï¼ä»ç¨äº −captureï¼

å¼å§/åæ¢æå主åªä½æµã

r å t

å°åå¹åä¸/ä¸ç§»å¨ã

iï¼ä»ç¨äº −edlout 模å¼ï¼

设置 EDL è·³è¿æ®µè½çèµ·å§ç¹æä¸æ¢ç¹ï¼å¹¶åå¥æå®çæ件ã

sï¼ä»ç¨äº −vf screenshotï¼

æªå±ã

Sï¼ä»ç¨äº −vf screenshotï¼

å¼å§/åæ¢æªå±ã

I    

å¨ OSD ä¸æ¾ç¤ºæ件åã

P    

å¨ OSD ä¸æ¾ç¤ºè¿åº¦æ¡ãå·²ææ¾æ¶é´ä»¥åæ»é¿åº¦ä¿¡æ¯ã

! å @

å®ä½å°åä¸ç« è/åä¸ç« èçèµ·å§å¤ã

Dï¼ä»ç¨äº−vo xvmcã−vo vdpauã−vf yadifã−vf kerndeintï¼

æ¿æ´»/ç¦ç¨è§£é¤éè¡æ«æè¿æ»¤å¨ã

A

å¨å¯ç¨ç DVD è§è§é´å¾ªç¯åæ¢ã

ï¼ä»¥ä¸æé®ä»å½ä½¿ç¨ç¡¬ä»¶å éçè§é¢è¾åºï¼xv, (x)vidix, (x)mga, ç- ï¼ï¼è½¯ä»¶åè¡¡å¨ï¼−vf eq or −vf eq2ï¼ï¼æè²è°è¿æ»¤å¨ï¼−vf hueï¼æ¶ææãï¼
1 å 2

è°æ´å¯¹æ¯åº¦ã

3 å 4

è°æ´äº®åº¦ã

5 å 6

è°æ´è²è°ã

7 å 8

è°æ´é¥±å度ã

ï¼ä»¥ä¸æé®ä»å½ä½¿ç¨ quartz æ corevideo è§é¢è¾åºé©±å¨æ¶ææãï¼
command + 0

å尺寸ã

command + 1

åå§å°ºå¯¸ã

command + 2

åå尺寸ã

command + f

åæ¢å¨å±æ¨¡å¼ç¶æï¼å¦è§ −fsï¼ã

command + [ å command + ]

设置影è§çªå£ç alpha å¼ã

ï¼ä»¥ä¸çæé®ä»å½ä½¿ç¨ sdl è§é¢è¾åºé©±å¨æ¶ææãï¼
c    

å¨å¯ç¨çå¨å±æ¨¡å¼é´åæ¢ã

n    

æ¢å¤ä¸ºåæ¥ç模å¼ã

ï¼ä»¥ä¸çæé®ä»å½ä½¿ç¨å·æå¤åªä½æé®çé®çæ¶ææãï¼
PAUSE

æåã

STOP 

åæ¢å¹¶éåºã

PREVIOUS å NEXT

åé/å¿«è¿ 1 åéã

ï¼ä»¥ä¸çæé®ä»ç¨äºç¼è¯æ¶åå«å¯¹äºçµè§ææ°åè§é¢å¹¿æ- è¾å¥çæ¯æçæåµï¼å¹¶ä¸ä¼å级é«äºä»¥ä¸çæé®å®ä¹ãï¼
h å k

éæ©ä¸ä¸ä¸ª/ä¸ä¸ä¸ªé¢éã

n    

æ¹åå¶å¼ã

u    

æ¹åé¢éå表ã

ï¼ä»¥ä¸çæé®ä»ç¨äºç¼è¯æ¶åæ¬å¯¹äº dvdnav æ¯æçæåµï¼ç¨äºèå导èªãï¼
å°é®ç 8

éæ©æé®åä¸ã

å°é®ç 2

éæ©æé®åä¸ã

å°é®ç 4

éæ©æé®åå·¦ã

å°é®ç 6

éæ©æé®åå³ã

å°é®ç 5

è¿å主èåã

å°é®ç 7

è¿åæè¿çèåï¼æä¼é¡ºåºæ¯ï¼ç« è->æ é¢->æ ¹ï¼ã

å°é®ç ENTER

确认éæ©ã

ï¼ä»¥ä¸æé®ç¨äºæ§å¶å¾æçµè§ï¼æ°æ®å¯ä»¥æ¥èªæ¨¡æçµè§è¾å¥ææ¯ MPEG ä¼ è¾æµãï¼
X    

æå¼/å³éå¾æçµè§åè½ã

Q å W

åæ¢è³ä¸ä¸ä¸ª/ä¸ä¸ä¸ªå¾æçµè§é¡µé¢ã

é¼ æ æ§å¶

æé® 3 å æé® 4

åé/å¿«è¿ 1 åã

æé® 5 å æé® 6

éä½/æé«é³éã

æ纵æ

å·¦ å å³

åé/å¿«è¿ 10 ç§ã

ä¸ å ä¸

å¿«è¿/åé 1 åã

æé® 1

æåã

æé® 2

åæ¢ OSD ç¶æï¼æ  / æç´¢æ¡ / æç´¢æ¡ + 计æ¶å¨ / æç´¢æ¡ + 计æ¶å¨ + æ»æ¶é´ã

æé® 3 å æé® 4

éä½/æé«é³éã

ç¨æ³

æ¯ä¸ªå½¢å¦âflagâçé项é½æä¸ä¸ªç¸å¯¹åºçå½¢å¦ânoflagâçé项ï¼å¦ï¼ä¸é项 −fs ç¸åçæ¯ −nofs é项ã

å¦ææé项æ æ为ï¼ï¼ä»ç¨äº XXXï¼ï¼åå¶åªè½ä¸é项 XXX ä¸å使ç¨ï¼æèåªå¨ç¼è¯æ¶åæ¬å¯¹äº XXX çæ¯ææåµä¸ä½¿ç¨ã

注æï¼ åé项解æå¨ï¼ç¨äºä¾å¦ −ao pcm ä¹ç±»çåé项ï¼æ¯æä¸ç§ç¹æ®çå- 符串转ä¹æ¹æ³ï¼ä»¥ç¨äºå¤é¨çå¾å½¢çé¢ã
å¶æ ¼å¼å¦ä¸ï¼
%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âãå个ç¨æ·ä¸ç¨çé项è¦çç³»ç»èå´å®ä¹çé项ï¼å½ä½¿ç¨ gmplayer æ¶ï¼gui.conf çé项è¦çå个ç¨æ·ä¸ç¨çé项ï¼ï¼èå½ä»¤è¡ä¸- æå®çé项è¦çå¶å®ææé项ãéç½®æ件çè¯- æ³æ¯âé项=<åæ°å¼>âï¼ä»»ä½â#âåé¢çå容é½è®¤ä¸ºæ¯æ³¨éãæ éåæ°å¼æ¢å¯ä½¿ç¨çé项å¯æåæ°å¼è®¾ä¸ºâyesâæâ1âæâtrueâï¼èå¦æè¦åç¨åå°å¶è®¾ä¸ºânoâæâ0âæâfalseâãçè³å- é项ä¹å¯ä»¥æ¤æ¹å¼è®¾å®ã

åæ ·å¯ä»¥ç¼åæ¯ä¸ªåªä½æ件ä¸ç¨çéç½®æ件ãå¦æè¦ç»åå«âmovie.aviâçä¸ä¸ªæ件设置ä¸ä¸ªéç½®æ件ï¼åå建ä¸ä¸ªå为âmovie.avi.confâçæ件ï¼å¶ä¸- åæ¾äºè¯¥åªä½æ件ä¸ç¨çé项ï¼å¹¶å°å¶æ¾å° ~/.mplayer/ ä¸ãåªè¦ç»åºäº −use−filedir−conf é项ï¼ææ¯éè¡å½ä»¤è¡ï¼ææ¯å¨å¨å±éç½®æ件ä¸- ç»åºï¼ï¼ä¹å¯ä»¥æéç½®æ件æ¾å°ä¸ææ- æ¾çåªä½æ件ç¸åçç®å½ä¸ãå¦æå¨åªä½æ件æå¨ç®å½ä¸æ¾å°å¶ä¸ç¨çéç½®æ件ï¼åä¸ä¼ä» ~/.maplyer ç®å½ä¸å è½½ä»»ä½å个åªä½æ件ä¸ç¨çéç½®ãå¦å¤ï¼−use−filedir−conf é项å许æ¯ä¸ªç®å½æä¸ä¸ªä¸ç¨çéç½®æ件ã对äºè¯¥é项ï¼MPlayer é¦åå°è¯å¨ææ- æ¾æ件çç®å½ä¸å è½½ mplayer.confï¼ç¶åå°è¯å è½½ä»»ä½å- å¨çå个åªä½æ件ä¸ç¨çéç½®ã

MPLAYER éç½®æ件示ä¾ï¼

# é»è®¤ä½¿ç¨ Matrox 驱å¨ã
vo=xmga
# æå欢å¨ççåçæ¶åç»ä¹ åç«ã
flip=yes
# 解ç /ç¼ç å¤ä¸ª PNG æ件ï¼
# èµ·å§æ件为 mf://æ件åæ©ç 
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

å¾å½¢çé¢éç½®æ件

å¾å½¢çé¢çèªæé项æï¼æ¬å·ä¸ä¸º 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:)ï¼ä»ç¨äº OSDï¼ï¼ ao_oss_mixer (mixer)ï¼ä»ç¨äº OSDï¼ï¼ ao_oss_mixer_channel (mixer-channel)ï¼ä»ç¨äº OSDï¼ï¼ ao_sdl_subdriver (sdl:)ï¼ä»ç¨äº SDLï¼ï¼ ao_surround (unused)ï¼ao_volnorm (af volnorm)ï¼ autosync (enable/disable)ï¼autosync_size (autosync)ï¼ cache (enable/disable)ï¼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ï¼load_fullscreen (yes/no)ï¼playbar (enable/disable)ï¼show_videowin (yes/no)ï¼vf_lavc (vf lavc)ï¼ä»ç¨äº DXR3ï¼ï¼ vf_pp (vf pp)ï¼ vo_dxr3_device (unused)ï¼ä»ç¨äº DXR3ï¼ã

åæ¾å¨ gui.conf ä¸ç MPlayer é项æï¼è¡¨ç¤ºä¸ºå¾å½¢çé¢é项åï¼æ¬å·ä¸ä¸º 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), osd_level (osdlevel)ï¼ softvol (softvol)ï¼ stopxscreensaver (stop-xscreensaver)ï¼ sub_auto_load (autosub)ï¼ sub_cp (subcp)ï¼ä»ç¨äº iconv onlyï¼ 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-desc é项å®ä¹æè¿°å容ï¼ä½¿ç¨ −profile help å°å¶æ¾ç¤ºåºæ¥ï¼ãè¦ä¸æ- ¢è¯¥éç½®éçå®ä¹ï¼åªéå¼å§å®ä¹å¦ä¸ä¸ªéç½®éï¼æ使ç¨éç½®éå称â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="é«è´¨é MPEG4 ç¼ç "
profile=mpeg4
lavcopts=mbd=2:trell=yes:v4mv=yes

éç¨é项

−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=<级å«>:<模å>=<级å«>:...>

ç´æ¥æ§å¶å个模åçæ¶æ¯è¯¦ç»ç¨åº¦ãâ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ï¼ä»ç¨äºå¾å½¢çé¢ï¼

å¾å½¢çé¢çéç½®æ件

system

ç³»ç»éç½®æ件

user 

ç¨æ·éç½®æ件

−quiet 

使æ§å¶å±å¹è¾åºç®ç¥ï¼å°¤å¶æ¯é»æ¢æ¾ç¤ºç¶æè¡ï¼å³ A: 0.7 V: 0.6 A-V: 0.068 ...ï¼ãç¹å«æå©äºå¨æ¢éç»ç«¯æèæ æ³æ£ç¡®å¤çå车符ï¼å³ \rï¼çç»ç«¯ä¸çæåµã

−priority <ä¼å级>ï¼ä»ç¨äº Windows å OS/2ï¼

æ ¹æ® Windows å OS/2 ä¸å¯ç¨çé¢å®ä¹ä¼å级设置 MPlayer çè¿ç¨ä¼å级ãå¯è®¾ç <ä¼å级> å¼æï¼

idle|belownormal|normal|abovenormal|high|realtime

è¦åï¼ ä½¿ç¨ realtimeï¼å®æ¶ï¼ä¼å级ä¼å¼èµ·ç³»ç»éæ»ã

−profile <éç½®é1,éç½®é2,...>

使ç¨æå®çéç½®éï¼−profile help æ¾ç¤ºå·²å®ä¹çéç½®éå表ã

−really−quietï¼å¦è§ −quietï¼

æ¾ç¤ºæ¯ −quiet æ´å°çè¾åºåç¶æä¿¡æ¯ãåæ¶ç¦ç¨å¾å½¢çé¢ä¸çé误æ¶æ¯å¯¹è¯æ¡ã

−show−profile <é置轮å»>

æ¾ç¤ºéç½®éçæè¿°åå容ã

−use−filedir−conf

å¨æ£ææ¾æ件çç®å½ä¸å¯»æ¾è¯¥æ件ä¸ç¨çéç½®æ件ã
è¦åï¼
ææ¾ä¸ä¿¡ä»»çæ°æ®åªä½ä¸çå容å¯è½æå±é©ã

−v     

æé«æ¶æ¯è¯¦ç»çº§å«ï¼å½ä»¤è¡ä¸æ¯åç°ä¸ä¸ª −v æé«ä¸çº§ã

ææ¾å¨é项ï¼ä»ç¨äºMPLAYERï¼

−autoq <è´¨é>ï¼ä¸ −vf [s]pp ä¸å使ç¨ï¼

æ ¹æ®å¯ç¨ç CPU 空é²æ¶é´å¨æè°æ´åæå¤çç级å«ãæå®çè´¨éæ°å¼å°æ¯æ使ç¨çæé«çº§å«ãé常å¯ä»¥ä½¿ç¨è¾å¤§çæ°å¼ãå¿é¡»ä½¿ç¨ä¸å¸¦åæ°ç −vf [s]pp é项以使该é项起ä½ç¨ã

−autosync <å å>

åºäºæµå¾çé³é¢å»¶è¿éæ¥è°èé³è§é¢çåæ¥ãæå® −autosync 0ï¼å³é»è®¤å¼ï¼å°å¯¼è´å¸§ææ¾ç计æ¶å®å¨åºäºæµå¾çé³é¢å»¶è¿ãæå® −autosync 1 åæ ·å¦æ¤ï¼ä½ä¼å°å¹è°æ´æ使ç¨çé³è§é¢ä¿®æ- £ç®æ³ãå°è¯¥éé¡¹è®¾ä¸ºå¤§äº 1 çæ´æ°æå©äºæ- æ¾è§é¢å¸§çä¸å¹³ç¨³çæåµï¼ä½ç¨ −nosound å¯ä»¥æ£å¸¸æ- æ¾ççµå½±ãå¼è¶å¤§ï¼ææ¾ç计æ¶è¶æ¥è¿äº −nosoundãå°è¯ç¨ −autosync 30 å¯ç¼è§£æªå®ç¾å®ç°é³é¢å»¶è¿æ£æµç声å¡é©±å¨çé®é¢ã使ç¨è¿ä¸ªå¼åï¼å¦æåºç°äºé³è§é¢åæ- ¥ä¸ç大å离ï¼ååªéè¦ 1 æ 2 ç§æ¶é´å°±å¯ä»¥è§£å³ãå¨ææç声å¡é©±å¨ä¸ï¼é³è§é¢å离çªç¶åºç°æ¶ååºæ¶é´ä¸ææ延è¿ï¼è¿æ¯æå¼æ- ¤é项çå¯ä¸å¯ä½ç¨ã

−benchmark

ææ¾åå¨ç»ç«¯æå°ä¸äºå³äº CPU 使ç¨çå丢帧æ°çç»è®¡ä¿¡æ¯ãä¸ −nosound å −vo null ä¸å使ç¨å¯ç¨äºååè¯æµè§é¢ç¼è§£ç å¨çæ§è½ã
注æï¼
使ç¨è¯¥é项åï¼å³ä½¿åªææ¾è§é¢ MPlayer ä¹å°å¿½ç¥æ¯ä¸ªå¸§çææ¾æ¶é´çä¿¡æ¯ï¼å¯ä»¥è®¤ä¸ºè¿æ¯ä¸éå¶å¸§çï¼ã

−colorkey <ç¼å·>

å°éæè²çé®å¼æ¹ä¸ºæéç RGB æ°å¼ã0x000000 æ¯é»è²è 0xffffff æ¯ç½è²ãä» cvidixãfbdevãsvgaãvesaãwinvidixãxmgaãxvidixãxoverãxvï¼åè§ −vo xv:ckï¼ãxvmcï¼åè§ −vo xv:ckï¼å directx çè§é¢è¾åºé©±å¨æ¯æã

−nocolorkey

ç¦ç¨éæè²ãä» 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ï¼ç¨äºè°è¯ä»£ç ï¼

ä¸æ¦ç¨åºå´©æºæåºç° SIGTRAP èªå¨èä¸ gdb è°è¯ç¨åºãæ¯æ该é项å¿é¡»ç¼è¯æ¶å·²éç½® −−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/en/ edl.htmlã

−edl-backward-delay <æ°å¼>

å½å¨ææ¾è¿ç¨ä¸ä½¿ç¨äº EDL 并ååæ¶ï¼å¯è½ä¼åå¨ææ¡ EDL è®°å½ä¸- é´ãå¨æ¤æåµä¸ï¼MPlayer ä¼è¿ä¸æ¥ååè³è¿æ¡ EDL è®°å½çèµ·å§ä½ç½®ï¼ä¹åä¼ç«å³è·³è¿EDL è®°å½ææè¿°çåºæ¯ã为é¿åè¿ç§ç°è±¡ï¼MPlayer ä¼è·³è³è· EDL è®°å½å端æ个åºå®é´éå¤ã该åæ°ä»¥ç§ä¸ºåä½æå®è¿ä¸ªæ¶é´é´éãï¼é»è®¤å¼ï¼2 ç§ï¼ã

−edl-start-pts

æ ¹æ®æææ¾æ件çèµ·å§æ¶é´è°æ´ EDL è®°å½çä½ç½®ä¿¡æ¯ãæäºæ ¼å¼ï¼å°¤å¶æ¯ MPEG TSï¼é常起å§äºä¸ä¸ªéé¶çå½åæ¶é´æ ç¾å¼ï¼å¹¶ä¸å½ä»¥ −edlout é项çæ EDL æ件æ¶ï¼EDL è®°å½å«æä¸äºåªå¯¹è¿ä¸ªç¹å®æ件æ¥è¯´æ¯æ- £ç¡®çç»å¯¹æ°å¼ãå¦æéæ°ç¼ç æå¦ä¸ç§æ ¼å¼ï¼è¯¥ EDL æ件ä¸åéç¨ãä½¿ç¨ −edl-start-pts å°èªå¨æ ¹æ®èµ·å§æ¶é´è°æ´ EDL ä½ç½®ä¿¡æ¯ï¼å½çæ EDL æ件æ¶ï¼æ¯æ¡ EDL è®°å½å°åå»èµ·å§æ¶é´å¼ï¼å½ä½¿ç¨ EDL æ件æ- æ¾æ¶ï¼æ¯ä¸ª EDL ä½ç½®ä¿¡æ¯å°å ä¸æ件çèµ·å§æ¶é´å¼ã

−noedl-start-pts

ç¦æ¢è°æ´ EDL ä½ç½®ä¿¡æ¯ã

−enqueueï¼ä»ç¨äºå¾å½¢çé¢ï¼

å°å½ä»¤è¡ä¸æç»æ件æå¥ææ¾å表ä½ä¸ç«å»ææ¾ã

−fixed−vo

强å¶ä½¿ç¨å个åºå®çè§é¢ç³»ç»ç¨äºå¤ä¸ªæ件çææ¾ï¼ä¸æ¬¡åå§å/ç»æ- ¢æä½ç¨äºæææ件ï¼ãè¿æ ·åªæå¼ä¸ä¸ªçªå£ï¼å°ç¨äºæææ件çæ- æ¾ãç®å以ä¸é©±å¨å¼å®¹ fixed-voï¼glãgl_tiledãmgaãsvgaãx11ãxmgaãxvãxvidix å dfbmgaã

−framedropï¼å¦è§ −hardframedropï¼æªä½¿ç¨ −nocorrect−pts
æ¶åªå¯ç¨äºæµè¯ï¼

è·³è¿æäºå¸§çæ¾ç¤ºä»èå¨è¿è¡æ¢çæºå¨ä¸ä¿æé³è§é¢åæ- ¥ãè§é¢è¿æ»¤å¨ä¸ä¼åºç¨å°è¿äºå¸§ä¸ãå¯¹äº B-帧æ¥è¯´ï¼çè³è§£ç ä¹å®å¨è·³è¿ã

−(no)gui

å¯ç¨æç¦ç¨å¾å½¢çé¢ï¼é»è®¤æ¹å¼åå³äºå¯æ§è¡æ件çæ件åï¼ãä»è½ä½ä¸ºå½ä»¤è¡ç¬¬ä¸ä¸ªåæ°èµ·ä½ç¨ãæ æ³ä½ä¸ºéç½®æ件é项起ä½ç¨ã

−gui-include <å¾å½¢çé¢éç½®æ件>ï¼å¦è§ −includeï¼ï¼ä»ç¨äºå¾å½¢çé¢ï¼

æå®å¨é»è®¤ç gui.conf ä¹å解æçå¾å½¢çé¢éç½®æ件ã

−h, −help, −−help

æ¾ç¤ºç®ççé项æ¦è¦ã

−hardframedropï¼æªä½¿ç¨ −nocorrect−pts æ¶åªå¯ç¨äºå®éªï¼

æ´å å¯éå°ä¸¢å¸§ï¼ä¸æ解ç è¿ç¨ï¼ãä¼å¯¼è´å¾å失çï¼æ³¨æï¼libmpeg2 解ç å¨å°¤å¶å¯è½å¨ä½¿ç¨è¯¥é项åå´©æºï¼æ以请èè使ç¨â−vc ffmpeg12,âã

−heartbeat−cmd

ææ¾æ¶æ¯é 30 ç§éè¿ system() è°ç¨ï¼å³éè¿ shell è°ç¨ï¼æ§è¡çå½ä»¤ã

注æï¼ MPlayer æ§è¡æ- ¤å½ä»¤æ¶ä¸å ä»¥æ£æ¥ï¼æ以你æ责任确ä¿è¯¥å½ä»¤ä¸é æä»»ä½å®å¨é®é¢ï¼ä¾å¦ï¼å¦æâ.âå°±åå¨ Windows ä¸é£æ ·ä½äºæ索路å¾ä¸- ï¼ååºç¡®ä¿ä½¿ç¨å®æ´è·¯å¾ï¼ã并ä¸è¯¥é项åªæå¨æ- æ¾è§é¢æ¶ææï¼å³æ²¡æä½¿ç¨ −novideoï¼ä½å¯ä»¥ä½¿ç¨ −vo nullï¼ã

该é项å¯ä»¥â滥ç¨âäºç¦ç¨ä¸æ¯æè§èç X API è°ç¨çå±å¹ä¿æ¤ç¨åºãï¼å¦è§ −stop−xscreensaverï¼å¦æè§å¾è¿å¤ªå¤æäºï¼è¯·è¦æ±å±å¹ä¿æ¤ç¨åºçç¼åèæ¯æè§èç X API è°ç¨ã

ç¨äº xscreensaver ç示ä¾ï¼ mplayer −heartbeat−cmd "xscreensaver−command −deactivate" file

ç¨äº GNOME screensaver ç示ä¾ï¼ mplayer −heartbeat−cmd "gnome−screensaver−command −p" file

−heartbeat−interval

æå®æ¯éå¤ä¹ −heartbeat−cmd è¦æ§è¡ä¸æ¬¡ï¼ä»¥ä¸¤æ¬¡æ§è¡é´ç¸éçç§æ°ä¸ºåä½ï¼é»è®¤å¼ï¼30.0ï¼ã

−identify

为 −msglevel identify=4 çç®ä¾¿åæ³ã使ç¨ä¾¿äºè§£æçæ ¼å¼æ¾ç¤ºæ件åæ°ãåæ¶æå°æ´ä¸ºè¯¦ç»çå- å¹åé³è½¨çè¯è¨ä¸ ID å·ä¿¡æ¯ãå¨æäºæå½¢ä¸ï¼ä½¿ç¨ −msglevel identify=6 è½å¾å°æ´å¤çä¿¡æ¯ãä¾å¦ï¼å¯¹äºä¸å¼  DVD æèå DVDï¼è¯¥é项è½ååºæ¯ä¸ªæ é¢çç« èåæ¶é¿ï¼ä»¥åä¸ä¸ªç¢ç ID å·ãå°è¯¥éé¡¹ä¸ −frames 0 ä¸èµ·ä½¿ç¨è½ç¦æ- ¢ææè§é¢è¾åºãåè£è¯¥é项çèæ¬ TOOLS/midentify.sh è½ç¦æ¢ MPlayer çå¶å®è¾åºï¼å¹¶ä¸ï¼é¡ºå©çè¯ï¼å°æ件å转ä¹ä¸º shell ç¨åºä½¿ç¨çå½¢å¼ã

−idleï¼å¦è§ −slaveï¼

å½æ²¡ææ件ææ¾æ¶ï¼è®© MPlayer 空转è¿è¡èééåºãéå¸¸å¨ slave 模å¼ä¸æç¨ï¼è½éè¿è¾å¥å½ä»¤æ§å¶ MPlayerã
ä½¿ç¨ gmplayer æ¶ï¼−idle æ¯é»è®¤è®¾ç½®ï¼ä½¿ç¨ −noidle åå°å¨æææ件ææ¾åéåºå¾å½¢çé¢ã

−input <å½ä»¤>

该é项å¯ç¨äºéç½®è¾å¥ç³»ç»çæäºé¨åãæå®çè·¯å¾ç¸å¯¹äº ~/.mplayer/ã
注æï¼
èªå¨è¿æåè½ç®ååªæ游ææ纵ææ¯æã

å¯ç¨çå½ä»¤æï¼

conf=<æ件å>

æå®è¾å¥éç½®æ件代æ¿é»è®¤ä½¿ç¨ç ~/.mplayer/ input.confãå¦æ没æç»åºå®æ´è·¯å¾åï¼åä½¿ç¨ ~/.mplayer/ <æ件å>ã

ar-dev=<设å¤>

ç¨ä½è¹æ IR é¥æ§å¨ç设å¤ï¼é»è®¤å¼æ¯èªå¨ä¾¦æµï¼ä»ç¨äº Linuxï¼ã

ar-delay

å¼å§èªå¨è¿ææ个æé®ä¹å延è¿å¤å°æ¯«ç§ï¼0 为ç¦ç¨ï¼ã

ar-rate

èªå¨è¿ææ¶æ¯ç§äº§ççæé®æ¬¡æ°ã

(no)default-bindings

ä½¿ç¨ MPlayer é»è®¤æåµä¸èªå¸¦çé®ä½è®¾ç½®ã

keylist

ååºææå¯ç»å®å½ä»¤çæé®ã

cmdlist

ååºææå¯ç»å®æé®çå½ä»¤ã

js-dev

æå®ä½¿ç¨çæ纵æ设å¤ï¼é»è®¤å¼ï¼/dev/input/js0ï¼ã

file=<æ件å>

ä»æç»æ件ä¸è¯»åå½ä»¤ãé常æå©äºä¸åå¥ååºç®¡éä¸å使ç¨ã
注æï¼
å½æç»æ件æ¯åå¥ååºç®¡éæ¶ï¼MPlayer ä¼æå¼ä¸¤ä¸ªç®¡é两端ï¼è¿æ ·å°±å¯ä»¥éå¤æ§è¡âecho "seek 10" > mp_pipeâè管éä»ç¶ææã

−key−fifo−size <2−65000>

æå®åå¥ååºéåç大å°ä¾ç¼å²æé®äºä»¶ï¼é»è®¤å¼ï¼7ï¼ã大å°ä¸º n çåå¥ååºéåè½å®¹çº³ (n−1) ç¼å²äºä»¶ãå¦æ设太å°ä¸äºæé®äºä»¶ä¼ä¸¢å¤±ãå¦æ设太大ï¼MPlayer å¨å¤çç»ç¼å²çäºä»¶æ¶å¯è½æ¾å¾åæ¯å¡ä½äºãå¦ææ³å¾å°åå¼å¥è¯¥é项åç MPlayer çæ¬ä¸æ ·çè¡ä¸ºææï¼åå¯¹äº Linux åºè®¾ä¸º 2ï¼å¯¹äº Windows åºè®¾ä¸º 1024ãå¦æå¼è®¾å¾å°ï¼ååºå½è®¾ç½® −doubleclick−time 为 0 以ç¦ç¨åå»ï¼è¿æ ·åå»äºä»¶å°±ä¸ä¼ä¸å¶å®å¸¸è§çé®çäºä»¶äºå¤ºç¼å²ç©ºé´äºã

−lircconf <æ件å>ï¼ä»ç¨äº LIRCï¼

æå® LIRC çéç½®æ件ï¼é»è®¤å¼ï¼~/.lircrcï¼ã

−list−properties

æå°å¯ç¨çå±æ§å表ã

−loop <次æ°>

éå¤ææ¾çµå½± <次æ°> éã0 表示ä¸æéå¤ææ¾ã

−menuï¼ä»ç¨äº OSD èåï¼

æå¼ OSD èåæ¯æã

−menu−cfg <æ件å>ï¼ä»ç¨äºOSDèåï¼

使ç¨å¦å¤ç menu.confã

−menu−chroot <è·¯å¾>ï¼ä»ç¨äºOSDèåï¼

å°æ件éæ©èåçæ ¹ç®å½æ´æ¹ä¸ºä¸ä¸ªæå®çä½ç½®ã

示ä¾ï¼

−menu−chroot

éå¶æ件éæ©èååªè½æ¥æ¾ /home åå¶ä»¥ä¸çç®å½ï¼å³ä¸å¯è½è®¿é® /ï¼ä½å¯ä»¥è®¿é®/home/user_nameï¼ã

−menu−keepdirï¼ä»ç¨äºOSDèåï¼

æ件æµè§å¨ä»æè¿è®¿é®è¿çä½ç½®å¼å§æµè§ï¼èéå½åç®å½ã

−menu−root <åæ°å¼>ï¼ä»ç¨äº OSD èåï¼

æå®ä¸»èåã

−menu−startupï¼ä»ç¨äº OSD èåï¼

å¨ MPlayer å¯å¨æ¶æ¾ç¤ºä¸»èåã

−mouse−movements

å许 MPlayer æ¥æ¶è§é¢è¾åºé©±å¨æ¥åçæé移å¨äºä»¶ãéæ© DVD èåä¸- çæé®éè¦è¯¥é项ãæ¯æåºäº X11 çè§é¢è¾åºï¼x11ãxvãxvmcçï¼ä»¥å glãgl_tiledãdirect3d å corevideo çè§é¢è¾åº

−noar

å³é对äºè¹æ IR é¥æ§å¨çæ¯æã

−noconsolecontrols

é»æ¢ MPlayer 读åæ åè¾å¥çé®çäºä»¶ã读åæ åè¾å¥çæ°æ®æ¶æç¨ãå½ä»¤è¡ä¸æ − æ¶ä¼èªå¨å¯ç¨è¯¥é项ãæäºæåµä¸å¿é¡»æå¨è®¾ç½®ï¼æ¯å¦ï¼å¦æè¦æå¼ /dev/ stdin ï¼æèç³»ç»ä¸ç±»ä¼¼ç设å¤ï¼ï¼å¨ææ¾å表ä¸- 使ç¨æ åè¾å¥ï¼ææ¯æç®ä¹åéè¿è¢«å¨å½ä»¤ loadfile æ loadlist ä»æ åè¾å¥è¯»åå容ã

−nojoystick

å³é对äºæ纵æçæ¯æã

−nolirc

å³éå¯¹äº LIRC çæ¯æã

−nomouseinput

ç¦ç¨é¼ æ æé®çâæ/æ¾âäºä»¶çè¾å¥ï¼mozplayerxp çä¸ä¸æèåéè¦è¯¥é项ï¼ã

−rtcï¼ä»ç¨äº RTCï¼

å¯ç¨ Linux RTCï¼å®æ¶æ¶é − /dev/rtcï¼ç¨äºè®¡æ¶ã该éé¡¹æ¯ 1/1024 ç§å¤éè¿ç¨ä»¥æ ¡å¯¹å½åæ¶é´ã对äºé置为æ¡é¢åºç¨çç°ä»£ Linux åæ ¸æ¥è¯´æ²¡æä»ä¹ä½ç¨ï¼å ä¸ºå¨è°ç¨æ®é计æ¶æ¹å¼ç sleep æ¶ï¼è¿äºå核已ç»ä»¥ç¸ç±»ä¼¼ç精度å¤éè¿ç¨äºã

−pausing <0−3>ï¼ä»ç¨äº MPlayerï¼

æå®å½ä»¤é»è®¤ä½¿ç¨çææ¶è¡ä¸ºï¼ä¹å°±æ¯å½ä»¤ç»åï¼MPlayer æ¯ç»§ç»æ- æ¾è¿æ¯æåãåè§ DOCS/tech/slave.txt 以äºè§£æ´å¤è¯¦æã

0

继ç»

1

æåï¼pausingï¼

2

ä¿ææå / ææ¾ç¶æï¼pausing_keepï¼

3

åæ¢æå / ææ¾ç¶æï¼pausing_toggleï¼

4

æååæ¶ç»é¢å¸§æ æ¥è¿ï¼å®éªæ§ï¼ï¼pausing_keep_forceï¼

−playing−msg <å符串>

å¼å§ææ¾åæå°å符串ãæ¯æ以ä¸çåéæ¿æ¢ï¼

${NAME}

è§æ¢ä¸ºå±æ§ NAME çå¼ã

?(NAME:TEXT)

ä»å½å±æ§ NAME åå¨æ¶æ¿æ¢ä¸º TEXT çå¼ã

?(!NAME:TEXT)

ä»å½å±æ§ NAME ä¸åå¨æ¶æ¿æ¢ä¸º TEXT çå¼ã

−playlist <æ件å>

æ ¹æ®ææ¾å表ææ¾æ件ï¼æ¯æ ASXãWinampãSMILãææ¯è¡ä¸ä¸ªæ件åçæ ¼å¼ï¼ã
è¦åï¼MPlayer 解æå使ç¨æ- æ¾å表æ件çæ¹å¼ä¸å·å¤é²èæ¶ææ建æ件çå®å¨æ§ãè¿äºæ件å¯è½è§¦åå±é©è¡ä¸ºã该éæ£å- å¨äºè¿ä»ææç MPlayer ççæ¬ä¸ï¼ä½ä¸å¹¸çæ¯ä¹åæªè½å°æ- ¤æåµå¦¥ååå¥ææ¡£ä¸ï¼èä¸ä¸äºç¨æ·å·²åæ¤è¯¯å¯¼èå° −playlist ç¨äºä¸å¯ä¿¡æ¥æºçåæ°ã请å¿å° −playlist ç¨äºä»»æçå ç¹ç½æ¥æºæä½ ä¸ä¿¡ä»»çæ件ï¼
注æï¼
该é项å¤ç为ä¸é¡¹æ¡ç®ï¼å¶åçé项ä»åºç¨äºè¯¥ææ¾å表çåç´ ã
FIXME: éå½»åºè§£éæ¸æ¥å¹¶è®°å¥ææ¡£ã

−allow-dangerous-playlist-parsing

该é项å许å°ä»»ä½æ件解æ为æ- æ¾å表ãç¨äºä¾å¦ä¸å°æå¡å°ä¸ä¸ªæ件å¬å为æ- æ¾å表类åçæåµãä»å½æ¸æ¥ç¥éæææ¶åçæå¡å¨é½å¯ä¿¡ä»»æ¶æå¯ç¨è¯¥é项ãMPlayer çææ¾å表å¤ç代ç è®¾è®¡ä¸å¹¶ä¸è½åºå¯¹æ¶æææ¾å表æ件ã

−rtc−device <设å¤>

æå® RTC 计æ¶ç设å¤ã

−shuffle

以éæºé¡ºåºææ¾æ件ã

−skin <å称>ï¼ä»ç¨äº GUIï¼

ä»é»è®¤çé¢å¤è§ç®å½ ~/.mplayer/skins/ å /usr/local/share/mplayer/ skins/ ä¸çåæ°ææå®å称çåç®å½ä¸è£è½½çé¢å¤è§ã

示ä¾ï¼

−skin fittyfene

å°è¯ä» ~/.mplayer/skins/fittyfene å è½½ï¼ç¶åæ¯ /usr/ local/share/mplayer/skins/fittyfeneã

−slaveï¼å¦è§ −inputï¼

åæ¢å°è¢«å¨æ¨¡å¼ï¼MPlayer è¿è¡ä¸ºå¶ä»ç¨åºå¨å端ãMPlayer ä»æ åè¾å¥è¯»å以æ°è¡ç¬¦ï¼\nï¼åéå¼çå½ä»¤ï¼èä¸æ¯çå¬é®çäºä»¶ã
注æï¼
åè§ −input cmdlist 以æ¥éæåªäºè¢«å¨æ¨¡å¼ä¸çå½ä»¤ï¼ä»¥å DOCS/tech/slave.txt 以æ¥éè¿äºå½ä»¤çæè¿°ãå¦å¤ï¼è¯¥é项并éç¨äºç¦ç¨å¶å®çè¾å¥çï¼ä¾å¦éè¿è§é¢çªå£çè¾å¥ãé使ç¨å¶å®æ¹æ³å®ç°é£ç§ææï¼ä¾å¦ −input nodefault−bindings:conf=/dev/nullã

−softsleep

éè¿ä¸æ校对å½åæ¶é´ï¼èé请æ±åæ ¸å¨æ£ç¡®çæ¶é´ç¹å¤é MPlayer æ¥å®ç°å¯¹äºå¸§ç计æ¶ãå¦æå核计æ¶å¨ç²¾åº¦ä¸é«ä¸ä¸è½ä½¿ç¨ RTCï¼è¯¥é项å¾æä½ç¨ãä»£ä»·æ¯ CPU æ¶èè¾é«ã

−sstep <ç§æ°>

æ¯å¸§åè·³è¿ <ç§æ°> ç§ãç±äºä»ç¶ä½¿ç¨å½±è§å容çæ å帧ç计ç®æ¹å¼ï¼æ以ææ¾å å¿«äºãå ä¸º MPlayer ä»è½å®ä½è³ä¸ä¸ä¸ªå³é®å¸§ï¼æ以该é项å¯è½ä¸ç²¾ç¡®ã

−udp−ip <ip>

设置 −udp−master åéçæ°æ®åæ使ç¨çç®æ å°åãå°å¶è®¾ç½®ä¸ºå¹¿æ- å°åå°å许å¤ä¸ªè¢«å¨æ¹ä½¿ç¨åä¸ä¸ªå¹¿æå°åä¸ä¸»å¨æ¹åæ- ¥ï¼é»è®¤å¼ï¼127.0.0.1ï¼ã

−udp−master

å¨ææ¾æ¯ä¸å¸§ä¹åå −udp−ip ç −udp−port 端å£åéæ°æ®åã该æ°æ®åæ示主å¨æ¹æ件ææ¾çä½ç½®ã

−udp−port <端å£å·>

设置 −udp−master åéçæ°æ®å使ç¨çç®æ ç«¯å£ï¼ä»¥å −udp−slave çå¬ç端å£ï¼é»è®¤å¼ï¼23867ï¼ã

−udp−seek−threshold <ç§æ°>

å½ä¸»å¨æ¹å®ä½æ¶ï¼è¢«å¨æ¹å¿é¡»å³å®æ¯åæ ·è¿è¡å®ä½ï¼è¿æ¯ä»¥è§£ç å¸§èéå¨å¸§é´åé¡¿çæ¹å¼èµ¶ä¸ä¸»å¨æ¹ãå¦æ主å¨æ¹è·ç¦»è¢«å¨æ¹å·²è¶è¿ <ç§æ°> ç§ï¼å被å¨æ¹éæ©å®ä½ãå¦åï¼å¶éæ©èµ¶ä¸æç- å¾ä¸»å¨æ¹ã该é项å¨å¤§å¤æ°æåµä¸åºå½ä¿ç为å¶é»è®¤ç 1 ç§è®¾ç½®ã

−udp−slave

çå¬ −udp−port æå®ç端å£å¹¶åæ¥ä¸»å¨æ¹ææ¾çä½ç½®ã

æµå离å¨/åªä½æµé项

−a52drc <级å«>

éæ© AC-3 é³é¢æµçå¨æèå´å缩ï¼DRCï¼çº§å«ã<级å«> æ¯ 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 å¨ verbose (−v) 模å¼ä¸ä¼æå°å¯ç¨çé³é¢ä»£ç ãå½ææ¾ MPEG-TS åªä½æµæ¶ï¼MPlayer/MEncoder å°æéçé³é¢æµç¨äºç¬¬ä¸ä¸ªèç®ï¼å¦ææçè¯ï¼ã

−ausid <代ç >ï¼å¦è§ −alangï¼

éæ©åé³é¢æµçé¢éãå½åææçåå¼èå´ä¸º 0x55..0x75ï¼å¹¶ä¸å½ç±åçæµå离å¨ï¼èé libavformatï¼æ¶å¤çæ¶ï¼åªéç¨äºMPEG-TSãç±äºåªä½ç±»åä¿¡æ¯å¨åªä½æµä¸- çåµå¥æ¹å¼æå¼æå¶å¨æµä¸ç¼ºå¤±ï¼åªä½ç±»åå¯è½æ æ³æ- £ç¡®è¯å«ï¼ä½å½å¤ä¸ªåæµåå¨æ¶ï¼é³é¢æµä¼æ£ç¡®å°å离åºæ¥ãå½ä½¿ç¨ −identify è¿è¡æ¶ï¼MPlayer æå°åºå¯ç¨çåæµç代ç ã

−alang <è¯è¨ä»£ç [,è¯è¨ä»£ç ,...]>ï¼å¦è§ −aidï¼

æå®æ使ç¨é³é¢è¯è¨çä¼å级å表ãä¸åç容å¨æ ¼å¼ä½¿ç¨ä¸åçè¯- è¨ä»£ç ãDVDs ä½¿ç¨ 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 ææå°åºæ¥çå离å¨ç±»åãç±äºååå¼å®¹ï¼ä¹å¯ä½¿ç¨ libmpdemux/demuxer.h ä¸å®ä¹çå离å¨ä»£ç ã−audio−demuxer audio æ −audio−demuxer 17 强å¶ä½¿ç¨ MP3ã

−audiofile <æ件å>

ççµå½±ç»é¢æ¶ææ¾å¤é¨æ件ä¸çé³é¢ï¼WAV, MP3 æ Ogg Vorbisï¼ã

−audiofile−cache <ååèæ°>

对 −audiofile çé³é¢æµå¯ç¨ç¼åï¼ä½¿ç¨æå®å¤§å°çååã

−reuse−socketï¼ä»ç¨äº udp://ï¼

å许å¶å®è¿ç¨å¨è¿æ¥ç«¯å³éåç«å³å°å¶éæ°å©ç¨ã

−bandwidth <åèæ°>ï¼ä»ç¨äºç½ç»ï¼

æå®ç½ç»æµä¼ è¾çæ大带宽ï¼ç¨äºæå¡å¨å¯ä»¥ä»¥ä¸å带宽传éå容çæåµï¼ãæå©äºä»¥æ¢éè¿æ¥è§çå®æ¶æµä¼ è¾çåªä½çæåµãå¯¹äº Real RTSP æµä¼ è¾æ¹å¼ï¼ä¹ç¨äºè®¾ç½®æ大传é带宽以便æ´å¿«å°å¡«åç¼å²å读åæµå容ã

−bluray−angle <è§åº¦ä»£ç >ï¼ä»ç¨äºèå DVDï¼

æäºèåç¢çåå«ä¸äºå¯ä»å¤ä¸ªè§åº¦è§ççåºæ¯ãè¿ä¸ªé项å¯ä»¥åè¯ MPlayer 使ç¨åªä¸ªè§åº¦ï¼é»è®¤å¼ï¼1ï¼ã

−bluray−device <ç¢çè·¯å¾>ï¼ä»ç¨äºèå DVDï¼

æå®èåç¢ççä½ç½®ãå¿é¡»æ¯ä¸ä¸ªå·æèå DVD ç»æçç®å½ã

−cache <ååèæ°>

该é项æå®ç¨å¤å°ååï¼ä»¥ååè为åä½ï¼ä½ä¸ºæ件æ URL å容çé¢åç¼å- ãç¹å«æå©äºæå¿«æ¢çåªä½ã

−nocache

å³éç¼åã

−cache−min <ç¾åæ¯æ°>

å½ç¼åå¡«åå°æ»éç <ç¾åæ¯æ°> æ¶å¼å§ææ¾ã

−cache−seek−min <ç¾åæ¯æ°>

å¦æå®ä½å°çä½ç½®è·å½åä½ç½®çè·ç¦»å¨ç¼å大å°ç <ç¾åæ¯æ°> ä¹åï¼é£ä¹ MPlayer å°çå¾ç¼åå¡«åå°æ¤ä½ç½®èä¸æ¯æ§è¡æµå®ä½æä½ï¼é»è®¤å¼ï¼50ï¼ã

−captureï¼ä»ç¨äº MPlayerï¼

æä¾å°ä¸»åªä½æµï¼ä¸å«é¢å¤çé³é¢æµæå¶å®ç±»åçåªä½æµï¼æåè³æ件çåè½ãä½¿ç¨ −dumpfile æå®å- æ¾çæ件ï¼é»è®¤ä¸ºâstream.dumpâãå¦æ使ç¨äºè¯¥é项ï¼åå¯ä»¥éè¿æä¸ç»å®è³è¯¥åè½çæé®æ¥å¼å§ååæ- ¢æåæä½ãï¼åè§â交äºå¼æ§å¶âé¨åï¼ãä¸ −dumpstream ç¸åï¼é¤äº MPEG åªä½æµï¼è¯¥é项å¯è½äº§çä¸äºå¯ç¨çè¾åºãé注æçæ¯ï¼ç±äºç¼å- æ延è¿ï¼æåå°çæ°æ®çèµ·å§åä¸æ¢ä½ç½®æ¯æè§å°çä½ç½®é åã

−cdda <é项1:é项2>ï¼ä»ç¨äº CD æ°åé³é¢ï¼

该é项ç¨æ¥è°è MPlayer ç CD é³é¢è¯»ååè½ã

å¯ç¨é项æï¼

speed=<åæ°å¼>

è®¾å® CD 转éã

paranoia=<0−2>

设置 Paranoia åºä½¿ç¨ç级ã0 以å¤çå¼å¯è½ä¼ä½¿æ- æ¾ç¬¬ä¸ä¸ªé³è½¨å¤çå¶å®é³è½¨ä¸æ£å¸¸ã

0ï¼å³éæ£æµï¼é»è®¤ï¼
1ï¼åªè¿è¡éå æ£æµ
2ï¼ååçæ°æ®ä¿®æ£åæ ¡æ£

generic-dev=<åæ°å¼>

使ç¨æå®çéç¨ SCSI 设å¤ã

sector-size=<åæ°å¼>

å次读åæ°æ®ç大å°ã

overlap=<åæ°å¼>

强å¶æ ¡æ£æ¶æå°éå æ索为 <åæ°å¼> 个æåºã

toc-bias

åå® TOC æ¥åä¸ç¬¬ 1 é³è½¨çèµ·å§å移é寻å为 LBA 0ãæäºä¸èå驱éè¦è¿æ ·å以æ£ç¡®å¤çé³è½¨è¾¹çã

toc-offset=<åæ°å¼>

寻åé³è½¨æ¶ï¼ææ¥åçå¨æåºæ°éåå ä¸ <åæ°å¼> 个æåºãå¯ä»¥æ¯è´æ°ã

(no)skip

ï¼ä¸ï¼ä½¿ç¨ä¸å®æ´çæ°æ®é建ç»æã

−cdrom−device <设å¤è·¯å¾>

æå® CD-ROM 设å¤ï¼é»è®¤å¼ï¼/dev/cdromï¼ã

−channels <æ°é>ï¼å¦è§ −af channelsï¼

è¦æ±ææ¾æ¶ä½¿ç¨ç声éæ°ï¼é»è®¤å¼ï¼2ï¼ãMPlayer è¦æ±è§£ç å¨å°é³é¢è§£ç ä¸ºè¯¥é项ææå®ç声éæ°ãæ¯å¦å®ç°è¿ä¸ªè¦æ±åå³äºè§£ç å¨ã该é项é常åªå¨æ- æ¾å¸¦ AC-3 é³é¢ï¼æ¯å¦ DVDï¼çè§é¢æ¶ææ¾éè¦ãå¨é£ç§æåµä¸é»è®¤ä½¿ç¨ liba52 解ç å¹¶æé³é¢æ- £ç¡®å°æ··é³ä¸ºæè¦æ±ç声éæ°ãè¦ç´æ¥æ§å¶è¾åºå£°éæ°èä¸ç®¡è§£ç ä¸ºå¤å°å£°éï¼é使ç¨å£°éè¿æ»¤å¨ã
注æï¼
解ç å¨ï¼ä» AC-3ï¼ãè¿æ»¤å¨ï¼surroundï¼åé³é¢è¾åºé©±å¨ï¼è³å° OSS å¯ä»¥ï¼æ¥å该é项ã

å¯ç¨é项æï¼

2

ç«ä½å£°

4

ç¯ç»ç«ä½å£°

6

5.1 å¨å£°éè¾åº

8

7.1 å¨å£°éè¾åº

−chapter <ç« è代ç >[−<ä¸æ¢ç« è代ç >]

æå®ä»åªä¸ªç« èå¼å§ææ¾ãå¯åæ¶æå®ææ¾è³åªä¸ªåºæ¯ä¸æ¢ï¼é»è®¤å¼ï¼1ï¼ã

−cookiesï¼ä»ç¨äºç½ç»ï¼

HTTP 请æ±æ¶åé cookieã

−cookies−file <æ件å>ï¼ä»ç¨äºç½ç»ï¼

ä» <æ件å> ä¸è¯»å HTTP cookieï¼é»è®¤è·¯å¾ï¼~/.mozilla/ å ~/.netscape/ï¼å¹¶ä¸ä¸ä»é»è®¤ä½ç½®è¯»å cookieãåå®æä»¶æ¯ Netscape æ ¼å¼ã

−delay <ç§æ°>

以ç§ä¸ºåä½çé³é¢å»¶è¿é¿åº¦ï¼æ£æè´çæµ®ç¹æ°ï¼
è´å¼å»¶è¿é³é¢ï¼èæ£å¼å»¶è¿è§é¢ã注æ该éé¡¹ä¸ MEncoder ç −audio−delay é项æææ£å¥½ç¸åã
注æï¼
å½ç¨äº MEncoder æ¶ï¼è¯¥é项并ä¸ä¸å®è½ä¸ −ovc copy ä¸èµ·æ£ç¡®å°åæ¥ä½ç¨ï¼éæ¹ä¸ºä½¿ç¨ −audio−delayã

−ignore−start

å¿½ç¥ AVI æ件ä¸æå®çæµèµ·å§æ¶é´ãå¨ MPlayer ä¸ï¼è¯¥é项使æ件ä¸- ç¨ −audio−delay é项ç¼ç çåªä½æµç延è¿æ æãå¨ç¼ç æ¶ï¼è¯¥é项é²æ¢ MEncoder å°åæ¥åªä½æµçèµ·å§æ¶é´åå¥æ°æ件ä¸ï¼ä½æ¯ −audio−delay é项并ä¸åå½±åã注æï¼MEncoder ææ¶ä¼èªå¨è°æ´æµçèµ·å§æ¶é´ä»¥è¡¥å¿é¢è®¡å°åºç°ç解ç å»¶è¿ï¼æ以æªæµè¯ä¹åå¿ä½¿ç¨è¯¥é项è¿è¡ç¼ç ã

−demuxer <[+]ç±»åå>

强å¶ä½¿ç¨æå®ç±»åçæµå离å¨ãè¦å¼ºå¶ä½¿ç¨è¯¥ç±»åï¼å°±å¨å¶å称åå ä¸â+âãè¿æ ·ä¼è·³è¿æäºæ£æ¥ï¼éä½¿ç¨ −demuxer help æå°åºæ¥çæµå离å¨å称ã为äºååå¼å®¹ï¼è¯¥é项ä¸- ä¹å¯ä½¿ç¨ 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 <è¥å¹²é项>ï¼ä»ç¨äºæ°åè§é¢å¹¿æï¼

å°ä»¥ä¸åæ°ä¼ ç»æ°åè§é¢å¹¿æè¾å¥æ¨¡åï¼ä»¥æ¿æ¢é»è®¤åæ°ï¼

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ï¼ãä¹å¯ä»¥æå®ä¸ä¸ªç®å½ï¼å¶ä¸åå«ä¹åï¼ä½¿ç¨ vobcopy ä¹ç±»å·¥å·ï¼ç´æ¥ä» DVD æ·è´çæ件ã

−dvd−speed <以 KB/s 为åä½çå æ°æé度å¼>ï¼ä»ç¨äºDVDï¼

å°è¯éå¶ DVD çä¼ è¾é度ï¼é»è®¤å¼ï¼0ï¼ä¸ä½æ´æ¹ï¼ãDVDçåºç¡éç约为 1350KB/sï¼æ以ä¸å°8åéç驱å¨å¨è½ä»¥æé« 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]|大å°[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

强å¶é建索å¼ãæå©äºç´¢å¼åæï¼é³è§é¢ä¸åæ¥çï¼çæ件ãè¿ä½¿æ æ³æ- æ¾æ¶å®ä½çæ件è½å¤å®ä½ãå¯ä½¿ç¨ MEncoder æ°¸ä¹æ§å°ä¿®å¤ç´¢å¼ï¼åè§ææ¡£ï¼ã
注æï¼
该é项ä»å½æå¤ççåªä½æ¯ææ- æ¾æ¶å®ä½æ¶ææï¼å³ä¸è½æ¯ï¼æ åè¾å¥ã管éçï¼ã

−fps <æµ®ç¹æ°å¼>

æ¹åè§é¢å¸§éçãæå©äºåå§æ°å¼é误æä¸åå¨çæåµã

−frames <æ°å>

åªææ¾/转æ¢æåç <æ°å> 帧ï¼ç¶åéåºã

−hr−mp3−seekï¼ä»ç¨äº MP3ï¼

é«ç²¾åº¦ MP3 ææ¾å®ä½ãææ¾å¤é¨ MP3 æ件æ¶å¯ç¨ï¼å ä¸ºæ- ¤æ¶éè¦å®ä½å°é常精确çä½ç½®ä»¥ä¿æé³è§é¢åæ- ¥ãååå®ä½æ¶å¯è½å°¤å¶æ¢ï¼å ä¸ºéè¦ç»åå°å¼å¤´ä»¥å¯»æ¾å¸§çåç¡®ä½ç½®ã

−http-header-fields <å段1,å段2>

设置è¿æ¥ 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ï¼

å¨æ²¡ææ¾å°ç´¢å¼çæåµä¸é建æ件çç´¢å¼ï¼ä»èæ- æ¾æ¶è½å¤å®ä½ãæå©äºä¸è½½æ误/ä¸å®æ´çæ件ï¼æçæé误çæ件ã
注æï¼
该é项ä»å½åæ¬æ¯ææ- æ¾æ¶å®ä½çåªä½æ¶ææï¼å³ä¸è½æ¯ï¼æ åè¾å¥ã管éçï¼ã

−noidx

è·³è¿é建索å¼æ件çæ¥éª¤ãMEncoder å¨è¯¥é项ä¸è·³è¿åå¥ç´¢å¼çæ- ¥éª¤ã

−ipv4−only−proxyï¼ä»ç¨äºç½ç»ï¼

ä½¿ç¨ IPv6 å°åæ¶ä¸ç¨ä»£çæå¡å¨ãIPv4 è¿æ¥ä»ç¶ä½¿ç¨ä»£çã

−loadidx <ç´¢å¼æ件>

ä»è¯¥æ件ä¸è¯»å −saveidx ä¿åçè§é¢ç´¢å¼æ°æ®ã该索å¼ç¨äºæ- æ¾æ¶çå®ä½ï¼æ¿æ¢å¶å®ä¸å AVI æ¬èº«è£è½½çç´¢å¼ãMPlayer 并ä¸é²æ- ¢å è½½äº§çèªä¸å AVI æ件çç´¢å¼ï¼ä½æ¯è¿è¯å®ä¼å¯¼è´ä¸è¯çç»æã
注æï¼
ç±äº MPlayer ç°å¨å·²ç»æ¯æ OpenDMLï¼è¯¥é项已åºå¼ã

−mc <ç§æ°/帧>

ï¼ä»¥ç§ä¸ºåä½çï¼æ¯å¸§æ大çé³è§é¢åæ¥ä¿®æ£éã
ä½¿ç¨ mencoder æ¶ï¼−mc 0 åºå½æ»æ¯ä¸ −noskip ä¸å使ç¨ï¼å¦åå ä¹å¿ç¶å¯¼è´é³è§é¢ä¸åæ¥ã

−mf <é项1:é项2:...>

ç¨äºä»å¤ä¸ª PNG æ JPEG æ件ä¸è§£ç ã

å¯ç¨é项æï¼

w=<åæ°å¼>

è¾å¥å¾åæ件ç宽度ï¼é»è®¤å¼ï¼èªå¨æ£æµï¼

h=<åæ°å¼>

è¾å¥å¾åæ件çé«åº¦ï¼é»è®¤æ¯å¼ï¼èªå¨æ£æµï¼

fps=<åæ°å¼>

è¾åºç帧çï¼é»è®¤å¼ï¼25ï¼

type=<åæ°å¼>

è¾å¥æ件类åï¼å¯ç¨ç±»åï¼jpegãpngãtgaãsgiï¼

−ni

强å¶å°æ件ä½ä¸ºé交éæ ¼å¼å¤çãç¹å«æ¯å¼ºå¶ä½¿ç¨é交éæ ¼å¼ç AVI 解æå¨ï¼å¯ä½¿æäºæåç AVI æ件éæ°å¯ä»¥ææ¾ï¼ãä¹å¯è½æå©äºæ- æ¾ä¸äºé»è®¤æ¹å¼ä¸äº¤æ¿èéåæ¶ææ¾é³é¢åè§é¢çæ件ã

−nobpsï¼ä»ç¨äº AVIï¼

ä¸ä½¿ç¨å¹³ååè/ç§çä¿¡æ¯ä»¥ç»´æé³è§é¢åæ¥ãæå©äºæäºæ件头æåç AVI æ件ã

−noextbased

ç¦æ- ¢åºäºæ©å±åéæ©æµå离å¨ãé»è®¤æåµä¸ï¼å½æ æ³å¯é æ£æµæ件类åï¼æµå离å¨ï¼æ¶ï¼æ件没æ头é¨æ°æ®æè该æ°æ®ä¸å¯é ï¼ï¼å°ä½¿ç¨æ件æ©å±å以éæ©æµå离å¨ã使ç¨è¯¥é项åï¼æ»æ¯ä»¥å¤éçåºäºå容æ¹å¼éæ©æµå离å¨ã

−passwd <å¯ç >ï¼å¦è§ −user é项ï¼ï¼ä»ç¨äºç½ç»ï¼

设置 http 认è¯å¯ç ã

−prefer−ipv4ï¼ä»ç¨äºç½ç»ï¼

ä½¿ç¨ IPv4 è¿æ¥ç½ç»ã失败æ¶èªå¨ä½¿ç¨ IPv6 ä½ä¸ºå¤ç¨åç¨ã

−prefer−ipv6ï¼ä»ç¨äº IPv6 ç½ç»ï¼

ä½¿ç¨ IPv6 è¿æ¥ç½ç»ã失败æ¶èªå¨ä½¿ç¨ IPv4 ä½ä¸ºå¤ç¨åè®®ã

−psprobe <以åè计éçä½ç½®>

å½ææ¾ MPEG-PS æ MPEG-PES æµæ¶ï¼è¯¥é项ç¨ä»¥è®¾å®å¸æ MPlayer æ«æå¤å°åè以确认æè¦ä½¿ç¨çè§é¢ç¼è§£ç å¨ãææ¾å«æ H.264 æµç EVO æ VDR æ件æ¶éè¦è¯¥é项ã

−pvr <é项1:é项2:...>ï¼ä»ç¨äº PVRï¼

该é项è°æ´ PVR ææ模åçåç§ç¼ç å±æ§ãå¿é¡»ä¸ V4L2 驱å¨æ¯æç MPEG 硬ç¼ç å¡ä¸èµ·ä½¿ç¨ãHauppauge WinTV PVR−150/250/350/500 åææåºäº IVTV çå¡æ®ææ¯ PVR ææå¡ã注æåªæ Linux 2.6.18 å以ä¸çåæ ¸è½éè¿ V4L2 å±å¤ç MPEG æµãè¦ç¡¬ä»¶ææ 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−3>

æå® MPEG é³é¢ç¼ç å±çº§ï¼é»è®¤å¼ï¼2ï¼ã

abitrate=<32−448>

æå®é³é¢ç¼ç æ¯ç¹çï¼ä»¥ kbps 为åä½ï¼ï¼é»è®¤å¼ï¼384ï¼ã

amode=<åæ°å¼>

æå®é³é¢ç¼ç æ¨¡å¼ãå¯ç¨é¢è®¾å¼æâstereoâãâjoint_stereoâãâdualâåâmonoâï¼é»è®¤å¼ï¼stereoï¼ã

vbitrate=<åæ°å¼>

æå®ï¼ä»¥ Mbps 为åä½çï¼ç¼ç è§é¢çå¹³åæ¯ç¹çï¼é»è®¤å¼ï¼6ï¼ã

vmode=<åæ°å¼>

æå®è§é¢ç¼ç æ¨¡å¼ï¼

vbrï¼å¯åæ¯ç¹çï¼é»è®¤å¼ï¼
cbrï¼æå®æ¯ç¹ç

vpeak=<åæ°å¼>

æå®ä»¥ Mbps 为åä½çç¼ç è§é¢çæ¯ç¹çå³°å¼ ï¼åªå¯¹ VBR ç¼ç æç¨ï¼é»è®¤å¼ï¼9.6ï¼ã

fmt=<åæ°å¼>

éæ©ç¨äºç¼ç ç MPEG æ ¼å¼ï¼

psï¼ MPEG-2 èç®æµï¼é»è®¤å¼ï¼
tsï¼ MPEG-2 ä¼ è¾æµ
mpeg1ï¼MPEG-1 ç³»ç»æµ
vcdï¼ VCD å¯å¼å®¹æµ
svcdï¼ SVCD å¯å¼å®¹æµ
dvdï¼ DVD å¯å¼å®¹æµ

−radio <é项1:é项2:...>ï¼ä»ç¨äºæ çº¿çµå¹¿æï¼

è¿äºé项ç¨ä»¥è®¾ç½®æ çº¿çµææ模åçåç§åæ°ãè¦ç¨ MPlayer æ¶å¬çµå°é使ç¨âradio://<é¢ç>âï¼å¦æä¸æä¾é¢éé项ï¼æâradio://<é¢éå·>âï¼å¦ææä¾é¢éé项ï¼ä½ä¸º URLãå¯éè¿ä½¿ç¨â-vâé项è¿è¡ MPlayer æ¥çå¯è¡çé¢çèå´ãè¦å¯å¨ææå- ç³»ç»ï¼å使ç¨âradio://<é¢çæé¢é>/captureâãå¦æä¸ä½¿ç¨å³é®å captureï¼åå¯ä»¥åªä½¿ç¨æ线æ¹å¼æ¶å¬çµå°ãç±äºåæ¥é®é¢ï¼ä¸æ¨èä½¿ç¨ capture æ¥æ¶å¬çµå°ï¼è¿ä¼ä½¿ææä¸ä½³ã

å¯ç¨é项æï¼

device=<åæ°å¼>

æ使ç¨çæ çº¿çµè®¾å¤ï¼é»è®¤å¼ï¼Linux ä¸ä¸º /dev/radio0ï¼è *BSD ä¸ä¸º /dev/tuner0ï¼ã

driver=<åæ°å¼>

æ使ç¨çæ çº¿çµå¹¿æ驱å¨ï¼é»è®¤å¼ï¼å¦ææåç¨ v412ï¼å¦å为 v41ï¼ãå½åæ¯æ v41 å v412 驱å¨ã

volume=<0..100>

æ çº¿çµè®¾å¤çé³éï¼é»è®¤ä¸º100ï¼

freq_min=<å¼>ï¼ä»ç¨äº*BSD BT848ï¼

å许çæå°é¢çï¼é»è®¤å¼ï¼87.50ï¼

freq_max=<value>ï¼ä»éç¨äº*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=<card>.<device> çå½¢å¼ä½¿ç¨è¿ä¸ªé项ãå¦æ设å¤åä¸- å«æâ=âï¼å该模åå°ä½¿ç¨ ALSA æ¥ææï¼å¦åä½¿ç¨ OSSã

arate=<åæ°å¼>ï¼ä»ç¨äºå½å¶æ çº¿çµå¹¿æï¼

以æ¯ç§éæ ·æ°ä¸ºåä½çéæ ·çï¼é»è®¤å¼ï¼44100ï¼ã
注æï¼
å½ä½¿ç¨é³é¢æææ¶ï¼ä¹å° −rawaudio rate=<åæ°å¼> é项设置为 arate ä¸ä¸æ ·çå¼ãå¦æåå¨å£°é³æ- æ¾é度çé®é¢ï¼ææ¾å¤ªå¿«ï¼ï¼è¯·å°è¯ä»¥ä¸åçéæ ·çï¼ä¾å¦ 4800ï¼44100ï¼32000â¦â¦ï¼ææ¾ ã

achannels=<åæ°å¼>ï¼ä»ç¨äºå½å¶æ çº¿çµå¹¿æï¼

ææ声é³ç声éæ°ã

−rawaudio <é项1:é项2:...>

该é项ç¨äºææ¾æªç»å¤ççé³é¢æ件ãå¿é¡»åæ¶ä½¿ç¨ −demuxer rawaudioãä¹å¯ç¨äºææ¾é 44kHz 16-ä½ ç«ä½å£°çé³é¢ CDãè¦ææ¾æªç»å¤çç AC-3 æµè¦ä½¿ç¨ −rawaudio format=0x2000 −demuxer rawaudioã

å¯ç¨é项æï¼

channels=<åæ°å¼>

声éæ°

rate=<åæ°å¼>

以æ¯ç§éæ ·æ°ä¸ºåä½çéæ ·ç

samplesize=<åæ°å¼>

以åè为åä½çéæ ·æ°æ®å¤§å°

bitrate=<åæ°å¼>

æªç»å¤ççé³é¢æ件çæ¯ç¹ç

format=<åæ°å¼>

16-è¿å¶ fourcc 代ç 

−rawvideo <é项1:é项2:...>

该é项ç¨äºææ¾æªç»å¤ççè§é¢æ件ãå¿é¡»åæ¶ä½¿ç¨ −demuxer rawvideoã

å¯ç¨çé项æï¼

fps=<åæ°å¼>

以æ¯ç§å¸§æ°ä¸ºåä½çé¢çï¼é»è®¤å¼ï¼25.0ï¼

sqcif|qcif|cif|4cif|pal|ntsc

设置为è§é¢æ åçå¾å大å°

w=<åæ°å¼>

以å素为åä½çå¾å宽度

h=<åæ°å¼>

以å素为åä½çå¾åé«åº¦

i420|yv12|yuy2|y8

设置è²å½©ç©ºé´

format=<åæ°å¼>

16 è¿å¶æå符串常éå½¢å¼çè²å½©ç©ºé´å¼ï¼fourcc 代ç ï¼ä½¿ç¨ −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 <å符串>ï¼ä»ç¨äºç½ç»ï¼

æå® HTTP 请æ±å¼ç¨é¡µé¢çè·¯å¾æ URLã

−rtsp−port

ä¸ârtsp://âç URL å°åä¸èµ·ä½¿ç¨ï¼ä»¥å¼ºå¶æå®å®¢æ·ç«¯ç«¯å£å·ã该é项æå©äºæ¬æºä½äºè·¯ç±å¨ä¸çå- ç½ï¼ä½å¸æå° RTSP æµä»æå¡å¨è½¬åè³ä¸å°ç¹å®ç客æ·ç«¯çæåµã

−rtsp−destination

ä¸ârtsp://âç URL å°åä¸èµ·ä½¿ç¨ï¼ä»¥å¼ºå¶æå®æç»å®çç®æ  IP å°åã该é项æå©äºæäºä¸è½å° RTP ååéè³æ£ç¡®æ¥å£ç RTSP æå¡å¨ãå¦æè¿æ¥ RTSP æå¡å¨å¤±è´¥ï¼å¯ä½¿ç¨ −v æ¥ç MPlayer å¨å°è¯ç»å®åªä¸ª IP å°åï¼ç¶å强å¶ä½¿ç¨åéå°æ¬å°ä¸çé£ä¸ªå°åã

−rtsp−stream−over−tcpï¼ä»ç¨äº LIVE555 å NEMESIï¼

ä¸ârtsp://âç URL å°åä¸èµ·ä½¿ç¨ï¼ä»¥æå®éè¿ TCP æµä¼ è¾çæçæµå¥ç RTP å RTCP åï¼ä½¿ç¨ä¸ RTSP ç¸åç TCP è¿æ¥ï¼ã该é项å¯è½æå©äºå ç¹ç½è¿æ¥æåèæ æ³ä¼ éæµå¥ç UDP åçæåµï¼åè§ http://www.live555.com/mplayer/ï¼ã

−rtsp−stream−over−httpï¼ä»ç¨äº LIVE555ï¼

ä¸âhttp://âå½¢å¼ç URL ä¸å使ç¨ï¼ç¨ä»¥æå®çæç RTP å RTCP è¾å¥åéè¿ HTTP å议传éã

−saveidx <æ件å>

强å¶é建索å¼å¹¶å¯¼åºå° <æ件å>ãç®ååªå¯¹ AVI æ件ææã
注æï¼
ç±äº MPlayer å·²ç»æ¯æ OpenDMLï¼è¯¥é项已åºå¼ã

−sb <以åè计éçä½ç½®>ï¼å¦è§ −ssï¼

å®ä½å°ä»¥åè计éçä¸ä¸ªä½ç½®ãæå©äºææ¾ CD-ROM éåæ VOB æ件æ¶å¼å§é¨åæ¯åå¾æ°æ®çæåµã

−speed <0.01−100>

以æç»çåæ°å ååæ¢æå å¿«ææ¾é度ãä¸ −oac copy ä¸èµ·ä½¿ç¨æ¶ä¸è½ä¿è¯æ£å¸¸èµ·ä½ç¨ãæ·»å  −af scaletempo åæ°å¯ä»¥å¨ææ¾æ¶çªç ´ 4 åé度éå¶ã

−srate <Hz>

éæ©è¦ä½¿ç¨çè¾åºéæ ·çï¼å½ç¶ï¼å£°å¡å¯¹æ- ¤æéå¶ï¼ãå¦ææééæ ·é¢çä¸å½ååªä½çä¸åï¼åä¼å¨é³é¢è¿æ»¤å¨å±ä¸- æå¥é³é¢è¿æ»¤å¨ resample æ lavcresample 以补å¿è¯¥å·®å¼ãééæ ·çç±»åå¯ç± −af−adv é项æ§å¶ãé»è®¤æ¹å¼ä¸ºå¿«éééæ ·ï¼å¯è½å¼èµ·å¤±çã

−ss <æ¶é´ç¹>ï¼å¦è§ −sbï¼

å®ä½å°æç»æ¶é´çä½ç½®ãè¦ç¦æ¢å®ä½æä½ï¼éä½¿ç¨ −ss nopts ï¼−ss 0 çè¡ä¸ºå¹¶éææ¿ã

示ä¾ï¼

−ss 56

å®ä½å° 56 ç§å¤ã

−ss 01:10:00

å®ä½å° 1 å°æ¶ 10 åéå¤ã

−tskeepbroken

åè¯ MPlayer ä¸è¦ä¸¢å¼æ°æ®æµä¸æ¥å为æåç TS åãææ¶éè¦è¯¥é项以æ- æ¾å·²æåç MPEG-TS æ件ã

−tsprobe <以åè计çä½ç½®>

ææ¾ MPEG-TS æµæ¶ï¼è¯¥é项ç¨äºæå®å¨æ°æ®æµä¸å¤å°åèçä½ç½®éè¦ MPlayer æç´¢æè¦çé³é¢åè§é¢ç代ç ã

−tsprog <1−65534>

ææ¾ MPEG-TS æµæ¶ï¼å¯ç¨è¯¥é项æå®è¦ææ¾åªä¸ªèç®ï¼å¦æåå¨çè¯ï¼ãå¯ä¸ −vid å −aid ä¸èµ·ä½¿ç¨ã

−tv <é项1:é项2:...>ï¼ä»ç¨äº TV/PVRï¼

该é项è°æ´çµè§ä¿¡å·ææ模åçåç§å±æ§ãè¦ç¨ MPlayer æ¶ççµè§ï¼ä½¿ç¨âtv://âæâtv://<é¢éå·>âä¹è³âtv://<é¢éå>âï¼åè§ä¸æç channels é项以äºè§£é¢éåï¼ä½ä¸ºå½±è§ç URL å°åãä¹å¯ä½¿ç¨âtv:///<è¾å¥æºä»£ç >âè§çæ¥èª AV 端åæ S 端å- è¾å¥æºçå½±è§å容ï¼åè§ input é项äºè§£è¯¦æï¼ã

å¯ç¨é项æï¼

noaudio

没æ声é³

automute=<0−255>ï¼ä»ç¨äºv4låv4l2ï¼

å¦æ设å¤æ¥åçä¿¡å·å¼ºåº¦å°äºè¿ä¸ªå¼ï¼é£ä¹é³é¢åè§é¢å°éé³ã大å¤æ°æåµä¸ automute=100 就足å¤ç¨äºãé»è®¤å¼ä¸º0ï¼ç¦ç¨ automuteï¼ã

driver=<åæ°å¼>

åè§ −tv driver=help 以äºè§£åç½®çµè§è¾å¥é©±å¨çå表ãå¯ç¨å¼ï¼dummy, v4l, bsdbt848ï¼é»è®¤å¼ï¼èªå¨æ£æµï¼

device=<åæ°å¼>

æå®çµè§è®¾å¤ï¼é»è®¤å¼ï¼/dev/video0ï¼ã 注æï¼ å¯¹äº bsdbt848 驱å¨ï¼å¯ä»¥åæ¶ç»åº bktr åè°è°å¨è®¾å¤çå称ï¼ä½¿ç¨éå·åé两èï¼å¶ä¸è°è°å¨å¨ bktr 设å¤ä¹åï¼ä¾å¦ï¼−tv device=/dev/bktr1,/dev/tuner1ï¼ã

input=<åæ°å¼>

æå®è¾å¥æºï¼é»è®¤å¼ï¼0ï¼çµè§ï¼ï¼åè§æ§å¶å±å¹è¾åºäºè§£å¯ç¨çè¾å¥æºå表ï¼ã

freq=<åæ°å¼>

æå®è°è°å¨é设置çé¢çï¼ä¾å¦ï¼511.250ï¼ãä¸ channels åæ°ä¸å¼å®¹ã

outfmt=<åæ°å¼>

ä½¿ç¨ V4L 驱å¨æ¯æçé¢è®¾å¼ï¼yv12, rgb32, rgb24, rgb16, rgb15, uyvy, yuy2, i420ï¼æ以任æç 16 è¿å¶æ ¼å¼ï¼æå®è°è°å¨çè¾åºæ ¼å¼ãå¯å°è¯ outfmt=help 以äºè§£ææå¯ç¨æ ¼å¼çå表ã

width=<åæ°å¼>

è¾åºçªå£ç宽度

height=<åæ°å¼>

è¾åºçªå£çé«åº¦

fps=<åæ°å¼>

ææè§é¢ä¿¡å·æç¨ç帧éçï¼å¸§æ¯ç§ï¼

buffersize=<åæ°å¼>

以ååè为åä½çææç¼å²åºçæ大尺寸ï¼é»è®¤å¼ï¼å¨æè°æ´ï¼

norm=<åæ°å¼>

bsdbt848 å v4l å¯ä½¿ç¨ PALãSECAMãNTSCãå¯¹äº v4l2ï¼åè§æ§å¶å±å¹è¾åºä»¥äºè§£ææå¯ç¨å¶å¼å表ï¼å¦åçä¸é¢ç normid é项ã

normid=<åæ°å¼>ï¼ä»ç¨äº v4l2ï¼

设置çµè§å¶å¼ä¸ºæç»çæ°å- 代ç ãçµè§å¶å¼åå³äºä¿¡å·ææå¡ãåè§æ§å¶å±å¹è¾åºä»¥äºè§£å¯ç¨çµè§å¶å¼å表ã

channel=<åæ°å¼>

设置è°è°å¨è³ <åæ°å¼> é¢éã

chanlist=<åæ°å¼>

å¯ç¨å¼ï¼argentina, australia, china-bcast, europe-east, europe-west, france, ireland, italy, japan-bcast, japan-cable, newzealand, russia, southafrica, us-bcast, us-cable, us-cable-hrc

channels=<é¢é>−<å称>,<é¢é>−<å称>,...

设置é¢éçå称ã 注æï¼ å¦æ <é¢é> æ¯ä¸ä¸ªå¤§äº 1000 çæ´æ°ï¼å°çä½ä¸ºï¼ä»¥ kHz 为åä½çï¼é¢çèéé¢ç表ä¸çé¢éåã
å称ä¸ä½¿ç¨ _ 代æ¿ç©ºæ ¼ï¼æ使ç¨å¼å· ;-)ï¼ãé¢éå称å°æ¾ç¤ºå¨ OSD ä¸ï¼è被å¨å½ä»¤ tv_step_channelãtv_set_channel å tv_last_channel æç¨äºé¥æ§å¨ç使ç¨ï¼åè§ LIRCï¼ã ä¸é¢çåæ°ä¸å¼å®¹ã
注æï¼
é¢éå·å°±å°æ¯â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>

é»è®¤æ¹å¼ä¸ï¼é³é¢å£°éæ°éè¿æ¥è¯¢çµè§å¡çé³é¢æ¨¡å¼èèªå¨å³å®ã该é项è½å¼ºå¶ä½¿ç¨ç«ä½å£°/ å声éå½å¶æ¨¡å¼ï¼èæ è§ amode é项å v4l è¿åçå¼ãå¨çµè§å¡æ æ³æ¥åå½åé³é¢æ¨¡å¼æ¶ï¼å¯ä»¥ç¨è¯¥é项ææ¥æéåå ã

adevice=<åæ°å¼>

设置é³é¢è®¾å¤ãå¯¹äº OSSï¼<åæ°å¼> åºå½æ¯ /dev/ xxxï¼å¯¹äºALSAï¼ååºå½æ¯ç¡¬ä»¶ä»£ç ã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 çé»è®¤æ¹å¼ï¼è¡¨ç¤ºåªææè§é¢ï¼è让é³é¢éè¿åè·¯çµç¼ç±çµè§å¡è¾åºè³å£°å¡ã

mjpeg

使ç¨ç¡¬ä»¶çº§ MJPEG å缩ï¼å¦æè¯çæ¯æçè¯ï¼ã使ç¨è¯¥é项æ¶ï¼ä¸éè¦æå®è¾åºçªå£ç宽度åé«åº¦ï¼å ä¸º MPlayer ä¼æ ¹æ® decimation åæ°ï¼è§ä¸æï¼èªå¨ç¡®å®ã

decimation=<1|2|4>

éæ©ç¡¬ä»¶çº§ MJPEG å缩æè¦å缩ç»é¢ç尺寸ï¼

1ï¼å¨å°ºå¯¸
704x576 PAL
704x480 NTSC
2ï¼ä¸ç尺寸
352x288 PAL
352x240 NTSC
4ï¼å°å°ºå¯¸
176x144 PAL
176x120 NTSC

quality=<0−100>

éæ© JPEG å缩çè´¨éï¼å¨å°ºå¯¸æ¨èå¼ < 60ï¼ã

tdevice=<åæ°å¼>

æå®å¾æçµè§è®¾å¤ï¼ç¤ºä¾ï¼/dev/vbi0ï¼ï¼é»è®¤å¼ï¼æ è®¾å¤ï¼ã

tformat=<æ ¼å¼>

æå®å¾æçµè§çæ¾ç¤ºæ ¼å¼ï¼é»è®¤å¼ï¼0ï¼ï¼

0ï¼ä¸éæ
1ï¼éæ
2ï¼ä¸éæä¸åè²
3ï¼éæä¸åè²

tpage=<100−899>

æå®å¾æçµè§çåå§é¡µé¢å·ï¼é»è®¤å¼ï¼100ï¼ã

tlang=<−1−127>

设置å¾æçµè§çé»è®¤è¯- è¨ä»£ç ï¼é»è®¤å¼ï¼0ï¼ï¼è¯¥å¼å°ä½ä¸ºé¦éè¯- è¨ï¼ç´è³æ¶å°ä¸ä¸ªç±»å 28 çæ°æ®åãéç¨äºå¾æçµè§ç³»ç»ä½¿ç¨éæä¸å符éï¼ä½è¯- è¨ä»£ç å ä¸ºæäºåå å¹¶ééè¿å¾æçµè§çç±»å 28 æ°æ®åä¼ è¾çæåµãè¦æ¥çæ¯æçè¯è¨ä»£ç å表ï¼å°è¯¥é项设为 −1ã

hidden_video_rendererï¼ä»ç¨äº dshowï¼

使ç¨è§é¢æ¸²æå¨ç»æ¢åªä½æµï¼èéä½¿ç¨ Null 渲æå¨ï¼é»è®¤å¼ï¼å³éï¼ãæå©äºè§é¢åæ»ä½é³é¢æ²¡æåçæåµã 注æï¼ å¯è½å¨ä¸ −vo directx å −vf crop ä¸èµ·ä½¿ç¨æ¶æ æ³èµ·ä½ç¨ã

hidden_vp_rendererï¼ä»ç¨äº dshowï¼

使ç¨è§é¢æ¸²æå¨ç»æ¢ VideoPort 端åªä½æµï¼èéå°å¶ä»æµç¨å¾ä¸ç§»é¤ï¼é»è®¤å¼ï¼å³é- ï¼ãæå©äºçµè§å¡æ VideoPort 端å£ï¼èè§é¢ææ延çæåµã 注æï¼ å¯è½å¨ä¸ −vo directx å −vf crop ä¸èµ·ä½¿ç¨æ¶æ æ³èµ·ä½ç¨ã

system_clockï¼ä»ç¨äº dshowï¼

使ç¨ç³»ç»æ¶éä½ä¸ºåæ- ¥ä¿¡å·æ¥æºï¼èé以é»è®¤æ¹å¼ä½¿ç¨æµç¨å¾ä¸- çæ¶éï¼é常æ¯æµç¨å¾ä¸æ个å®æ¶æ°æ®æºçæ¶éï¼ã

normalize_audio_chunksï¼ä»ç¨äº dshowï¼

å建çé³é¢æ°æ®åå·æä¸è§é¢å¸§ç¸åçæ¶é´é¿åº¦ï¼é»è®¤å¼ï¼å³é- ï¼ãæäºé³é¢å¡å建çé³é¢æ°æ®å大å°çº¦ä¸º 0.5 ç§ï¼è¿å¯¼è´ä½¿ç¨ immediatemode=0 æ¶è§é¢ææ延ã

−tvscan <é项1:é项2:...>ï¼ä»ç¨äºçµè§ææ¾å MPlayer ä¸ï¼

è°æ´çµè§é¢éæ«æå¨ãMPlayer å°åæ¶æå°â−tv channels=âé项ä¸- çå¼ï¼åæ¬å·²æç以ååæ¾å°çé¢éã

å¯ç¨åé项æï¼

autostart

å¨å¯å¨åç«å³å¼å§é¢éçæ«æï¼é»è®¤å¼ï¼ç¦ç¨ï¼ã

period=<0.1−2.0>

æå®åæ¢è³ä¸ä¸ä¸ªé¢éå延è¿çæ¶é´ï¼åä½ä¸ºç§ï¼é»è®¤å¼ï¼0.5ï¼ãè¾ä½çå¼å°ä½¿æ«ææ´å¿«ï¼ä½å¯è½å°æ æççµè§é¢éæ£æµä¸ºææã

threshold=<1−100>

ï¼åä½ä¸ºç¾åæ¯çï¼è®¾å¤æ¥åçä¿¡å·å¼ºåº¦çéå¼ï¼é»è®¤å¼ï¼50ï¼ãé«äºè¯¥å¼çä¿¡å·å¼ºåº¦è¡¨ç¤ºå½åæ«æçé¢éæ¯ææçã

−user <ç¨æ·å>ï¼å¦è§ −passwdï¼ï¼ä»ç¨äºç½ç»ï¼

æå® HTTP 认è¯çç¨æ·åã

−user−agent <å符串>

ä½¿ç¨ <å符串> ä½ä¸º HTTP æµç user agent å¼ã

−vid <代ç >

éæ©è§é¢é¢éï¼MPGï¼0−15ï¼ASFï¼0−255ï¼MPEG-TSï¼17−8190ï¼ãå½ææ¾ MPEG-TS æµæ¶ï¼MPlayer/MEncoder å°ææ¾æéè§é¢æµç第ä¸ä¸ªèç®ï¼å¦æå- å¨çè¯ï¼ã

−vivo <åé项>ï¼ç¨äºè°è¯ä»£ç ï¼

强å¶è®¾ç½® VIVO æµå离å¨çé³é¢åæ°ï¼ç¨äºè°è¯ç®çï¼ãFIXME: Document this.

OSD/åå¹é项

注æï¼ å¦è§ −vf expandã
−assï¼ä»ç¨äº FreeTypeï¼

æå¼ SSA/ASS åå¹æ¸²æåè½ãæå®äºè¯¥é项åï¼å°ä½¿ç¨ libass ææ¾ SSA/ASS å¤é¨åå¹å Matroska åå¹è½¨éãå¯è½ä¹éè¦ä½¿ç¨ −embeddedfontsã
注æï¼
ä¸åé常ç OSD çé¢ï¼libass é»è®¤ä½¿ç¨ fontconfigãè¦ç¦ç¨æ- ¤è¡ä¸ºï¼ä½¿ç¨ −nofontconfigã

−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

ç¸åï¼ä½å¾®è°åªæå½ OSD 以å¨å±æ¹å¼æ¸²æ并å æ- ¤ä¸ä¼ç¼©æ¾æ¶æä¼ä½¿ç¨ã

é»è®¤å¼ä¸º 7ï¼å½ OSD ä¸ç¼©æ¾æ¶ä½¿ç¨å置微è°å¨ï¼å¦åæ å¾®è°ï¼ã

−ass−line−spacing <åæ°å¼>

为 SSA/ASS 渲æå¨è®¾ç½®è¡é´éå¼ã

−ass−styles <æ件å>

è£è½½æå®æ件ä¸æ¾å°çææ SSA/ASS æ ·å¼ï¼å¹¶å°å¶ç¨äºæ¸²ææåå- å¹ãæ件å容çè¯æ³é¡»ä¸ SSA/ASS ä¸ç [V4 Styles] / [V4+ Styles] ä¸èæè®°è¿°çå®å¨ä¸è´ã

−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 é项æå®ï¼çåå¹è½¬æ¢ä¸º MPlayer çå- å¹æ ¼å¼ï¼MPsubãå¨å½åçç®å½ä¸å建 dumpsub.mpsub æ件ã

−dumpsamiï¼ä»ç¨äº MPlayerï¼

å°æç»ï¼ç± −sub é项æå®ï¼çåå¹è½¬æ¢ä¸ºåºäºæ¶é´ç SAMI å- å¹æ ¼å¼ãå¨å½åçç®å½ä¸å建 dumpsub.smi æ件ã

−dumpsrtsubï¼ä»ç¨äº MPlayerï¼

å°æç»ï¼ç± −sub é项æå®ï¼çåå¹è½¬æ¢ä¸ºåºäºæ¶é´ç SubViewerï¼SRTï¼å- å¹æ ¼å¼ãå¨å½åçç®å½ä¸å建 dumpsub.srt æ件ã
注æï¼
æäºä¸è¯ç硬件ææ¾å¨éå°ä½¿ç¨ Unix å¼çè¡ç»å°¾å符ç SRT å- å¹ä¼åºç°æéãå¦æ碰巧使ç¨çæ¯è¿æ ·çæºå¨ï¼åå¯ä½¿ç¨ unix2dos æ类似çç¨åºå¤çä¸ä¸åå¹æ件ï¼ä»¥å° Unix å¼çè¡ç»å°¾æ¿æ¢ä¸º DOS/Windows å¼çè¡ç»å°¾ã

−dumpsubï¼ä»ç¨äº MPlayerï¼ï¼ç¨äºå¬æµç代ç ï¼

ä» VOB æµä¸å¯¼åºåå¹åæ°æ®æµãå¦è§ −dump*sub å −vobsubout* é项ã

−embeddedfontsï¼ä»ç¨äº FreeTypeï¼

å¯ç¨æ½å Matroska ååµåä½çæä½ï¼é»è®¤å¼ï¼ç¦ç¨ï¼ãè¿äºåä½å¯ç¨äº SSA/ASS åå¹ç渲æï¼−ass é项ï¼ãåä½æ件åå»ºå¨ ~/.mplayer/fonts ç®å½ä¸ã
注æï¼
ä½¿ç¨ FontConfig 2.4.2 ææ´æ°ççæ¬æ¶ï¼ååµåä½ç´æ¥å¨ååä¸- æå¼ï¼èè¿ä¸ªé项é»è®¤å¯ç¨ã

−ffactor <æ°å>

对åä½ç alphamap ï¼éæåºåæ å°è¡¨ï¼éæ°éæ ·ãå¯è®¾ä¸ºï¼

0

纯ç½åä½

0.75

é常ç»çé»è²è¾¹æ¡ï¼é»è®¤å¼ï¼

1

ç»é»è¾¹æ¡

10

ç²é»è¾¹æ¡

−flip−hebrewï¼ä»ç¨äº FriBiDiï¼

å¼å¯ä½¿ç¨ FriBiDi 翻转åå¹ç模å¼ã

−noflip−hebrew−commas

æ¹å FriBiDi 对äºåå¹ä¸éå·ææ¾ä½ç½®çé¢æµæ¹å¼ãå¦æåå¹ä¸- çéå·æ¾ç¤ºå¨å¥é¦èéå¥å°¾ï¼å°±ä½¿ç¨è¯¥é项ã

−font <font.desc æ件çè·¯å¾ï¼åä½çè·¯å¾ï¼FreeTypeï¼ï¼å-
ä½æ ·å¼ï¼Fontconfigï¼>

å¨å«çç®å½ä¸å¯»æ¾ OSD/åå¹çåä½ï¼æ®éåä½çé»è®¤è·¯å¾ä¸ºï¼~/.mplayer/ font/font.descï¼FreeType åä½çé»è®¤è·¯å¾ä¸ºï¼~/.mplayer/ subfont.ttfï¼Fontconfig çé»è®¤åä½ï¼âsans-serifâ)ã
注æï¼
ä½¿ç¨ 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 åï¼åå° fontconfig åæ¶ç¨äº libass å OSDï¼ä½¿ç¨ −nofontconfig åï¼åå®å¨ä¸ä½¿ç¨ fontconfigï¼ä¹å°±æ¯è¯´åªæè¿æ¶ï¼−font ä¸ −subfont é项ä¸- å¯ä»¥æå®åä½çè·¯å¾ã

−forcedsubsonly

ä»æ¾ç¤ºå¼ºå¶ä½¿ç¨ç DVD åå¹æµçåå¹ï¼ä¾å¦ç± −slang éæ©çé£äºåå¹ã

−fribidi−charset <å符éå称>ï¼ä»ç¨äº FriBiDiï¼

å½ç¼ç é UTF-8 åå¹æ¶ï¼æå®ä¼ ç» FriBiDi 模åçæ°æ®çå- 符éãï¼é»è®¤å¼ï¼ISO8859−8ï¼

−ifo <VOBsub ç IFO æ件>

æå®ç¨äºè£è½½ VOBsub åå¹çè°è²æ¿å帧ç»é¢å°ºå¯¸çæ件ã

−noautosub

å³éèªå¨è½½å¥åå¹æ件çè¡ä¸ºã

−osd−duration <æ¶é´>

以毫ç§ä¸ºåä½è®¾ç½® OSD ä¿¡æ¯çåçæ¶é´ï¼é»è®¤å¼ï¼1000ï¼ã

−osd−fractions <0−2>

设置 OSD ä¸å½åæ¶é´æ ç¾ä¸ç§æ°çå°æ°é¨åå¦ä½æ¾ç¤ºï¼

0

ä¸æ¾ç¤ºå°æ°é¨åï¼é»è®¤è¡ä¸ºï¼ã

1

æ¾ç¤ºå¤´ä¸¤ä½åè¿å¶æ°åã

2

æ¾ç¤ºå½åæå¨ç§å大è´ç帧计æ°å¼ã该帧计æ°å¼å¹¶ä¸ç²¾ç¡®èåªæ¯ä¸ä¸ªè¿ä¼¼å¼ãå¨å¯å帧æ°ç¼ç çæåµä¸ï¼ç»éªè¡¨æè¿ä¸ªè¿ä¼¼å¼è¿è¿å离å®éç帧计æ°å¼ã

−osdlevel <0−3>ï¼ä»ç¨äº MPlayerï¼

æå® OSD çå¯å§æ¨¡å¼ã

0

åªæåå¹

1

é³é + å®ä½æ¡ï¼é»è®¤è¡ä¸ºï¼

2

é³é + å®ä½æ¡ + 计æ¶å¨ + ç¾åæ¯è¿åº¦

3

é³é + å®ä½æ¡ + 计æ¶å¨ + ç¾åæ¯è¿åº¦ + æ»æ¶é´é¿åº¦

−overlapsub

å许å½åæåå¹æ¾ç¤ºä»æ¾ç¤ºä¸ä¸ä¸ªåå¹ï¼é»è®¤æ¹å¼æ¯åªå¨ä½¿ç¨ç¹å®å- å¹æ ¼å¼æ¶å¯ç¨è¯¥é¡¹æ¯æï¼ã

−progbar−align <0-100>

æå®ææ¾è¿åº¦æ¡åç´æ¹åæ¾ç½®æ¹å¼ï¼0ï¼ç½®é¡¶ï¼100ï¼ç½®åºï¼é»è®¤å¼ä¸º 50ï¼å³å±ä¸ï¼ã

−sid <代ç >ï¼ä¹è¯·åè§ −slangã−vobsubidï¼

æ¾ç¤ºç± <代ç >ï¼0−31ï¼æå®çåå¹æµãMPlayer 以详ç»è¾åºæ¨¡å¼ï¼−vï¼è¿è¡æ¶ï¼ä¼æå°å¯ç¨çåå¹ä»£ç ãå¦ææ æ³éç¨ DVD ä¸çæ个åå¹ï¼ä¹å¯å°è¯ −vobsubidã

−nosub

ç¦ç¨ææé»è®¤æåµä¸èªå¨éæ©çåé¨åå¹ï¼å°±å Matroska/mkv ä¹ç±»çæµå离å¨ææ¯æçé£æ ·ï¼ãè¦ä½¿ç¨ −noautosub 以ç¦æ- ¢èªå¨å è½½å¤é¨åå¹æ件ã

−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 èæ¯ç alpha ééå¼ãå¼è¶å¤§ä»£è¡¨è¶éæã0 表示å®å¨éæã

−sub−bg−color <0−255>

æå®åå¹å OSD èæ¯çé¢è²å¼ãç®åå- å¹æ¯ç°åº¦å¾åï¼æ以è¿ä¸ªå¼ç¸å½äºé¢è²ç亮度ã255 代表ç½è²ï¼0 代表é»è²ã

−sub−demuxer <[+]å称>ï¼ä»ç¨äº −subfileï¼ï¼ç¨äºå¬æµç代ç ï¼

强å¶æå® −subfile çå- å¹æµå离å¨ç±»åãå¨å称å使ç¨â+â强å¶ä½¿ç¨è¯¥ç±»åï¼è¿å°è·³è¿æäºæ£æ¥ï¼éä½¿ç¨ −sub−demuxer help ææå°åºæ¥çå离å¨å称ã为äºååå¼å®¹ï¼ä¹å¯è¯å« subreader.h ä¸å®ä¹çå离å¨ä»£ç ã

−sub−fuzziness <模å¼>

è°æ´æç´¢åå¹æ¶æ¨¡ç³å¹éçç¨åº¦ï¼

0

精确å¹éï¼é»è®¤æ¹å¼ï¼

1

å è½½ææåå«å½±çå称çåå¹ã

2

å è½½å½åç®å½ä»¥å −sub−paths ç®å½ä¸çææåå¹ã

−sub−no−text−pp

ç¦ç¨è½½å¥åå¹åæ§è¡çä»»ä½å½¢å¼çæååæå¤çæä½ãå¯ç¨äºè°è¯ç®çã

−subalign <0−2>

æå®åå¹çåªä¸ªè¾¹ç¼å¯¹é½è³ −subpos æç»é«åº¦å¼æ示çä½ç½®ã

0

对å顶é¨ï¼åæ¬çæ¹å¼ï¼ã

1

对åä¸é¨ã

2

对ååºé¨ï¼é»è®¤æ¹å¼ï¼ã

−subcc <1−8> 

æ¾ç¤ºæ¥èªæå®ééç DVD å¯éèåå¹ï¼DVD Closed Captionï¼ãå¼ 5 è³ 8 ç¨ä»¥éæ©ä» EIA-708 æ°æ®ä¸æ½åå¼å®¹ EIA-608 æ°æ®æµçä¸ç§æ¨¡å¼ãè¿äºåå¹ ä¸ æ¯ VOB å- å¹ï¼èæ¯ä¸ºå¬åæéç¢ç人åå¤çç¹æ®ç ASCII åå¹ï¼ç¼ç å¨å¤§å¤æ° 1 åº DVD ç VOB ç¨æ·æ°æ®æµä¸ãå¯éèåå¹å°ç®å为æ¢è¿æªåºç°å¨å¶å®åºç DVD ä¸ã

−subcp <ç¼ç é¡µ>ï¼ä»ç¨äº iconvï¼

å¦æç³»ç»æ¯æ iconv(3)ï¼å¯ä½¿ç¨è¯¥é项æå®åå¹çç¼ç é¡µãå¶ä¼å级é«äº −utf8 å −unicode é项ã

示ä¾ï¼

−subcp latin2
−subcp cp1250

−subcp enca:<è¯è¨>:<å¤ç¨ç¼ç é¡µ>ï¼ä»ç¨äº ENCAï¼

å¯ä½¿ç¨åå符è¯è¨ä»£ç æå®è¯è¨ï¼è®© ENCA èªå¨æ£æµç¼ç é¡µãå¦æä¸ç¡®å®ç¨åªä¸ªåæ°ï¼å¯é便è¾å¥ç¹ä»ä¹ï¼ç¶åæ¥ç mplayer −v è¾åºçå¯ç¨è¯- è¨ãå¤ç¨ç¼ç é¡µæå®èªå¨æ£æµå¤±è´¥æ¶ä½¿ç¨çç¼ç é¡µã

示ä¾ï¼

−subcp enca:cs:latin2

çæµç¼ç æ¹å¼ï¼åå®åå¹æ¯æ·åè¯ï¼å¦ææ£æµå¤±è´¥ä½¿ç¨ latin 2 ä½ä¸ºå¤ç¨ã

−subcp enca:pl:cp1250

çæµæ³¢å°è¯çç¼ç æ¹å¼ï¼cp1250 ä½ä¸ºå¤ç¨æ¹å¼ã

−sub−paths <è·¯å¾1,è·¯å¾2,...>

æå®åªä½æ件ç®å½ä¸é¢å¤éè¦è·è¸ªçåå¹è·¯å¾ã

示ä¾ï¼ å设ææ¾ /path/to/movie/movie.aviï¼å¹¶ä¸æå®äº −sub−paths sub,subtitles,/tmp/subsï¼é£ä¹ MPlayer å°å¨è¿äºç®å½ä¸æç´¢å- å¹æ件ï¼

/path/to/movie/
/path/to/movie/sub/
/path/to/movie/subtitles/
/tmp/subs/
~/.mplayer/sub/

−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 <åæ°å¼>

设置åå¹ç¼ç æ¹å¼ãå½è®¾ä¸ºâunicodeâæ¶ï¼å°æ¸²æåä½æ件ä¸çææå- å½¢ï¼å¹¶ä½¿ç¨ unicode ç¼ç ï¼é»è®¤å¼ï¼unicodeï¼ãï¼æ²¡æä½¿ç¨ FreeType åä½æ¶ï¼è®¾ä¸ºâunicodeâ以å¤çå¼å°ç¦ç¨ font.desc æ件ç unicode å形渲æãä½¿ç¨ FreeType 并ä¸è®¾ä¸ºâunicodeâ以å¤çå¼æ¶ï¼ç³»ç»å¿é¡»æ¯æsupport iconv(3) 以使ç¨è¯¥é项å¯æ£å¸¸å·¥ä½ãï¼

−subfont−osd−scale <0−100>ï¼ä»ç¨äº FreeTypeï¼

设置 OSD åç´ çèªå¨ç¼©æ¾ç³»æ°ï¼é»è®¤å¼ï¼6ï¼ã

−subfont−outline <0−8>ï¼ä»ç¨äº FreeTypeï¼

设置åä½è½®å»çç²ç»ï¼é»è®¤å¼ï¼2ï¼ã

−subfont−text−scale <0−100>ï¼ä»ç¨äº FreeTypeï¼

以å±å¹å°ºå¯¸çç¾åæ¯ä¸ºæ°å¼ï¼è®¾ç½®å- å¹ææ¬çèªå¨ç¼©æ¾ç³»æ°ï¼é»è®¤å¼ï¼5ï¼ã

−subfps <éç>

æå®åå¹æ件ç帧çï¼é»è®¤å¼ï¼å½±çç帧çï¼ã
注æï¼
<éç> 大äºçµå½±ç帧çæ¶ï¼å°ä½¿åºäºå¸§çåå¹æ件å éææ¾å- å¹ï¼è使åºäºæ¶é´çåå¹æ件åæ¢ææ¾åå¹ã

−subpos <0−150>ï¼æå©äºä¸ −vf expand ä¸å使ç¨ï¼

æå®åå¹å¨å±å¹ä¸æ¾ç¤ºçä½ç½®ãåæ°å¼æ¯ä»¥å±å¹é«åº¦çç¾åæ¯ä¸ºåä½çå- å¹åç´ä½ç½®ãå¼å¤§äº 100 æ¶å°æªæé¨ååå¹çæ¾ç¤ºã

−subwidth <10−100>

æå®å- å¹å¨å±å¹ä¸æ¾ç¤ºçæ大宽度ãæå©äºä½¿ç¨çµè§è¾åºçæåµãåæ°å¼æ¯ä»¥å±å¹å®½åº¦çç¾åæ¯ä¸ºåä½çå- å¹å®½åº¦ã

−noterm−osd

å½æ²¡æå¯ç¨çè§é¢è¾åºæ¶ï¼åæ¢å¨æ§å¶å±å¹ä¸æ¾ç¤º OSD æ¶æ¯ã

−term−osd−esc <转ä¹å符åºå>

æå®å¨æ§å¶å±å¹ä¸æ¾ç¤º OSD ä¿¡æ¯ä¹å使ç¨ç转ä¹å符åºåã转ä¹å- 符åºååºå½å°åæ ç§»è³ç¨äº OSD æ¾ç¤ºçé£è¡ä¹é¦å¹¶æ¸ç©ºè¯¥è¡ï¼é»è®¤å¼ï¼^[[A\r^[[Kï¼ã

−unicode

åè¯ MPlayer å°åå¹æ件ä½ä¸º unicode ææ¬å¤çãï¼åªæå½ −subcp å −utf8 é½æªä½¿ç¨æ¶ï¼è¯¥é项æå¯çæï¼

−unrarexec <unrar å¯æ§è¡æ件çè·¯å¾>ï¼MingW å¹³å°ä¸ä¸æ¯æãï¼

æå® unrar å¯æ§è¡æ件çè·¯å¾ï¼ä»¥ä½¿ MPlayer å¯ä»¥ä½¿ç¨å¶è¯»å RAR å缩ç VOBSub æ件ï¼é»è®¤å¼ï¼æªè®¾ç½®è·¯å¾ï¼å æ¤è¯¥åè½å³é- ï¼ã该路å¾å¿é¡»åå«å¯æ§è¡æ件çæ件åï¼ä¾å¦ /usr/local/bin/unrarã

−utf8   

åè¯ MPlayer å°åå¹æ件ä½ä¸º UTF-8 ææ¬æ¥å¤çãï¼åªæå½ −subcp æªæå®æ¶è¯¥é项æçæï¼å¹¶ä¸å¶ä¼å级é«äº −unicodeãï¼

−vobsub <æ åç¼åç VOBsub æ件å>

æå®ç¨ä½åå¹ç VOBsub æ件ãå¿é¡»æ¯æ åç¼åçå®æ´è·¯å¾ï¼å³æ²¡æâ.idxâãâ.ifoâåâ.subâã

−vobsubid <0−31>

æå® VOBsub åå¹ä»£ç ã

é³é¢è¾åºé项ï¼ä»ç¨äº MPLAYERï¼

−abs <åæ°å¼>ï¼ä»ç¨äº −ao ossï¼ï¼å·²åºå¼ï¼

æ¹åé³é¢é©±å¨/声å¡ç¼å²åºå¤§å°çæ£æµè¡ä¸ºã

−format <æ ¼å¼>ï¼å¦è§ format é³é¢è¿æ»¤å¨ï¼

éæ©ä»é³é¢è¿æ»¤å¨å±è¾åºå°å£°å¡æ¶ä½¿ç¨çéæ ·æ ¼å¼ã<æ ¼å¼> ä¸- å¯ç¨çå¼å¨ä¸æ format é³é¢è¿æ»¤å¨çæè¿°ä¸ååºã

−mixer <设å¤>

使ç¨ä»£æ¿é»è®¤ç /dev/mixer 设å¤çæ··é³è®¾å¤ãä½¿ç¨ ALSA æ¶æ¯æ··é³å¨å称ã

−mixer−channel <æ··é³å¨çº¿è·¯>[,æ··é³å¨ç´¢å¼å·]ï¼ä»ç¨äº −ao oss å −ao
alsaï¼

该é项åè¯ MPlayer 使ç¨å¦ä¸ä¸ªééæ§å¶é³éèéé»è®¤ç PCMãç¨äº OSS çé项åæ¬ volãpcmãlineã æå³é项çå®æ´å表请æ¥é /usr/include/ linux/soundcard.h ä¸çSOUND_DEVICE_NAMESãä½¿ç¨ ALSA æ¶å¯ä»¥ä½¿ç¨ alsamixer æ¾ç¤ºçå称ï¼ä¾å¦ MasterãLineãPCMã
注æï¼
åè·ä¸ä¸ªæ°åç ALSA æ··é³ééå称å¿é¡»ä»¥ <å称,æ°å> æ ¼å¼æå®ï¼å³ alsamixer ä¸æ ä¸ºâPCM 1âçééå¿é¡»è½¬æ¢ä¸º 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 设å¤å称ä¸- çâ,âæ¿æ¢ä¸ºâ.âï¼â:âæ¿æ¢ä¸ºâ=âãéè¿ S/PDIF è¾åº hwac3 æ¶ï¼é使ç¨âiec958âæâspdifâ设å¤ï¼é¤é对äºå¦ä½æ- £ç¡®è®¾ç½®æææ¡ã

oss    

OSS é³é¢è¾åºé©±å¨

<dsp-device>

设置é³é¢è¾åºè®¾å¤ï¼é»è®¤å¼ï¼/dev/dspï¼ã

<mixer-device>

设置é³é¢æ··é³è®¾å¤ï¼é»è®¤å¼ï¼/dev/mixerï¼ã

<mixer-channel>

设置é³é¢æ··é³ééï¼é»è®¤å¼ï¼pcmï¼ã

sdlï¼ä»ç¨äº SDLï¼

é«åº¦ç¬ç«äºå¹³å°ç SDLï¼Simple Directmedia Layerï¼åºçé³é¢è¾åºé©±å¨

<driver>

æç¡®æå®æ使ç¨ç SDL é³é¢é©±å¨ï¼é»è®¤æ¹å¼ï¼è®© SDL éæ©ï¼ã

arts   

éè¿ aRts å®æ¤è¿ç¨çé³é¢è¾åº

esd    

éè¿ ESD å®æ¤è¿ç¨çé³é¢è¾åº

<server>

æç¡®æå® ESD æå¡å¨ï¼é»è®¤å¼ï¼localhostï¼ã

jack    

éè¿ JACKï¼Jack é³é¢è¿æ¥ç»ä»¶ï¼çé³é¢è¾åº

(no)connect

èªå¨å建è³è¾åºç«¯å£çè¿æ¥ï¼é»è®¤å¼ï¼å¯ç¨ï¼ãå½å¯ç¨æ¶ï¼è¾åºä¿¡éçæ°éæ大éå¶ä¸ºå¯ç¨çè¾åºç«¯å£æ°éã

port=<å称>

è¿æ¥è³æç»å称ç端å£ï¼é»è®¤å¼ï¼ç©ç端å£ï¼ã

name=<客æ·ç«¯å称>

å°å®¢æ·ç«¯åä¼ éç» JACKï¼é»è®¤å¼ï¼MPlayer [<è¿ç¨ä»£ç >]ï¼ãæå©äºå¸æèªå¨å»ºç«æäºè¿æ¥çæåµã

(no)estimate

ä¼°ç®é³é¢å»¶è¿ï¼è¿åºå½è½è®©è§é¢æ- æ¾æ´æµçï¼é»è®¤å¼ï¼å¯ç¨ï¼ã

(no)autostart

å½æéè¦æ¶èªå¨å¯å¨ jackdï¼é»è®¤å¼ï¼ç¦ç¨ï¼ã注æ该é项似ä¹ä¸å¯é ï¼å¹¶ä¸ä¼å¾æ åè¾åºåéæå¡ç«¯æ¶æ¯ã

nas    

éè¿ NAS çé³é¢è¾åº

coreaudioï¼ä»ç¨äº Mac OS Xï¼

Mac OS X èªå¸¦çé³é¢è¾åºé©±å¨

device_id=<代ç >

æ使ç¨è¾åºè®¾å¤ç代ç ï¼0 = é»è®¤è®¾å¤ï¼

help

ååºææå¯ç¨è¾åºè®¾å¤ç代ç ã

openal 

å®éªæ§ç OpenAL é³é¢è¾åºé©±å¨

pulse  

PulseAudio é³é¢è¾åºé©±å¨

[<主æº>[:<è¾åºç®æ >[:broken_pause]]]

æå®æ使ç¨ç主æºï¼å¹¶å¯æå®æ使ç¨çè¾åºæ³æ¼å¼ã<主æº> å- 符串为空çè¯ï¼å使ç¨æ¬å°è¿æ¥ãæå®âlocalhostâå使ç¨ç½ç»ä¼ è¾ï¼å¾å¯è½å¹¶éæå¸æçæ¹å¼ï¼ãè¿å¯ä»¥æ确表æ强å¶ä½¿ç¨åéé»è¾ï¼ä»¥ä¿®å¤å- å¨æéçæååè½ï¼broken_pauseï¼ãï¼é»è®¤å¼ï¼èªå¨ä¾¦æµï¼ãå¦æåªéè¦å¯ç¨è¯¥åè½èä¸æå®ä¸»æº/è¾åºç®æ ï¼åå½¢å¼ä¸º −ao pulse:::broken_pauseã

sgiï¼ä»ç¨äº SGIï¼

SGI èªå¸¦çé³é¢è¾åºé©±å¨

<è¾åºè®¾å¤å>

æç¡®æå®æ使ç¨çé³é¢è¾åºè®¾å¤/ æ¥å£ï¼é»è®¤å¼ï¼ç³»ç»èå´çé»è®¤å¼ï¼ãä¾å¦ï¼âAnalog OutâæâDigital Outâã

sun (ä»ç¨äº Sun)

Sun èªå¸¦çé³é¢è¾åºé©±å¨

<设å¤>

æç¡®æå®æ使ç¨çé³é¢è®¾å¤ï¼é»è®¤å¼ï¼/dev/audioï¼ã

win32ï¼ä»ç¨äº Windowsï¼

Windows èªå¸¦ç波形è¾åºé³é¢è¾åºé©±å¨

dsoundï¼ä»ç¨äº Windowsï¼

DirectX DirectSound é³é¢è¾åºé©±å¨

device=<设å¤æ举å¼>

设置æéç¨ç设å¤å·ãç¨ −v ææ¾æ件å°æ¾ç¤ºå¯ç¨è®¾å¤å表ã

kaiï¼ä»ç¨äº OS/2ï¼

OS/2 KAI é³é¢è¾åºé©±å¨

uniaud

强å¶ä½¿ç¨ UNIAUD 模å¼ã

dart

强å¶ä½¿ç¨ DART 模å¼ã

(no)share

以å±äº«æç¬å æ¨¡å¼æå¼é³é¢ã

bufsize=<大å°>

设置ç¼å²å¤§å°ä¸º <大å°>ï¼ä»¥éæ ·æ°ä¸ºåä½ï¼é»è®¤å¼ï¼2048ï¼ã

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+ çåæ ¸ï¼

ç¨äºå¸¦æ硬件 MPEG 解ç å¨ç V4L2 å¡çé³é¢è¾åºé©±å¨ã

mpegpesï¼ä»ç¨äºæ°åè§é¢å¹¿æï¼

ç¨äºæ°åè§é¢å¹¿æå¡çé³é¢è¾åºé©±å¨ï¼å¦æ没å®è£æ°åè§é¢å¹¿æå¡ï¼ååå¥è³ MPEG-PES æ件ä¸ã

card=<1−4>

å¦ææå¤äºä¸ä¸ªå¡ï¼æå®æ使ç¨çæ°åè§é¢å¹¿æ- å¡ãå¦æä¸æå®ï¼MPlayer å°æ索第ä¸ä¸ªå¯ç¨çå¡ã

file=<æ件å>

è¾åºæ件å

null   

ä¸äº§çé³é¢è¾åºä½ä¿æè§é¢ææ¾çé度ãè¦åºåæµè¯åä½¿ç¨ −nosoundã

pcm    

åå¥æªç»å¤çç PCM/波表æ件çé³é¢è¾åº

(no)waveheader

åæ¬æä¸åæ¬æ³¢è¡¨å¤´é¨æ°æ®ï¼é»è®¤å¼ï¼åæ¬ï¼ãå¦æä¸åæ¬ï¼åçææªç»å¤çç PCM æ°æ®ã

file=<æ件å>

å°å£°é³å° <æ件å> ä¸èéé»è®¤ç audiodump.wavãå¦ææªæå® nowaveheaderï¼é»è®¤è¾å¥æ¯ audiodump.pcmã

fast 

å°è¯æ¯å®æ¶æ´å¿«å°å¯¼åºæ°æ®ãéç¡®ä¿è¾åºä¸è¢«æªæ- ï¼é常æ¯å ä¸ºâç¼å²ä¸- è§é¢å太å¤âæ¶æ¯)ãæ¶å°âä½ çç³»ç»è¿è¡å¤ªâæ¢âï¼æ æ³æ- æ¾ï¼âæ¶æ¯æ¯æ£å¸¸ç°è±¡ã

plugin  

æ件é³é¢è¾åºé©±å¨

è§é¢è¾åºé项ï¼ä»ç¨äºMPLAYERï¼

−adapter <åæ°å¼>

设置ç¨äºæ¥åå¾åçæ¾å¡ãä½¿ç¨ −v è¿è¡è¯¥é项å¯å¾å°å¯ç¨å¡çå表ãç®ååªè½ä¸ directx è§é¢è¾åºé©±å¨ä¸åèµ·ä½ç¨ã

−bpp <è²å½©æ·±åº¦>

æ¹åèªå¨æ£æµå°çè²å½©æ·±åº¦ãåªæ fbdevãdgaãsvgaãvesa è§é¢è¾åºé©±å¨æ¯æã

−border

æ
- æ¾å½±çæ¶ä½¿ç¨çªå£è¾¹æ¡åè£é¥°ææãå ä¸ºé»è®¤å¯ç¨è¯¥é项ï¼æ以éä½¿ç¨ −noborder ç¦ç¨æ åççªå£è£é¥°ææã

−brightness <−100−100>

è°æ´è§é¢ä¿¡å·ç亮度ï¼é»è®¤å¼ï¼0ï¼ãä¸æ¯ææçè§é¢è¾åºé©±å¨é½æ¯æã

−contrast <−100−100>

è°æ´è§é¢ä¿¡å·ç对æ¯åº¦ï¼é»è®¤å¼ï¼0)ãä¸æ¯ææçè§é¢è¾åºé©±å¨é½æ¯æã

−display <å称>ï¼ä»ç¨äº X11ï¼

æå®å¸æç¨äºæ¾ç¤ºç X server ç主æºååæ¾ç¤ºç«¯å·ã

示ä¾ï¼

−display xtest.localdomain:0

−dr    

å¼å¯ç´æ¥æ¸²æåè½ï¼ä¸æ¯ææçç¼è§£ç å¨åè§é¢è¾åºé½æ¯æï¼å¨ä¸ç³»ç»ä¸è¿è½æ¾èå å¿«ä½åä¼ è¾çé度ï¼ä½å¨å¤§å¤æ°æåµä¸å·®å¼é常å°ãå¨æäºæåµä¸ï¼å°¤å¶æ¯å½è§£ç å¨ä¸æ°å½å°æå®äºæéçç¼å²å¤§å°æ¶ï¼è¯¥åè½å¯è½åå¾é常æ¢ã
è¦åï¼
å¯è½å¯¼è´ OSD/åå¹åè½å¼å¸¸ï¼

−dxr2 <é项1:é项2:...>

该é项ç¨äºæ§å¶ dxr2 è§é¢è¾åºé©±å¨ã

ar-mode=<åæ°å¼>

宽é«æ¯æ¨¡å¼ï¼0 = æ®é, 1 = å¨æ¯, 2 = ä¿¡ç®±ï¼é»è®¤å¼ï¼ï¼

iec958-encoded

å° iec958 è¾åºæ¨¡å¼è®¾ç½®ä¸º encodedã

iec958-decoded

å° iec958 è¾åºæ¨¡å¼è®¾ç½®ä¸º decodedï¼é»è®¤å¼ï¼ã

macrovision=<åæ°å¼>

macrovision 模å¼ï¼0 = offï¼é»è®¤å¼ï¼, 1 = agc, 2 = agc 2 colorstripe, 3 = agc 4 colorstripeï¼

mute 

é³é¢è¾åºéé»

unmute

解é¤é³é¢è¾åºéé»

ucode=<åæ°å¼>

微代ç çè·¯å¾

çµè§è¾åºæ¨¡å¼

75ire

å¯ç¨ 7.5 IRE è¾åºæ¨¡å¼

no75ire

ç¦ç¨ 7.5 IRE è¾åºæ¨¡å¼ï¼é»è®¤å¼ï¼

bw   

é»ç½çµè§è¾åº

color

彩è²çµè§è¾åºï¼é»è®¤å¼ï¼

interlaced

éè¡æ«æçµè§è¾åºï¼é»è®¤å¼ï¼

nointerlaced

ç¦ç¨éè¡æ«æçµè§è¾åº

norm=<åæ°å¼>

çµè§å¶å¼ï¼ntscï¼é»è®¤å¼ï¼, 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

å¯ç¨è¦çå¼å±ä¸æ¾ç¤ºæ¨¡å¼ã

nool-osd

ç¦ç¨è¦çå¼å±ä¸æ¾ç¤ºæ¨¡å¼ï¼é»è®¤å¼ï¼ã

ol[h|w|x|y]-cor=<−20−20>

å½è¦çå容ä¸çªå£å¹éå¾ä¸å¤å®ç¾æ¶ï¼è°æ´è¦ç尺寸 (h,w) åä½ç½® (x,y)ï¼é»è®¤å¼ï¼0ï¼ã

overlay

æ¿æ´»è¦ç模å¼ï¼é»è®¤å¼ï¼ã

nooverlay

æ¿æ´»çµè§è¾åºæ¨¡å¼ã

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 å¹³å°ä¸çå¨å±åæ¢é®é¢ã

−fs-border-left <åç´ æ°>
−fs-border-right <åç´ æ°>
−fs-border-top <åç´ æ°>
−fs-border-bottom <åç´ æ°>

æå®å¨å±æ¨¡å¼ä¸é¢å¤è¾¹æ¡ç宽度ã该边æ¡ç¨äºæææ¾ç¤ºçåç´ ï¼è§é¢ãOSD å EOSDãåç´ æ°æ¯ç¸å¯¹äºå±å¹å辨ççåç´ éèæå®çãç®åä» gl è§é¢è¾åºé©±å¨æ¯æã

−gamma <−100−100>

è°æ´è§é¢ä¿¡å·çä¼½çæ ¡æ- £å¼ï¼é»è®¤å¼ï¼0ï¼ãä¸æ¯ææè§é¢è¾åºé©±å¨é½æ¯æã

−geometry x[%][:y[%]] æ [WxH][+−x+−y]

è°æ´å±å¹ä¸è¾åºçåå§ä½ç½®ãx å y æå®çæ¯ä»å±å¹å·¦ä¸è§å°ææ¾ç¤ºå¾åçå·¦ä¸è§ä»¥å素为åä½çè·ç¦»ãä¸è¿å¦æå¨åæ°å¼åæç¾åå·æ è®°ï¼å°±å为å¨è¯¥æ¹åä¸ä»¥å±å¹å°ºå¯¸çç¾åæ°è®¡éçè·ç¦»ãä¹æ¯ææ å X11 ç −geometry é项çæ ¼å¼ãå¨è¿ç§æ¹å¼ä¸ï¼è¯¸å¦â+10−50â表示âæ¾å¨è·å·¦è¾¹ç 10 个åç´ ï¼è·ä¸è¾¹ç 50 个åç´ çå°æ¹âï¼èâ−−20+−10â表示âæ¾å¨è¶åºå³è¾¹ç 20 个åç´ ï¼è¶åºä¸è¾¹ç 10 个åç´ çå°æ¹ãâå¦æä½¿ç¨ −wid é项æå®äºå¤é¨çªå£ï¼é£ä¹ x å y åæ æ¯ç¸å¯¹äºçªå£èéå±å¹çå·¦ä¸è§ã使ç¨å®å¨æ¯æ −screen çè§é¢è¾åºç驱å¨ï¼direct3dãglãgl_tiledãvdpauãx11ãxvãxvmcãcorevideoï¼æ¶ï¼åæ æ¯ç¸å¯¹äº −screen é项æç»å±å¹çå¼ã
注æï¼
该éé¡¹ä» x11ãxmgaãxvãxvmcãxvidixãglãgl_tiledãdirect3dãdirectxãfbdevãsdlãdfxfb å corevideo è§é¢è¾åºé©±å¨æ¯æã

示ä¾ï¼

50:40

æçªå£æ¾å¨ x=50, y=40 å¤ã

50%:50%

æçªå£æ¾å¨å±å¹ä¸å¤®ã

100% 

æçªå£æ¾å¨å±å¹å³è¾¹ä¸å¤®çä½ç½®ã

100%:100%

æçªå£æ¾å¨å±å¹å³ä¸è§ã

−gui-wid <çªå£ä»£ç >ï¼å¦è§ −widï¼ï¼ä»ç¨äºå¾å½¢çé¢ï¼

该é项åè¯å¾å½¢çé¢ä¹ä½¿ç¨ X11 çªå£å¹¶æèªå·±åºå®å¨è§é¢çªå£çä¸æ¹ï¼è¿æå©äºå°ä¸ä¸ªè¿·ä½ å¾å½¢çé¢åµå¥å°æµè§å¨ï¼æ¯å¦éè¿ä½¿ç¨ MPlayer æ件ï¼çæåµã

−hue <−100−100>

è°æ´è§é¢ä¿¡å·çè²è°ï¼é»è®¤å¼ï¼0ï¼ãå¯éè¿è¯¥é项å¾å°è´çææçå¾åãä¸æ¯ææè§é¢è¾åºé©±å¨é½æ¯æã

−monitor−dotclock <èå´[,èå´,...]>ï¼ä»ç¨äº −vo fbdev å vesaï¼

æå®æ¾ç¤ºå¨ç¹æ¶éæåç´ æ¶éçèå´ã

−monitor−hfreq <èå´[,èå´,...]>ï¼ä»ç¨äº −vo fbdev å vesaï¼

æå®æ¾ç¤ºå¨æ°´å¹³é¢ççèå´ã

−monitor−vfreq <èå´[,èå´,...]>ï¼ä»ç¨äº −vo fbdev å vesaï¼

æå®æ¾ç¤ºå¨åç´é¢ççèå´ã

−monitoraspect <宽é«æ¯>ï¼å¦è§ −aspectï¼

设置æ¾ç¤ºå¨æçµè§å±å¹ç宽é«æ¯ãå¼ 0 å°ç¦ç¨ååç设置ï¼ä¾å¦ï¼éç½®æ件ä¸ç设置ï¼ãå¦æå¯ç¨è¯¥é项ï¼å°æ¹å −monitorpixelaspect ä¸ç设置ã

示ä¾ï¼

−monitoraspect 4:3 æè 1.3333
−monitoraspect 16:9 æè 1.7777

−monitorpixelaspect <宽é«æ¯>ï¼å¦è§ −aspectï¼

设置æ¾ç¤ºå¨æçµè§å±å¹çå个åç´ ç宽é«æ¯ï¼é»è®¤å¼ï¼1ï¼ãå¼ 1 表示æ£æ¹å½¢åç´ ï¼ï¼å ä¹ï¼ï¼å¯¹äºææç LCD é½æ¯æ£ç¡®ç设置ï¼ã

−nameï¼ä»ç¨äº X11ï¼

设置çªå£ç±»çååã

−nodouble

ç¦ç¨åéç¼å²ï¼å¤æ°æåµä¸ç¨äºè°è¯ç®çãåéç¼å²éè¿å¨ååéå¨å- 两个帧ï¼å¹¶å¨æ¾ç¤ºä¸å¸§çåæ¶è§£ç å¦ä¸å¸§æ¥è§£å³éªçé®é¢ãå¯è½å¯¹ OSD æè´é¢å½±åï¼ä½é常è½å»é¤ OSD éªçé®é¢ã

−nograbpointer

è§é¢æ¨¡å¼æ¹åï¼−vmï¼åï¼ä¸è·åé¼ æ æéãæå©äºå¤å¤´è¾åºçéç½®ã

−nokeepaspect

缩æ¾çªå£æ¶ä¸ä¿æçªå£ç宽é«æ¯ãåªè½ä¸ x11, xv, xmga, xvidix, directx è§é¢è¾åºé©±å¨ä¸åèµ·ä½ç¨ãèä¸å¨ X11 ä¸çªå£ç®¡çå¨å¿é¡»æ¥åçªå£å®½é«æ¯çæ示信æ¯ã

−ontop 

让ææ¾å¨çªå£ä¿æä½äºå¶ä»çªå£ä¹ä¸ãä½¿ç¨ X11 çè§é¢è¾åºé©±å¨ï¼é¤äº SDLï¼ï¼ä»¥åä½¿ç¨ directxãcorevideoãquartzãggi å gl_tiled ç驱å¨é½æ¯æã

−panscan <0.0−1.0>

å¯ç¨å¨æ¯æ¾ç¤ºåè½ï¼è£åªè¯¸å¦ 16:9 å½±çç两边以éåº 4:3 ä¸å¸¦é»è¾¹çæ¾ç¤ºæ¹å¼ï¼ã该èå´åçåæ°å¼ç¨æ¥æ§å¶è£åå¤å°å¾åãåªè½ä¸ directxãxvãxmgaãmgaãglãgl_tiledãquartzãcorevideo å xvidix çè§é¢è¾åºé©±å¨ä¸å使ç¨ã
注æï¼
ä¹å许 −1 å 0 é´çå¼ï¼ä½è¿äºå¼å¤äºé«åº¦è¯éªé¶æ®µï¼ä»èå¯è½å¯¼è´å´©æºææ´ç³çæåµã使ç¨åæèªè´ï¼

−panscanrange <−19.0−99.0>ï¼è¯éªæ§çé项ï¼

æ¹åå¨æ¯æ¾ç¤ºåè½çåæ°å¼èå´ï¼é»è®¤å¼ï¼1ï¼ãå¼ä¸ºæ- £æ°è¡¨ç¤ºé»è®¤èå´æä¹çåæ°ãå¼ä¸ºè´æ°è¡¨ç¤ºå¯ä»¥æ¾å¤§è³ −panscanrange+1 æ表示çå æ°ãä¾å¦ −panscanrange −3 å许缩æ¾å å- è¾¾å° 4ã该åè½æ¯å®éªæ§çã

−border−pos−x <0.0−1.0>ï¼ä»ç¨äº −vo
gl,xv,xvmc,vdpau,direct3dï¼é»è®¤å¼ä¸º 0.5ï¼

å½ä½¿ç¨é»è¾¹ä»¥è°æ´ç»é¢å¤§å°éåºå±å¹å®½é«æ¯æ¶ï¼è¯¥é项ç¨äºç¡®å®å¨ä½å¤ææ¾é»è¾¹ãå¼ä¸º 0.0 æ¶å°é»è¾¹æ¾å¨å³è¾¹ï¼1.0 åæ¾å¨å·¦è¾¹ãå¼è¶åº 0.0 − 1.0 çèå´æ¶å°å¨æ对åºçä¸è¾¹é¢å¤å¢å é»è¾¹ç宽度并使å¦ä¸è¾¹çé¨åç»é¢è¢«ç§»é¤ã

−border−pos−y <0.0−1.0>ï¼ä»ç¨äº −vo gl,xv,xvmc,vdpau,direct3d
onlyï¼é»è®¤å¼ä¸º 0.5ï¼

ä¸ −border−pos−x ç¸ä¼¼ï¼ä½ç¨äºä¸ä¸ä½ç½®çé»è¾¹ãå¼ä¸º 0.0 æ¶å°é»è¾¹æ¾å¨åºé¨ï¼1.0 åæ¾å¨åºé¨ã

−monitor−orientation <0-3>ï¼å®éªæ§é项ï¼

å°æ¾ç¤ºçå¾åæ转 90ã180 æ 270 度ãä¹æ转 OSDï¼èä¸åªæ¯è§é¢å¾åæ¬èº«ãå½ååªæ gl è§é¢è¾åºé©±å¨æ¯æã对äºå¶å®è§é¢è¾åºç±»åå¯ä»¥ä½¿ç¨ −vf ass,expand=osd=1,rotate=nã以åçè³å¯ä»¥èªå¨åºç¨è¿ä¸è¡ä¸ºã

−refreshrate <Hz>

设置æ¾ç¤ºå¨ä»¥ä»¥ Hz 为åä½çå·æ°çãç®åä» −vo directx ä¸ −vm é项ç»å使ç¨æ¶æ¯æã

−rootwin

å¨æ ¹çªå£ï¼æ¡é¢èæ¯ï¼ä¸æ- æ¾å½±çãä¸è¿ï¼æ¡é¢èæ¯å¾åå¯è½çä½å½±çççªå£ãåªè½ä¸ x11, xv, xmga, xvidix, quartz, corevideo å directx çè§é¢è¾åºé©±å¨ä¸åèµ·ä½ç¨ã

−saturation <−100−100>

è°æ´è§é¢ä¿¡å·ç饱å度ï¼é»è®¤å¼ï¼0ï¼ãå¯éè¿è¯¥é项è·å¾ç°åº¦è¾åºææãä¸æ¯ææçè§é¢è¾åºé©±å¨é½æ¯æã

−screenh <åç´ æ°>

æå®å±å¹é«åº¦ï¼ç¨äºè§é¢è¾åºé©±å¨ï¼å¦ fbdev, x11 åçµè§è¾åºï¼ä¸ç¥éå±å¹å辨ççæåµã

−screenw <åç´ æ°>

æå®å±å¹å®½åº¦ï¼ç¨äºè§é¢è¾åºé©±å¨ï¼å¦ fbdev, x11 åçµè§è¾åºï¼ä¸ç¥éå±å¹å辨ççæåµã

−(no)stop−xscreensaverï¼ä»ç¨äº X11ï¼

å¯å¨æ¶å³é xscreensaverï¼å¹¶å¨éåºæ¶éæ°å°å¶å¼å¯ï¼é»è®¤å¼ï¼å¯ç¨ï¼ãå¦æå±ä¿ç¨åºä¸æ¯æ XSS æ XResetScreenSaver ç APIï¼è¯·æ¹ç¨ −heartbeat−cmd é项ã

−titleï¼å¦è§ −use−filename−titleï¼

设置çªå£çæ é¢ãåºäº X11 çè§é¢è¾åºé©±å¨æ¯æ该é项ã

−use−filename−titleï¼å¦è§ −titleï¼

å½æªä½¿ç¨ −title 设置çªå£çæ é¢æ¶ï¼ä½¿ç¨åªä½çæ件å设置æ é¢ãåºäº X11 çè§é¢è¾åºé©±å¨æ¯æ该é项ã

−vm    

å°è¯åæ¢ä¸ºå¦ä¸ç§è§é¢æ¨¡å¼ãdgaãx11ãxvãsdl å directx è§é¢è¾åºé©±å¨æ¯æ该é项ãå¦æç¨äº directx è§é¢è¾åºé©±å¨ï¼−screenwã−screenhã−bpp å −refreshrate é项å¯ç¨äºè®¾ç½®æ°çæ¾ç¤ºæ¨¡å¼ã

−vsync   

å¯ç¨ç¨äº vesaãdfbmga å svga è§é¢è¾åºé©±å¨çåç´åæ«é´éåè½ã

−wid <çªå£ä»£ç >ï¼å¦è§ −gui-widï¼ï¼ä»ç¨äº X11ãOpenGL å DirectXï¼

该é项让 MPlayer ç»å®è³ä¸ä¸ªå·²æççªå£ä¸ãæå©äºå° MPlayer åµå¥è³æµè§å¨ä¸- ï¼æ¯å¦ä»¥æ©å±æ件çå½¢å¼ï¼ã该é项å°å®æ´å°åå¡«æç»ççªå£ï¼å æ¤ MPlayer ä¸åè´è´£è¯¸å¦å®½é«æ¯ç¼©æ¾ãå¨æ¯æ¾ç¤ºä¹ç±»çåè½ï¼èæ¯ç±å建该çªå£çåºç¨ç¨åºç®¡çã

−screen <−2−...>ï¼−xineramascreen çå«åï¼

å¨ Xinerama éç½®è¿ç¨ä¸- ï¼å³å个æ¡é¢è·¨è¶å¤ä¸ªæ¾ç¤ºç»ç«¯æ¾ç¤ºï¼ï¼è¯¥é项åè¯ MPlayer å°å½±çæ¾ç¤ºå¨åªä¸ªå±å¹ä¸ãå¼ä¸º −2 表示跨è¶æ´ä¸ªèææ¾ç¤ºç»ç«¯å¨å±å¹æ¾ç¤ºï¼å¨è¿ç§æåµä¸å°å®å¨å¿½ç¥ Xinerama çä¿¡æ¯ï¼ï¼−1 表示å¨å½åçªå£æå¨çæ¾ç¤ºç»ç«¯ä¸å¨å±å¹æ¾ç¤ºãéè¿ −geometry é项设置çåå§ä½ç½®æ¯ç¸å¯¹äºæå®å±å¹çä½ç½®ãé常åªè½ä¸â−fstype −fullscreenâæâ−fstype noneâä¸åèµ·ä½ç¨ã 该é项ä¸éåç¨äºä»ä»è®¾ç½®å¯å¨æ¶ä½¿ç¨å±å¹ ï¼å ä¸ºå¶æ»æ¯å¨æç»å±å¹ä¸å¨å±æ¾ç¤ºï¼ï¼−geometry æ¯ç®åå¯ç¨äºæ- ¤ç®ççæ好é项ãè³å° direct3dãglãgl_tiledãx11ãxv å corevideo è§é¢è¾åºé©±å¨æ¯æ该é项ã

−zrbwï¼ä»ç¨äº −vo zrï¼

é»ç½æ¾ç¤ºãè¦æ§è½æä¼ï¼è¯¥é项å¯ä»¥ä¸â−lavdopts grayâç»å使ç¨ã

−zrcrop <[宽]x[é«]+[x å移]+[y å移]>ï¼ä»ç¨äº −vo zrï¼

éæ©è¾å¥å¾åçä¸é¨åç¨äºæ¾ç¤ºï¼ä½¿ç¨å¤ä¸ªè¿æ ·çé项就å¯å¨äºå¨æ¯çµå½±æ¨¡å¼ãå¨å¨æ¯çµå½±æ¨¡å¼ä¸ï¼å½±çç»é¢åå¸å¨å¤å°çµè§ï¼ææ影仪ï¼ä¸ï¼ç¨äºå建æ´å¤§çå¾åãå¨ç¬¬ n 个 −zrcrop åé¢çé项åºç¨äºç¬¬ n å MJPEG 解ç å¡ä¸ï¼æ¯ä¸åç¼ç å¡è³å°éè¦æä¸ä¸ª −zrcrop é项å ä¸ä¸ä¸ª −zrdev é项ãåè§ −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* é项çå表ï¼ä»¥åè¿äºé项çé»è®¤å¼å使ç¨å¨æ¯çµå½±æ¨¡å¼ç示ä¾ã

−zrnorm <å¶å¼>ï¼ä»ç¨äº −vo zrï¼

æå®çµè§å¶å¼ä¸º PAL æ NTSCï¼é»è®¤å¼ï¼ä¸æ¹åï¼ã

−zrquality <1−20>ï¼ä»ç¨äº −vo zrï¼

代表 JPEG ç¼ç è´¨éçæ°å¼ï¼èå´ä» 1ï¼æ好ï¼å° 20ï¼æå·®ï¼ã

−zrvdec <1|2|4>ï¼ä»ç¨äº −vo zrï¼

åç´æ¹åç®åéæ ·ï¼è¦æ±é©±å¨åªå°è¾å¥å¾åçæ¯æ°å°ç第 2 æ第 4 è¡/ åç´ åéå° MJPEG ç¼ç å¡ï¼å¹¶ä½¿ç¨ MJPEG å¡ç缩æ¾å¨æå¾åæ伸å°åå§å°ºå¯¸ã

−zrxdoff <x æ¹åæ¾ç¤ºå移é>ï¼ä»ç¨äº −vo zrï¼

å¦æå½±ç尺寸æ¯çµè§å±å¹å°ï¼å该é项æå®ç¸å¯¹äºçµè§å±å¹å·¦ä¸è§ç x æ¹åçå移éï¼é»è®¤å¼ï¼å±ä¸ï¼ã

−zrydoff <y æ¹åæ¾ç¤ºå移é>ï¼ä»ç¨äº −vo zrï¼

å¦æå½±ç尺寸æ¯çµè§å±å¹å°ï¼å该é项æå®ç¸å¯¹äºçµè§å±å¹å·¦ä¸è§ç y æ¹åçå移éï¼é»è®¤å¼ï¼å±ä¸ï¼ã

è§é¢è¾åºé©±å¨ï¼ä»ç¨äºMPLAYERï¼

è§é¢è¾åºé©±å¨æ¯åç§è§é¢è¾åºè®¾å¤çæ¥å£ã使ç¨è¯æ³æ¯ï¼
−vo <驱å¨1[:åé项1[=åæ°å¼]:...],驱å¨2,...[,]>

æå®æ使ç¨è§é¢è¾åºé©±å¨çä¼å级å表ã

å¦æå表尾æâ,âï¼å MPlayer 使ç¨æªååºç驱å¨ä½ä¸ºåå¤é©±å¨ãå- é项æ¯ä¸æ¯å¿éçï¼å¹¶ä¸å¤§å¤æ°å¯çç¥ã
注æï¼
åè§äº −vo help 以è·åç¼è¯æ¶å·²åå«çè§é¢è¾åºé©±å¨çå表ã

示ä¾ï¼

−vo xmga,xv,

å°è¯ä½¿ç¨ Matrox X11 驱å¨ï¼ç¶åæ¯ Xv 驱å¨ï¼åç¶åæ¯å¶ä»é©±å¨ã

−vo directx:noaccel

使ç¨å éåè½å³éç DirectX 驱å¨ã

å¯ç¨è§é¢è¾åºé©±å¨æï¼
xvï¼ä»ç¨äº X11ï¼

ä½¿ç¨ XFree86 4.x ç XVideo æ©å±ç»ä»¶å¯ç¨ç¡¬ä»¶å éä¸çæ- æ¾åè½ãå¦ææ æ³ä½¿ç¨ç¡¬ä»¶ä¸ç¨ç驱å¨ï¼è¯¥é项æ许æ¯æ好çéæ©ãè¦äºè§£ä½¿ç¨äºä»ä¹çéæè²ä»¥åå¶æ¯å¦ä½ç»å¶çï¼å以 −v é项è¿è¡ MPlayer 并注æ以æ ç¾ [xv common] å¼å¤´çé£äºè¡ã

adaptor=<æ°å¼>

éæ©æå®ç XVideo ééå¨ï¼è¯·æ£æ¥ xvinfo çç»æï¼ã

port=<æ°å¼>

éæ©æå®ç XVideo 端å£ã

ck=<cur|use|set>

éæ©è·åéæè²çæ¥æºï¼é»è®¤å¼ï¼curï¼ã

cur

该é»è®¤å¼è¡¨ç¤ºéç¨ Xv ä¸å½å设置çéæè²ã

use

使ç¨æ¥èª MPlayer çéæè²ä½ä¸å°å¶ä½ä¸ºè®¾ç½®ï¼ä½¿ç¨ −colorkey é项修æ¹éæè²ï¼ã

set

å use ä¸æ ·ä½å°ææä¾çéæè²ä½ä¸ºè®¾ç½®å¼ã

ck-method=<man|bg|auto>

设置éæè²ç»å¶æ¹å¼ï¼é»è®¤å¼ï¼manï¼ã

man

æå·¥ç»å¶éæè²ï¼æäºæåµä¸å¯åå°éªçé®é¢ï¼ã

bg

å°éæè²è®¾ç½®ä¸ºçªå£èæ¯ã

auto

让 Xv ç»å¶éæè²ã

x11ï¼ä»ç¨äº X11ï¼

å±äº«ååæ¹å¼çè§é¢è¾åºé©±å¨ï¼æ ç¡¬ä»¶å éåè½ï¼åªè¦æ X11 ç¯å¢å°±è½èµ·ä½ç¨ã

xoverï¼ä»ç¨äº X11ï¼

å°å¯¹äº X11 æ¯ææ·»å å°ææåºäºè¦ç模å¼çè§é¢è¾åºé©±å¨ä¸ãç®åä» tdfx_vid æ¯æã

<è§é¢è¾åºé©±å¨>

éæ©ä½ä¸ºè§é¢æ¥æºèè¦çäº X11 ç»é¢ä¸ç驱å¨ã

vdpauï¼ä¸ −vc ffmpeg12vdpauãffwmv3vdpauãffvc1vdpauãffh264vdpau æ
ffodivxvdpau ä¸å使ç¨ï¼

ä½¿ç¨ VDPAU 硬件解ç è§é¢çè§é¢è¾åºæ¹å¼ãåæ¶æ¯ææ¾ç¤ºè½¯ä»¶è§£ç çè§é¢ã

sharpen=<−1−1>

使ç¨æ- £æ°å¼æ¶ï¼å°éåç®æ³åºç¨äºè§é¢ç»é¢ï¼ä½¿ç¨è´æ°å¼æ¶ï¼ååºç¨æ¨¡ç³ç®æ³ï¼é»è®¤å¼ï¼0ï¼ã

denoise=<0−1>

å°ä¸ç§æ¶é¤åªç¹çç®æ³åºç¨äºè§é¢ç»é¢ï¼é»è®¤å¼ï¼0ï¼ä¸æ¶é¤åªç¹ï¼ã

deint=<0−4>

éæ©è§£é¤éè¡æ«æçç®æ³ï¼é»è®¤å¼ï¼0ï¼ãææå¤§äº 0 ç模å¼éµç§ −field−dominance é项ç设置è¿è¡ã

0

ä¸è§£é¤éè¡æ«æã

1

åªæ¾ç¤ºç¬¬ä¸ä¸ªéè¡æ«æåï¼ä¸ −vf field çä½ç¨ç¸ç±»ä¼¼ã

2

è·³è·å¼åéè¡æ«æï¼ä¸ −vf tfields=1 çä½ç¨ç¸ç±»ä¼¼ã

3

顺åºç»é¢è¿å¨æ¶é´æ§ç解é¤éè¡æ«æ模å¼ãå¯è½å¨ä½æ§è½è§é¢ç¡¬ä»¶å/æé«å辨ççæåµä¸å¯¼è´é³è§é¢ä¸åæ- ¥ãè¿æ¯å½ä½¿ç¨âDâå¼å¯è§£é¤éè¡æ«æåè½æ¶çé»è®¤å¼ã

4

éç¨è¾¹ç¼ä¸»å¯¼ç空é´æå¼ç®æ³ç顺åºç»é¢è¿å¨çæ¶é´æ§ç解é¤éè¡æ«æ模å¼ãéè¦é«æ§è½çè§é¢ç¡¬ä»¶ã

chroma−deint

使æ¶é´æ§ç解é¤éè¡æ«æç®æ³åæ¶ä½ç¨äºäº®åº¦åè²åº¦ééä¸ï¼é»è®¤å¼ï¼ãå¯ä½¿ç¨ nochroma−deint 以使å¶ä»ä½ç¨äºäº®åº¦ééï¼ä»èå éé«çº§è§£é¤éè¡æ«æç®æ³ãæå©äºæ¾å- ä½éçæåµã

pullup

å°è¯è·³è¿éè¡æ«æ帧ç解é¤éè¡æ«ææä½ï¼éç¨äºè§ççµè§å¾ååçå容ï¼é«å辨ççæåµä¸éè¦é«éçè§é¢ç¡¬ä»¶ãä»è½ç¨äºé¡ºåºç»é¢è¿å¨çæ¶é´æ§ç解é¤éè¡æ«ææä½ã

colorspace

éæ© YUV è³ RGB 转æ¢æ¶ä½¿ç¨çè²å½©ç©ºé´ãé常æ æ¸ï¼SDï¼å容åºä½¿ç¨ BT.601ï¼èé«æ¸ï¼HDï¼åå®¹ä½¿ç¨ BT.709ã使ç¨ä¸æ- £ç¡®çè²å½©ç©ºé´å°å¯¼è´é¥±å度ç¨è®¸è¿åº¦æä¸è¶³ï¼ä»¥åè²å½©æå移ã

0

æ ¹æ®è§é¢å辨çå¤æè²å½©ç©ºé´ãå®½åº¦å¤§äº 1280 æé«åº¦å¤§äº 576 çè§é¢å°è®¤ä¸ºæ¯ HD çï¼ä»èä½¿ç¨ BT.709 è²å½©ç©ºé´ã

1

ä½¿ç¨ ITU-R BT.601 è²å½©ç©ºé´ï¼é»è®¤å¼ï¼ã

2

ä½¿ç¨ ITU-R BT.709 è²å½©ç©ºé´ã

3

ä½¿ç¨ SMPTE-240M è²å½©ç©ºé´ã

hqscaling

0

使ç¨é»è®¤ç VDPAU 缩æ¾æ¨¡å¼ï¼é»è®¤å¼ï¼ã

1−9

åºç¨é«è´¨éç VDPAU 缩æ¾æ¨¡å¼ï¼éè¦æ§è½è¶³å¤ç硬件ï¼ã

force−mixer

强å¶ä½¿ç¨ VDPAU æ··åå¨ï¼å¶å®ç°äºææ以ä¸é项çåè½ï¼é»è®¤å¼ï¼ãå¯ä½¿ç¨ noforce−mixer 以å许æ¾ç¤º BGRA è²å½©ç©ºé´ãï¼å¦æå®é使ç¨äºBGRAï¼åç¦ç¨ææ以ä¸é项å硬件åè¡¡å¨ãï¼

xvmcï¼ä»ç¨äºå¸¦æ FFmpeg MPEG-1/2 解ç å¨ç X11ï¼

ä½¿ç¨ XFree86 4.x ç XvMC(X è§é¢è¿å¨è¡¥å¿) æ©å±ç»ä»¶å é MPEG-1/2 å VCR2 解ç çè§é¢è¾åºé©±å¨ã

adaptor=<æ°å¼>

éæ©æå®ç XVideo ééå¨ï¼è¯·æ£æ¥ xvinfo çç»æï¼ã

port=<æ°å¼>

éæ©æå®ç XVideo 端å£ã

(no)benchmark

ç¦æ- ¢æ¾ç¤ºå¾åãä¸äºé©±å¨å¨æ¾ç¤ºå¨åæ«æ¶ä¼æ¹åå¾åç¼å²ï¼nVidiaï¼ï¼å¶åºåæµè¯éè¦è¯¥é项ãé»è®¤æ¯ä¸ç¦æ- ¢æ¾ç¤ºå¾åï¼nobenchmarkï¼ã

(no)bobdeint

é常ç®åç解é¤éè¡æ«æç»ä»¶ãè§è§ææå¯è½æ²¡æ −vf tfields=1 好ï¼ä½æ¯è¿æ¯ xvmc ä»æç解é¤éè¡æ«æç»ä»¶ï¼é»è®¤å¼ï¼nobobdeintï¼ã

(no)queue

为è¦æ¾ç¤ºç帧å建éåï¼ä»¥è®©è§é¢ç¡¬ä»¶æ´å¹¶è¡çå·¥ä½ãå¯è½å¢å ä¸ç¹ï¼ä¸ææ¾çï¼æå®çé³è§é¢ä¸åæ- ¥ï¼é»è®¤å¼ï¼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 é»è¾å±ï¼æ以 MPlayer ç X11 é项对 SDL 没æææã注æ该é项ææ°ä¸ªééè¦ç¼ºé·ï¼æ»æ¯æ è§ −vm/−novm é项ï¼−fs çè¡ä¸ºå¦å −novm åºæçè¡ä¸ºä¸æ ·ï¼å½ä»å¨å±æ¨¡å¼åæ¢åæ¥æ¶çªå£å¨å·¦ä¸è§ï¼ä¸æ¯æå¨æ¯æ¨¡å¼â¦â¦ï¼

driver=<驱å¨>

æç¡®éæ©æ使ç¨ç SDL 驱å¨ã

(no)forcexv

éè¿ sdl è§é¢è¾åºé©±å¨ä½¿ç¨ XVideoï¼é»è®¤å¼ï¼forcexvï¼ã

(no)hwaccel

使ç¨ç¡¬ä»¶å éç缩æ¾å¨ï¼é»è®¤å¼ï¼hwaccelï¼ã

vidix  

VIDIXï¼*nix è§é¢æ¥å£ï¼VIDeo Interface for *niXï¼æ¯åç§æ¾å¡çè§é¢å éåè½çæ¥å£ãé常快çè§é¢è¾åºé©±å¨ï¼ç¨äºæ¯æ该åè½çæ¾å¡ã

<å设å¤>

æ确表示éæ©ä½¿ç¨åªä¸ª VIDIX å设å¤é©±å¨ãå¯ç¨çå设å¤æ cyberblade, ivtv, mach64, mga_crtc2, mga, nvidia, pm2, pm3, radeon, rage128, s3, sh_veu, sis_vid å unichromeã

xvidixï¼ä»ç¨äº X11ï¼

VIDIX ç X11 å端ç»ä»¶

<å设å¤>

ä¸ vidix ç¸å

cvidix 

éç¨çä¸ä¾èµäºå¹³å°ç VIDIX å端ç»ä»¶ï¼çè³è½å¨ä½¿ç¨ nVidia æ¾å¡çææ¬æ§å¶å±å¹ä¸è¿è¡ã

<å设å¤>

ä¸ vidix ç¸å

winvidixï¼ä»ç¨äº Windowsï¼

VIDIX ç Windows å端ç»ä»¶

<å设å¤>

ä¸ vidix ç¸å

direct3dï¼ä»ç¨äº Windowsï¼ï¼ç¨äºå¬æµç代ç ï¼ï¼

ä½¿ç¨ Direct3D æ¥å£çè§é¢è¾åºé©±å¨ï¼æå©äº Vista ç³»ç»ï¼ã

directxï¼ä»ç¨äº Windowsï¼

ä½¿ç¨ DirectX æ¥å£çè§é¢è¾åºé©±å¨ã

noaccel

å³é硬件å éãå¦ææ¾ç¤ºæé®é¢å¯å°è¯è¯¥é项ã

kvaï¼ä»ç¨äº OS/2ï¼

ä½¿ç¨ libkva æ¥å£çè§é¢è¾åºé©±å¨ã

snap

强å¶ä½¿ç¨ SNAP 模å¼ã

wo

强å¶ä½¿ç¨ WarpOverlay! 模å¼ã

dive

强å¶ä½¿ç¨ DIVE 模å¼ã

(no)t23

å¯ç¨æç¦ç¨è§£å³ T23 ç¬è®°æ¬é®é¢çåé模å¼ï¼é»è®¤å¼ï¼ç¦ç¨ï¼ãå¦ææ¾å¡ä»æ¯æç»é¢æ¾å¤§è¾åºï¼å¯å°è¯å¼å¯è¿ä¸ªé项ã

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=<æ°å¼>

è¿æ¶é项ï¼å¯ä½¿ç¨ −screen 代æ¿ã éæ©ç¨äºå¨å±æ¨¡å¼çæ¾ç¤ºè®¾å¤ï¼æå°å¶è®¾ä¸º −1 以æ»æ¯ä½¿ç¨è§é¢çªå£æå¨çå±å¹ï¼é»è®¤å¼ï¼−1 − èªå¨éæ©ï¼ã

shared_buffer

å°è¾åºåå¥ä¸åå±äº«åå- 模å¼çç¼å²åºï¼èä¸æ¯å°å¶æ¾ç¤ºåºæ¥ï¼å¹¶ä¸å°è¯æå¼ä¸ä¸ªå·²å- å¨ç NSConnection è¿æ¥ä»¥ä¸å¾å½¢çé¢éä¿¡ã

buffer_name=<åå>

shm_open å建çå±äº«ç¼å²åºçååï¼ä¹æ¯ MPlayer å°è¯æå¼ç NSConnection è¿æ¥çååï¼é»è®¤å¼ï¼âmplayerosxâï¼ã设置 buffer_name é项å°éå«å°è¡¨ç¤ºå¯ç¨ shared_bufferã

fbdevï¼ä»ç¨äº Linuxï¼

使ç¨å核级ç帧ç¼å²ææ¾è§é¢ã

<设å¤>

æç¡®éæ©æ使ç¨ç fbdev 设å¤åï¼å¦ /dev/ fb0ï¼ï¼æèå¦æ设å¤å以âvidixâå¼å¤´åéæ© VIDIX å- 设å¤åï¼å¦ï¼sis 驱å¨çâvidixsis_vidâï¼ã

fbdev2ï¼ä»ç¨äº Linuxï¼

使ç¨å核级ç帧ç¼å²ææ¾è§é¢ï¼å¦ä¸ç§å®ç°æ¹å¼ã

<设å¤>

æç¡®éæ©æ使ç¨ç fbdev 设å¤åï¼é»è®¤å¼ï¼/dev/fb0ï¼ã

vesa   

é常éç¨çè§é¢è¾åºé©±å¨ï¼åºè¯¥è½ç¨äºä»»ä½ä¸ VESA VBE 2.0 å¼å®¹çæ¾å¡ã

(no)dga

æå¼æå³é DGA 模å¼ï¼é»è®¤å¼ï¼æå¼ï¼ã

neotv_pal

æ¿æ´» NeoMagic çµè§è¾åºå¹¶è®¾ç½®æ PAL å¶å¼ã

neotv_ntsc

æ¿æ´» NeoMagic çµè§è¾åºå¹¶è®¾ç½®æ NTSC å¶å¼ã

vidix

ä½¿ç¨ VIDIX 驱å¨ã

lvo:   

æ¿æ´» VESA 模å¼ä¸ç Linux è§é¢è¦ç模å¼ã

svga   

ä½¿ç¨ SVGA åºææ¾è§é¢ã

<è§é¢æ¨¡å¼>

æå®æ使ç¨çè§é¢æ¨¡å¼ã该模å¼å¯ä»¥ <宽>x<é«>x<é¢è²> æ ¼å¼ç»åºï¼å¦ 640x480x16Mï¼æ以å¾å½¢æ¨¡å¼å·çå½¢å¼ï¼å¦ 84ã

bbosd

å° OSD ç»å¶å°å½±çä¸æ¹çé»æ¡ä¸ï¼è¿è¡è¾æ¢ï¼ã

native

åªä½¿ç¨èªå¸¦çç»å¶å½æ°ãè¿å¯ä»¥é¿åç´æ¥æ¸²æ模å¼ï¼ä»¥å OSD å硬件çå éåè½ã

retrace

强å¶å¨åç´åæ«æ¶åæ¢å¸§ãä»å½ä¸ −double ä¸å使ç¨å¯ä½¿ç¨ãä¸ −vsync é项çææä¸æ ·ã

sq   

å°è¯éæ©ä½¿ç¨æ£æ¹å½¢åç´ çè§é¢æ¨¡å¼ã

vidix

使ç¨å¸¦æ VIDIX æ¥å£ç svgaã

gl     

OpenGL è§é¢è¾åºé©±å¨ï¼ç®åçæ¬ãè§é¢å°ºå¯¸å¿é¡»å°äº OpenGL 设å¤çæ大纹ç尺寸ã该驱å¨çç®æ æ¯å³ä½¿æ¯å®ç°æåºæ¬ OpenGL åè½ç设å¤ä¹è½ä½¿ç¨ï¼ä½åæ¶ä¹è½å©ç¨è¾æ°çæ©å±åè½ï¼ä»¥æ¯ææ´å¤çè²å½©ç©ºé´åç´æ¥æ¸²æåè½ãè¦å®ç°æä¼çé度ï¼å¯å°è¯æ·»å é项
−dr −noslices
代ç åªåæå°çæ£æ¥ï¼æ以å¦ææ个åè½ä¸èµ·ä½ç¨ï¼å³ä½¿æ²¡æä»»ä½é误æ¶æ¯ï¼è¿ä¹å¯è½æ¯å ä¸ºæ¾å¡/OpenGL å®ç°è®¾å¤ä¸æ¯æãå¯ä½¿ç¨ glxinfo æ类似çå·¥å·æ¾ç¤ºå·²æ¯æç OpenGL æ©å±åè½ã

backend=<n>

éæ©è¦ä½¿ç¨çå端/OpenGLçå®ç°æ¹å¼ï¼é»è®¤å¼ï¼−1ï¼ã

−1ï¼èªå¨éæ©
0ï¼Win32/WGL
1ï¼X11/GLX
2ï¼SDL
3ï¼X11/EGLï¼é«åº¦å¤äºå®éªé¶æ®µï¼
4ï¼OSX/Cocoa
5ï¼Androidï¼ååç³ç³çå®ç°ï¼ä»ç¨äºæµè¯ï¼

(no)ati−hack

å½ä½¿ç¨äº PBO æ¶ï¼å½ä½¿ç¨äº −dr æ强å¶ä½¿ç¨ −pbo æ¶ï¼ï¼AIT 驱å¨å¯è½è¾åºæåçå¾åã该é项修æ- £è¿ä¸é®é¢ï¼ä»£ä»·æ¯å¤ä½¿ç¨äºä¸ç¹ååã

(no)force−pbo

æ»æ¯ä½¿ç¨ PBO ä¼ è¾çº¹çï¼å³ä½¿è¿éè¦é¢å¤çå¤å¶æä½ãå½å该éé¡¹å¯¹äº NVidia 驱å¨è½æåä¸ç¹é度ï¼èå¯¹äº ATI 驱å¨åæ¯å¤§å¤§æåãå¯è½éè¦ −noslices å ati−hack åé项以使å¶æ£å¸¸èµ·ä½ç¨ã

(no)scaled-osd

å½çªå£å¤§å°æ¹åæ¶ï¼æ¹å OSD çè¡ä¸ºæ¨¡å¼ï¼é»è®¤å¼ï¼ç¦ç¨ï¼ãå¯ç¨æ¶å¶è¡ä¸ºå°±åå¶å®çè§é¢è¾åºé©±å¨ï¼å¯¹åºå®å¤§å°çå- ä½æææ´å¥½ãç¦ç¨æ¶ä½¿ç¨ FreeType æåµä¸çè§è§æææ´å¥½ï¼å¹¶ä¸å¨å¨å±æ¨¡å¼ä¸ä½¿ç¨è¾¹æ¡ãæ æ³å¨ä½¿ç¨ ass åå¹çæåµä¸æ£ç¡®èµ·ä½ç¨ï¼åè§ −assï¼ãä½ä¸ºæ¿ä»£æ§æ¹æ³ï¼å¯ä»¥éè¿ −vf ass å¨ä¸ç¨ OpenGL çæåµä¸æ¸²æè¿ç§åå¹ã

osdcolor=<0xAARRGGBB>

OSD çé¢è²ï¼é»è®¤å¼æ¯ï¼0x00ffffffï¼å¯¹åºä¸éæçç½è²ï¼ã

rectangle=<0,1,2>

éç¨ç©å½¢çº¹ç以èçè§é¢ååï¼ä½å¾å¸¸è¿è¡è¾æ¢ï¼é»è®¤å¼ï¼0ï¼ã

0ï¼ä½¿ç¨ 2 ç n 次å¹å¤§å°ç纹çï¼é»è®¤å¼ï¼ã
1ï¼ä½¿ç¨ GL_ARB_texture_rectangle æ©å±ç»ä»¶ã
2ï¼ä½¿ç¨ GL_ARB_texture_non_power_of_two æ©å±ç»ä»¶ãå¨æäºæåµä¸ä»è½¯ä»¶æ¯æï¼æ以è¿è¡é常æ¢ã

swapinterval=<n>

两次ç¼å²åæ¢é´çæå°é´éï¼ä»¥å·²æ¾ç¤ºå¸§çæ°é计æ°ï¼é»è®¤å¼ï¼1ï¼ã1 çä»·äºå¯ç¨åç´åæ¥æ¨¡å¼ï¼0 çä»·äºåç¨åç´åæ¥æ¨¡å¼ãå¼å°äº 0 å使ç¨ç³»ç»é»è®¤å¼ã该é项å°å¸§çéå¶ä¸º (æ°´å¹³å·æ°ç / n)ãéè¦ GLX_SGI_swap_control æ¯æ以起ä½ç¨ãæäºï¼å¤§å¤æ°/ææï¼ï¼å®ç°è®¾å¤ä»è½å¨å¨å±æ¨¡å¼ä¸èµ·ä½ç¨ã

ycbcr

ä½¿ç¨ GL_APPLE_ycbcr_422 æ©å±ç»ä»¶å° YUV 转æ¢ä¸º RGB æ ¼å¼ãå¦ææå®äº yuv= åé»è®¤ä¸ºç¦ç¨ï¼å¦åé»è®¤ä¸ºèªå¨æ£æµã注æ该é项å°å¯ç¨ä¸äºç¹æ®ç设置以è¿å¥é©±å¨ç¨åºä¸- çä¸ç§ç¹æ®çå¿«éééã

yuv=<n>

éæ© YUV å° RGB 转æ¢çç±»åãé»è®¤æ¹å¼æ¯èªå¨ä¾¦æµï¼éå 0 å° 2 ä¹é´çä¸ä¸ªå¼ã

0ï¼ä½¿ç¨è½¯ä»¶è½¬æ¢ ãå¼å®¹äºææç OpenGL çæ¬ãå·æ亮度ã对æ¯åº¦å饱å度çæ§å¶åè½ã
1ï¼ä½¿ç¨å¯åå¨åæ··åå¨ã该æ¹æ³ä½¿ç¨çæ¯ nVidia ä¸ç¨çæ©å±ç»ä»¶ï¼GL_NV_register_combinersï¼ãè³å°éè¦ä¸ä¸ªçº¹çå¤çååãæä¾é¥±å度åè²è°çæ§å¶åè½ã该æ¹æ³é度快ä½ä¸ç²¾ç¡®ã
2ï¼ä½¿ç¨å©ç¨ POW æ令ççæç¨åºãéè¦ GL_ARB_fragment_program æ©å±ç»ä»¶åè³å°ä¸ä¸ªçº¹çå¤çååãæä¾äº®åº¦ã对æ¯åº¦ã饱å度ãè²è°åä¼½çæ ¡æ- £å¼çæ§å¶åè½ãä¼½çæ ¡æ- £å¼ä¹è½å¨çº¢ã绿åèä¸ä¸ªæ¹é¢åç¬è®¾ç½®ãæ¹æ³ 4 é常æ´å¿«ã
3ï¼ä¸ 2 ç¸åã为该类åä¸é¨åéä¸ä¸ªå¼æ¯åºäºåå²åå ï¼MPlayer ç°å¨ä¸ºæéå¯ç¨çä¼½çæ ¡æ£å¼æ§å¶åè½æå¥é¢å¤çæ令ã
4ï¼ä½¿ç¨å·æé¢å¤æ¥éæä½ççæç¨åºãéè¦ GL_ARB_fragment_program æ©å±ç»ä»¶åè³å°å个纹çå¤çååãæä¾äº®åº¦ã对æ¯åº¦ã饱å度ãè²è°åä¼½çæ ¡æ- £å¼çæ§å¶åè½ãä¼½çæ ¡æ- £å¼ä¹è½å¨çº¢ã绿åèä¸ä¸ªæ¹é¢åç¬è®¾ç½®ã
5ï¼ä½¿ç¨ ATI ä¸ç¨çæ¹å¼ï¼ç¨äºè¾èçæ¾å¡ï¼ã该æ¹æ³ä½¿ç¨çæ¯ ATI ä¸ç¨çæ©å±ï¼GL_ATI_fragment_shader − ä¸æ¯ GL_ARB_fragment_shaderï¼ï¼ãè³å°éè¦ä¸ä¸ªçº¹çå¤çååãæä¾é¥±å度åè²è°çæ§å¶åè½ã该æ¹æ³é度快ä½ä¸ç²¾ç¡®ã
6ï¼ä½¿ç¨ 3D 纹ç以éè¿æ¥è¡¨æ¹å¼å转æ¢ãéè¦ GL_ARB_fragment_program æ©å±ç»ä»¶åè³å°å个纹çå¤çååãç±äºä½¿ç¨å·æè¾¹ç¼åç´ ç纹çï¼å èå¨æäºï¼ææï¼ï¼ATI æ¾å¡ä¸ï¼ä½¿ç¨è½¯ä»¶æ¨¡æï¼æå¶æ¢ãæä¾äº®åº¦ã对æ¯åº¦ã饱å度ãè²è°åä¼½çæ ¡æ- £å¼çæ§å¶åè½ãä¼½çæ ¡æ- £å¼ä¹è½å¨çº¢ã绿åèä¸ä¸ªæ¹é¢åç¬è®¾ç½®ãç¸å¯¹äºå¶å®æ¹æ³ï¼é度ä¸æ´å¤å°åå³äº GPU åå带宽ã

colorspace

éæ© YUV è³ RGB 转æ¢æç¨çè²å½©ç©ºé´ã

0

ä½¿ç¨ MPlayer é常使ç¨çæ¹å¼ï¼é»è®¤å¼ï¼ã

1

ä½¿ç¨ ITU-R BT.601 è²å½©ç©ºé´ã

2

ä½¿ç¨ ITU-R BT.709 è²å½©ç©ºé´ã

3

ä½¿ç¨ SMPTE-240M è²å½©ç©ºé´ã

levelconv=<n>

éæ©ç¨äº YUV è³ RGB 转æ¢ç亮度ç级ç转æ¢æ¹å¼ã

0

å° TV ç级转æ¢ä¸º PC ç级ï¼é»è®¤å¼ï¼ã

1

å° PC ç级转æ¢ä¸º TV ç级ã

2

ä¸åä»»ä½è½¬æ¢ã

lscale=<n>

éæ©ç¨äºäº®åº¦è°æ´çè°èå½æ°ãä»å¯¹ yuv æ¨¡å¼ 2ã3ã4 å 6 ææã

0

使ç¨ç®å线æ§è¿æ»¤æ¹å¼ï¼é»è®¤å¼ï¼ã

1

使ç¨åç«æ¹æ¬¡ B æ²çº¿è¿æ»¤æ¹å¼ï¼è´¨éæ´å¥½ï¼ãéè¦ä¸ä¸ªé¢å¤ç纹çå¤çååãè¾èçæ¾å¡è³å°å¨å¨å±æ¨¡å¼ä¸æ æ³å¨è²åº¦æ¹é¢æ§è¡è¯¥æ¨¡å¼ã

2

å¨æ°´å¹³æ¹å使ç¨ç«æ¹æ¬¡è¿æ»¤ï¼å¨åç´æ¹å使ç¨çº¿æ§è¿æ»¤ãæ¯èµ·æ¹å¼ 1 éç¨äºæ´å¤çæ¾å¡ã

3

ä¸ 1 ç¸åï¼ä½å°çº¹çç¨äºæ¥éæä½ãå¯è½å¨ä¸äºæ¾å¡ä¸è¿è¡è¾å¿«ã

4

使ç¨å®éªæ§çééåçè½ç ï¼æ¯æ 3x3 模å¼å¹¶å·æé»è®¤å¼ºåå¼ 0.5ãï¼åè§ filter-strengthï¼

5

使ç¨å®éªæ§çééåçè½ç ï¼æ¯æ 5x5 模å¼å¹¶å·æé»è®¤å¼ºåå¼ 0.5ãï¼åè§ filter-strengthï¼

64

使ç¨æè¿é»æ¹å¼ç¼©æ¾ã

cscale=<n>

éæ©ç¨äºè²åº¦ç¼©æ¾ç缩æ¾å½æ°ã详æåè§ lscaleã

filter-strength=<å¼>

设置æ¯æ强度设置ç lscale/cscale è¿æ»¤å¨çææ强度ã

noise-strength=<å¼>

设置添å å¤å¼ºçåªå£°ä¿¡å·ã0 ç¨äºç¦æ- ¢æ·»å ä¿¡å·ï¼é»è®¤å¼ï¼ï¼1.0 ç¨äºäº§çéç¨äºæå¨é级为 6 æ¯ç¹ç²¾åº¦çä¿¡å·ç级ã

stereo=<å¼>

éæ©ç¨äºç«ä½æ¾ç¤ºçæ¹å¼ãå¯è½éè¦ä½¿ç¨ −aspect 以修æ- £å®½é«æ¯çæ°å¼ãæ°å¼å  32 å¯ä»¥å®ç°å·¦å³ç»é¢å¯¹æ¢ã å®éªæ§çé项ï¼å¿å¯¹å¶ææ太é«ã

0

æ å 2D æ¾ç¤º

1

å°ç»é¢å¹¶è¡æåçè¾å¥ä¿¡å·è½¬æ¢ä¸ºå¨è²å½©ç红èç«ä½å¾åã

2

å°ç»é¢å¹¶è¡æåçè¾å¥ä¿¡å·è½¬æ¢ä¸ºå¨è²å½©ç红èç«ä½å¾åã

3

å°ç»é¢å¹¶è¡æåçè¾å¥ä¿¡å·è½¬æ¢ä¸ºåéç¼å²çç«ä½å¾åãåªæå°æ° OpenGL æ¾å¡æ¯æ

4

以æåç´ æåçæ¹å¼å°å·¦å³ç¼çå¾åæ··åå¨ä¸èµ·ãæ··åæ ·å¼ç± stipple é项æå®ã

stipple=<以æ¯ç¹è¡¨ç¤ºçæ¹å¼>

æ°å¼çæä½ 16 ä½ç¨ä»¥æå®æä½¿ç¨ 4x4 æåæ ·å¼ï¼é»è®¤å¼ï¼0x0f0fï¼ãå¯ä¾å°è¯ç示ä¾ï¼0x0f0f, 0xf0f0ï¼æ水平线æåï¼ 0xaaaa, 0x5555ï¼æåç´çº¿æåï¼ 0xa5a5, 0x5a5aï¼äº¤éç½æ ¼æå

以ä¸é项åªæå©äºç¼åèªå®ä¹ççæç¨åºã

customprog=<æ件å>

ä» <æ件å> è£è½½å®å¶ççæç¨åºã示ä¾åè§ TOOLS/edgedect.fpã

customtex=<æ件å>

ä» <æ件å> è£è½½å®å¶çâä¼½ç梯度â纹çãå¯ä¸ yuv=4 æ customprog é项çç»åä¸å使ç¨ã

(no)customtlin

å¦æå¯ç¨ï¼é»è®¤æ¹å¼ï¼åä½¿ç¨ GL_LINEAR æå¼ï¼å¦åä½¿ç¨ GL_NEAREST æå¼ç¨äº customtex 纹çã

(no)customtrect

å¦æå¯ç¨åä½¿ç¨ texture_rectangle ç¨äº customtex 纹çãé»è®¤æ¯ç¦ç¨ã

(no)mipmapgen

ä¸æ¦å¯ç¨ï¼å°èªå¨çæè§é¢çè´´å¾ã该éé¡¹ä¸ customprog å TXB ä¸èµ·ä½¿ç¨æå©äºå®ç°ä¸ä¸ªå·æ大影ååå¾ç模ç³åè¿æ»¤å¨ã对äºå¤§å¤æ° OpenGL çå®ç°è®¾å¤æ¥è¯´ï¼è¯¥é项ç¨äºä»»ä½é RGB çæ ¼å¼è¿è¡é½å¾æ¢ãé»è®¤å¼ä¸ºç¦ç¨ã

æ£å¸¸æåµä¸æ²¡æçç±ä½¿ç¨ä»¥ä¸é项ï¼å¶å¤§å¤æ¯ä¸ºäºæµè¯èåå¨çã

(no)glfinish

å¨åæ¢ç¼å²åè°ç¨ glFinish()ãè¿è¡è¾æ¢ä½å¨æäºæåµä¸è¾åºæ´ç²¾ç¡®ï¼é»è®¤å¼ï¼ç¦ç¨ï¼ã

(no)manyfmts

å¯ç¨å¯¹äºæ´å¤çï¼RGB å BGRï¼è²å½©æ ¼å¼çæ¯æï¼é»è®¤å¼ï¼å¯ç¨ï¼ãè¦æ± OpenGL çæ¬>=1.2ã

slice-height=<0−...>

å次å¤å¶è³çº¹ççæä½åå«å¤å°è¡å容ï¼é»è®¤å¼ï¼0ï¼ã0 代表æ´å¹å¾åã
注æï¼
å¦æ使ç¨äº YUV è²å½©ç©ºé´ï¼åè§ yuv å- é项ï¼ï¼å°ä½¿ç¨ç¹å«çè§åï¼

å¦æ解ç å¨éç¨åç渲ææ¹å¼ï¼åè§−noslicesï¼ï¼è¯¥è®¾ç½®æ²¡æä»»ä½ææï¼æéç¨çåç大å°ç±è§£ç å¨æä¾ã
å¦æ解ç å¨ä¸éç¨åçæ³»ææ¹å¼ï¼åé»è®¤å¼ä¸º16ã

(no)osd

å许æç¦æ¢éè¿ OpenGL æ¯æ OSD 渲æï¼é»è®¤å¼ï¼å许ï¼ã该é项ç¨äºæµè¯ï¼è¦ç¦ç¨ OSD åºä½¿ç¨ −osdlevel 0ã

(no)aspect

å许æç¦æ- ¢æ¯æä¿ææ¯ä¾ç¼©æ¾åå¨æ¯ç¼©æ¾æ¹å¼ï¼é»è®¤ï¼å许ï¼ãç¦ç¨çè¯å¯è½æé«é度ã

gl_tiled    

OpenGL è§é¢è¾åºé©±å¨çä¿®æ¹çãæ¯æ大äºæ大纹ç尺寸çè§é¢ï¼ä½æ¯ç¼ºå°è®¸å¤ GL 驱å¨çé«çº§åè½åä¼åé项ï¼å¹¶ä¸ä»¥åä¹ä¸å¤§å¯è½æ©å±åè½ã

(no)glfinish

å gl ä¸æ ·ï¼é»è®¤å¼ï¼å¯ç¨ï¼

yuv=<n>

éæ© YUV å° RGB 转æ¢çç±»åãå¦æ设置为 0 以å¤çå¼ï¼å°åç¨ OSDï¼è亮度ã对æ¯åº¦åä¼½çæ ¡æ- £å¼ç设置åªä½¿ç¨å¨å±ç¯å¢ä¸ X æå¡å¨ç设置ãé¤æ- ¤è¡ä¸ºå¤ï¼è®¾ç½®å¼çå«ä¹ä¸ −vo gl ä¸æ ·ã

matrixview

åºäº OpenGL ç渲æå¨ï¼çæ类似äºé»å®¢å¸å½çæ»å¨åå¹ææã

cols=<n>

ææ¾ç¤ºæå- çåæ°ãåéäºå¾å缩æ¾å¨çæ§è½ï¼å¼å¤ªå°ï¼<16ï¼çè¯è¯¥é项å¾å¯è½å¤±æãä¸è½è¢« 16 æ´é¤çå¼ä¹å¯è½äº§çé®é¢ã

rows=<n>

ææ¾ç¤ºæå- çè¡æ°ãåéäºå¾å缩æ¾å¨çæ§è½ï¼å¼å¤ªå°ï¼<16ï¼çè¯è¯¥é项å¾å¯è½å¤±æãä¸è½è¢« 16 æ´é¤çå¼ä¹å¯è½äº§çé®é¢ã

null   

ä¸äº§çè§é¢è¾åºãæå©äºåºåæµè¯ã

aa     

ASCII art è§é¢è¾åºé©±å¨ï¼ç¨äºææ¬æ§å¶å±å¹ã
注æï¼
该驱å¨æ æ³æ£ç¡®å¤ç −aspect é项ã
æ示ï¼
å¾å¯è½æå¿è¦æå® −monitorpixelaspect é项ãå¯å°è¯âmplayer −vo aa −monitorpixelaspect 0.5âã

caca   

å½©è² ASCII art è§é¢è¾åºé©±å¨ï¼ç¨äºææ¬æ§å¶å±å¹ã

bl     

ä½¿ç¨ Blinkenlights UDP åè®®æ- æ¾è§é¢ã该驱å¨é«åº¦ä¾èµäºç¹å®ç¡¬ä»¶ã

<å设å¤>

æç¡®éæ©æç¨ç Blinkenlights å设å¤ã该å¼ç±»ä¼¼äº arcade:host=localhost:2323 æ hdl:file=æ件å1,file=æ件å2ãå¿é¡»æå®å设å¤ã

ggi    

GGI å¾å½¢ç³»ç»è§é¢è¾åºé©±å¨

<驱å¨>

æç¡®éæ©æç¨ç GGI 驱å¨ãéå° <驱å¨> å符串ä¸- ææçâ,âæ¿æ¢ä¸ºâ.âã

directfb

ä½¿ç¨ DirectFB åºææ¾è§é¢ ã

(no)input

ä½¿ç¨ DirectFB æ¿ä»£ MPlayer é®çæ令ï¼é»è®¤å¼ï¼å¯ç¨ï¼ã

buffermode=single|double|triple

å¦ææ³é¿åç»é¢æè£é®é¢ï¼åéï¼doubleï¼åä¸éï¼tripleï¼ç¼å²è½äº§çæ好çææãä¸éç¼å²æ¯åéç¼å²æ´ææç, å ä¸ºå¶çå¾åç´ä¿¡å·åæ«æ¶ä¸é»å¡ MPlayer çè¿è¡ãåºé¿å使ç¨å级ï¼singleï¼ç¼å²ï¼é»è®¤å¼ï¼single)ã

fieldparity=top|bottom

æ§å¶éè¡æ«æ帧çè¾åºæ¬¡åºï¼é»è®¤å¼ï¼ç¦ç¨ï¼ãææå¼æ¯ top = åè¾åºä¸åæ«æåºï¼bottom = åè¾åºä¸åæ«æåºã该é项对äºéè¡æ«æççµå½±å容ï¼ä¾å¦å¤§å¤æ° MPEG çµå½±ï¼æ²¡æææãå¦æè§çéè¡æ«æå½±çæ¶éå°ç»é¢æè£æç»é¢è¿è¡ä¸æµççé®é¢ï¼éå¯ç¨è¯¥é项ã

layer=N

强å¶ä½¿ç¨ä»£ç ä¸º 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

å©ç¨ Matrox åç»é¢å¾å±æ¾ç¤º OSDï¼é»è®¤å¼ï¼å¯ç¨ï¼ã

(no)crtc2

æå¼ç¬¬äºè¾åºå¤´ä¸ççµè§è¾åºï¼é»è®¤å¼ï¼å¯ç¨ï¼ãè¾åºè´¨éåºå¥å¾å¥½ï¼å ä¸ºè¾åºçæ¯å®å¨éè¡æ«æçå¾åï¼ä¸æ¯ä¸ªå¥/ å¶æ«æåºç»è¿æ°å½çåæ¥ã

tvnorm=pal|ntsc|auto

æ éä¿®æ¹ /etc/directfbrc å³å¯è®¾ç½® Matrox å¡ççµè§å¶å¼ï¼é»è®¤å¼ï¼ç¦ç¨ï¼ãææå¶å¼æ¯ pal = PAL, ntsc = NTSCãç¹æ®å¶å¼æ¯ autoï¼ä½¿ç¨ PAL/NTSC èªå¨è°æ´ï¼ï¼å ä¸ºå¶æ¯éè¿æ¥çå½±çç帧çå³å®ä½¿ç¨ä½ç§å¶å¼ã

mgaï¼ä»ç¨äº Linuxï¼

Matrox ä¸ç¨çè§é¢è¾åºé©±å¨ï¼éè¿å核模åå©ç¨ Gxxx å¡ç YUV åå°ç¼©æ¾å¨ãå¦ææ Matrox å¡ï¼è¿æ¯æå¿«çé项ã

<设å¤å>

æç¡®éæ©æ使ç¨ç Matrox 设å¤åï¼é»è®¤å¼ï¼/dev/mga_vidï¼ã

xmgaï¼ä»ç¨äº Linux, X11ï¼

mga è§é¢è¾åºé©±å¨ï¼è¿è¡å¨ X11 çªå£ä¸ã

<设å¤å>

æç¡®éæ©æ使ç¨ç Matrox 设å¤åï¼é»è®¤å¼ï¼/dev/mga_vidï¼ã

s3fbï¼ä»éäº Linux ï¼ï¼å¦è§ −drï¼

S3 Virge ä¸ç¨çè§é¢è¾åºé©±å¨ã该驱å¨æ¯ææ¾å¡ç YUV 转æ¢å缩æ¾ãåéç¼å²ä»¥åç´æ¥æ¸²æåè½ãå¯ä½¿ç¨ −vf format=yuy2 以éç¨ç¡¬ä»¶å éä¸ç YUV2 渲æï¼è¿ç§æ¹å¼å¨æ¤æ¬¾æ¾å¡ä¸æ¯ YV12 å¿«å¾å¤ã

<设å¤å>

æç¡®éæ©æ使ç¨ç fbdev 设å¤åï¼é»è®¤å¼ï¼/dev/fb0ï¼ã

wiiï¼ä»ç¨äº Linuxï¼

ä»»å¤©å  Wii/GameCube ä¸ç¨çè§é¢è¾åºé©±å¨ã

3dfxï¼ä»ç¨äº Linuxï¼

3dfx ä¸ç¨çè§é¢è¾åºé©±å¨ï¼å¶å¨ X11 模å¼ä¸æ¶ç´æ¥ä½¿ç¨ç¡¬ä»¶ãåªæ¯æ 16 ä½å¾åã

tdfxfbï¼ä»ç¨äº Linuxï¼

该驱å¨ä½¿ç¨ tdfxfb 帧ç¼å²é©±å¨ä»¥å¨ 3dfx å¡ä¸ä½¿ç¨ YUV å éæ- æ¾å½±çã

<设å¤å>

æç¡®éæ©æ使ç¨ç fbdev 设å¤åï¼é»è®¤å¼ï¼/dev/fb0ï¼ã

tdfx_vidï¼ä»ç¨äº Linuxï¼

3dfx ä¸ç¨çè§é¢è¾åºé©±å¨ï¼éä¸ tdfx_vid å核模åååèµ·ä½ç¨ã

<设å¤å>

æç¡®éæ©æ使ç¨ç设å¤åï¼é»è®¤å¼ï¼/dev/tdfx_vidï¼ã

dxr2ï¼å¦è§ −dxr2ï¼ï¼ä»ç¨äº DXR2ï¼

Creative DXR2 ä¸ç¨çè§é¢è¾åºé©±å¨ã

<è§é¢è¾åºé©±å¨>

ç¨äºè¦ç模å¼çè¾åºè§é¢å驱å¨ï¼x11ãxvï¼ã

dxr3ï¼ä»ç¨äº DXR3ï¼

Sigma Designs em8300 MPEG 解ç å¨è¯çï¼Creative DXR3ãSigma Designs Hollywood Plusï¼ä¸ç¨çè§é¢è¾åºé©±å¨ãå¦è§ lavc è§é¢è¿æ»¤å¨ã

overlay

æ¿æ´»è¦ç模å¼ä»¥ä»£æ¿çµè§è¾åºã

prebuf

æå¼é¢ç¼å²ã

sync 

å°æå¼æ°å¼çè§é¢åæ¥å¼æã

norm=<å¶å¼>

æå®çµè§å¶å¼ã

0ï¼ä¸æ¹åå½åå¶å¼ï¼é»è®¤å¼ï¼ã
1ï¼ä½¿ç¨ PAL/NTSC èªå¨è°æ´ã
2ï¼ä½¿ç¨ PAL/PAL-60 èªå¨è°æ´ã
3ï¼PAL
4ï¼PAL-60
5ï¼NTSC

<0−3>

å¦ææè¶è¿ä¸å em8300 å¡ï¼æå®æ使ç¨ç设å¤å·ã

ivtvï¼ä»ç¨äº IVTVï¼

Conexant CX23415ï¼iCompression iTVC15ï¼æ Conexant CX23416ï¼iCompression iTVC16ï¼MPEG 解ç å¨è¯çï¼Hauppauge WinTV PVR-150/250/350/500ï¼ä¸ç¨çè§é¢è¾åºé©±å¨ï¼ç¨äºçµè§è¾åºãå¦è§ lavc è§é¢è¿æ»¤å¨ã

<设å¤>

æç¡®éæ©æ使ç¨ç MPEG 解ç å¨è®¾å¤åï¼é»è®¤å¼ï¼/dev/video16ï¼ã

<è¾åºç«¯>

æç¡®éæ©ç¨äºè§é¢ä¿¡å·ççµè§è¾åºç«¯ã

v4l2ï¼éè¦ Linux 2.6.22+ çåæ ¸ï¼

ç¨äºå¸¦æå建硬件 MPEG 解ç å¨ç V4L2 æ åæ¾å¡çè§é¢è¾åºé©±å¨ãå¦è§ lavc è§é¢è¿æ»¤å¨ã

<设å¤>

æç¡®éæ©æ使ç¨çMPEG解ç è®¾å¤çå称ï¼é»è®¤å¼ï¼/dev/video16ï¼ã

<è¾åºç«¯>

æç¡®éæ©ç¨äºè§é¢ä¿¡å·ççµè§è¾åºç«¯ã

mpegpesï¼ä»ç¨äºæ°åè§é¢å¹¿æï¼

ç¨äºæ°åè§é¢å¹¿æå¡çè§é¢è¾åºé©±å¨ï¼å¦ææªå®è£æ°åè§é¢å¹¿æå¡ï¼åè¾åºå° MPEG-PES æ件ã

card=<1−4>

å¦ææè¶è¿ä¸åæ°åè§é¢å¹¿æè¾åºå¡ï¼æå®æ使ç¨ç设å¤å·ï¼ä»ç¨äº V3 APIï¼æ¯å¦ 1.x.y 驱å¨ç³»åï¼ãå¦æä¸æå®ï¼MPlayer å°æ索第ä¸åå¯ç¨çå¡ã

<æ件å>

è¾åºæ件åï¼é»è®¤å¼ï¼./grab.mpgï¼

zrï¼å¦è§ −zr* å −zrhelpï¼

ç¨äºè®¸å¤ MJPEG ææ/åæ¾å¡çè§é¢è¾åºé©±å¨ã

zr2ï¼å¦è§ zrmjpeg è§é¢è¿æ»¤å¨ï¼

ç¨äºè®¸å¤ MJPEG ææ/åæ¾å¡çè§é¢è¾åºé©±å¨ï¼ç¬¬äºä»£é©±å¨ã

dev=<设å¤>

æå®æ使ç¨çè§é¢è®¾å¤ã

norm=<PAL|NTSC|SECAM|auto>

æå®æ使ç¨çè§é¢å¶å¼ï¼é»è®¤å¼ï¼autoï¼ã

(no)prebuf

æ¿æ´»/æ¤éé¢ç¼å²æ¨¡å¼ï¼è¿æªæ¯æã

md5sum 

计ç®æ¯å¸§ç MD5 æ ¡æ£å并å°å¶åå¥æ件ãæ¯æ RGB24 å YV12 è²å½©ç©ºé´ãæå©äºè°è¯ã

outfile=<åæ°å¼>

æå®è¾åºæ件åï¼é»è®¤å¼ï¼./md5sumsï¼ã

yuv4mpeg

å°è§é¢æµè½¬æ¢ä¸ºæªå缩ç YUV 4:2:0 å¾ååºå并å°å¶å¨åå°æ件ä¸- ï¼é»è®¤ä½ç½®ï¼./stream.yuvï¼ã使ç¨çæ ¼å¼ä¸ mjpegtools æç¨çç¸åï¼æ以æå©äºæ³ç¨ mjpegtools å¥è£è½¯ä»¶å¤çè§é¢çæåµã该é项æ¯æ YV12 æ ¼å¼ãå¦ææºæ件格å¼ä¸åä¸ä¸ºéè¡æ«ææ ¼å¼ï¼å注æè¦ä½¿ç¨ −vf scale=::1 以确ä¿è½¬æ¢æ¶ä½¿ç¨éè¡æ«æ模å¼ãå¯ä¸ −fixed−vo é项ç»å使ç¨ä»¥æ¼æ¥å·æç¸å宽é«å¼åé¢ççæ件ã

interlaced

以éè¡æ«æ帧æ¹å¼åå¥è¾åºæ°æ®ï¼ååä¸åæ«æåºã

interlaced_bf

以éè¡æ«æ帧æ¹å¼åå¥è¾åºæ°æ®ï¼ååä¸åæ«æåºã

file=<æ件å>

å°è¾åºåå¥å° <æ件å> èéé»è®¤ç stream.yuvã

注æï¼ å¦æä¸æå®ä»»ä½é项ï¼è¾åºæ°æ®æ¯éè¡æ«ææ ¼å¼ï¼å³ééè¡æ«ææ ¼å¼ï¼ã

gif89a 

å°å帧è¾åºå°å½åç®å½ä¸çå个å¨ç» GIF æ件ä¸ãä»æ¯æ 24 ä½ RGB æ ¼å¼å¹¶ä¸è¾åºå容转æ¢ä¸º 256 è²ã

<fps>

æå®å¸§ççæµ®ç¹æ°å¼ï¼é»è®¤å¼ï¼5.0ï¼ã

<è¾åºæ件>

æå®è¾åºæ件åï¼é»è®¤å¼ï¼./out.gifï¼ã

注æï¼ å¿é¡»å¨æå®æ件åä¹åæå®å¸§çï¼å¦å帧çå°æ为æ件åçä¸é¨åã

示ä¾ï¼

mplayer video.nut −vo gif89a:fps=15.0:output=test.gif

jpeg   

å°å帧è¾åºå°å½åç®å½ä¸ç JPEG æ件ä¸- ãæ¯å¸§ä»¥å¸§å·ä½ä¸ºæ件åï¼å¸§å·å以 0 è¡¥å¨é¿åº¦ã

[no]progressive

æå®ä½¿ç¨æ åæéè¡æ¾ç¤ºæ ¼å¼ç JPEGï¼é»è®¤å¼ï¼noprogressiveï¼ã

[no]baseline

æå®ä½¿ç¨åºåæ ¼å¼æä¸ä½¿ç¨ï¼é»è®¤å¼ï¼baselineï¼ã

optimize=<0−100>

ä¼åå æ°ï¼é»è®¤å¼ï¼100ï¼

smooth=<0−100>

å¹³æ»å æ°ï¼é»è®¤å¼ï¼0ï¼

quality=<0−100>

è´¨éå æ°ï¼é»è®¤å¼ï¼75ï¼

outdir=<dirname>

æå®ä¿å JPEG æ件çç®å½ï¼é»è®¤å¼ï¼./ï¼ã

subdirs=<åç¼>

以ææå®åç¼åå建带ç¼å·çåç®å½ç¨äºä¿å- æ件ï¼èé使ç¨å½åçç®å½ã

maxfiles=<åæ°å¼>ï¼ä»ç¨äº subdirsï¼

æ¯ä¸ªåç®å½ä¸ä¿åçæ件çæ大ç¼å·ãå¿é¡»å¤§äºçäº 1ï¼é»è®¤å¼ï¼1000ï¼ã

pnm    

å°å帧è¾åºå°å½åç®å½ä¸ç PNM æ件ä¸- ãæ¯å¸§ä»¥å¸§å·ä½ä¸ºæ件åï¼å¸§å·å以 0 è¡¥å¨é¿åº¦ã该éé¡¹å¨ raw å ASCII 模å¼ä¸æ¯æ PPMãPGM å PGMYUV æ件ãå¦è§ pnm(5)ãppm(5) å pgm(5)ã

ppm  

åå¥ PPM æ件ï¼é»è®¤å¼ï¼ã

pgm  

åå¥ PGM æ件ã

pgmyuv

åå¥ PGMYUV æ件ãPGMYUV ä¸ PGM 类似ï¼ä½å¦å¤åå« U å V å¹³é¢çæ°æ®ï¼éå å¨ç»é¢åºé¨ã

raw  

以 raw 模å¼åå¥ PNM æ件ï¼é»è®¤å¼ï¼ã

ascii

以 ASCII 模å¼åå¥ PNM æ件ã

outdir=<ç®å½å>

æå®ä¿å PNM æ件çç®å½ï¼é»è®¤å¼ï¼./ï¼ã

subdirs=<åç¼>

以ææå®åç¼åå建带ç¼å·çåç®å½ç¨äºä¿å- æ件ï¼èé使ç¨å½åçç®å½ã

maxfiles=<åæ°å¼>ï¼ä»ç¨äº

æ¯ä¸ªåç®å½ä¸ä¿åçæ件çæ大ç¼å·ãå¿é¡»å¤§äºçäº 1ï¼é»è®¤å¼ï¼1000ï¼ã

png    

å°å帧è¾åºå°å½åç®å½ä¸ç PNG æ件ä¸- ãæ¯å¸§ä»¥å¸§å·ä½ä¸ºæ件åï¼å¸§å·å以 0 è¡¥å¨é¿åº¦ãæ¯æ 24 ä½ç RGB å BGR æ ¼å¼ã

z=<0−9>

æå®å缩级å«ã 0 代æ å缩ï¼9 代表æ强å缩ã

outdir=<ç®å½å>

æå®ä¿å PNG æ件çç®å½ï¼é»è®¤å¼ï¼./ï¼ã

prefix=<åç¼>

æå®ç¨äº PNG æ件åçåç¼ãï¼é»è®¤æ¹å¼ï¼æ åç¼ï¼ã

alphaï¼é»è®¤å¼ï¼noalphaï¼

åå»ºä½¿ç¨ alpha å¼ééç PNG æ件ã注æ MPlayer é常ä¸æ¯æ alpha å¼ééï¼æ以该é项åªæå©äºæå°æ°æåµã

mng    

å°è§é¢è¾åºè³ MNG å¨ç»æ件ï¼ä½¿ç¨æ æå缩ç 24 ä½ RGB å¾åã

output=<è¾åºæ件>

æå®è¾åºæ件åï¼é»è®¤å¼ï¼out.mngï¼ã

示ä¾ï¼

mplayer video.mkv −vo mng:output=test.mng

tga    

å°å帧è¾åºå°å½åç®å½ä¸ç Targa æ件ä¸- ãæ¯å¸§ä»¥å¸§å·ä½ä¸ºæ件åï¼å¸§å·å以 0 è¡¥å¨é¿åº¦ã该è§é¢è¾åºé©±å¨ç¨äºå建ä¸ä¸ªæ éä»»ä½å¤é¨åºçç®åèæ æå缩çå¾åè¾åºãæ¯æ 15ã24 å 32 ä½ç BGR[A] é¢è²æ ¼å¼ãå¯å¼ºå¶ä½¿ç¨ç¹å®çæ ¼å¼ä»¥ç¨äº format è§é¢è¿æ»¤å¨ã

示ä¾:

mplayer video.nut −vf format=bgr15 −vo tga

解ç /è¿æ»¤å¨é项

−ac <[−|+]ç¼è§£ç å¨1,[−|+]ç¼è§£ç å¨2,...[,]>

æç§ codecs.conf ä¸- çå称æå®æç¨é³é¢ç¼è§£ç å¨çä¼å级å表ãå¯å¨ç¼è§£ç å¨å称å使ç¨â−â表示忽ç¥è¯¥ç¼è§£ç å¨ãå¯å¨ç¼è§£ç å¨å称å使ç¨â+â表示强å¶ä½¿ç¨è¯¥ç¼è§£ç å¨ï¼è¿æå¯è½ä½¿ç¨åºå´©æºï¼å¦æå表尾æâ,âï¼å MPlayer å°æªååºçç¼è§£ç å¨ä½ä¸ºåå¤ä½¿ç¨ã
注æï¼
åè§ −ac help 以äºè§£å¯ç¨ç¼è§£ç å¨çå®æ´å表ã

示ä¾:

−ac mp3acm

强å¶ä½¿ç¨ l3codeca.acm MP3 ç¼è§£ç å¨ã

−ac mad,

åå°è¯ libmadï¼å°å¶å®ç¼è§£ç å¨ä½ä¸ºåå¤ã

−ac hwac3,a52,

åå°è¯ç´é模å¼ç硬件 AC-3 解ç ï¼è½¯ä»¶ AC-3 解ç ï¼æåæ¯å¶å®æ¹å¼ã

−ac hwdts,

åå°è¯ç´é模å¼ç硬件 DTS 解ç ï¼ç¶åæ¯å¶å®æ¹å¼ã

−ac −ffmp3,

è·³è¿ FFmpeg ç MP3 解ç å¨ã

−af−adv <force=(0−7):list=(è¥å¹²è¿æ»¤å¨)>ï¼å¦è§ −afï¼

æå®é«çº§é³é¢è¿æ»¤å¨é项ï¼

force=<0−7>

强å¶ä»¥ä»¥ä¸æ¹å¼ä¹ä¸æå¥é³é¢è¿æ»¤å¨ï¼

0ï¼ä½¿ç¨å®å¨èªå¨åçè¿æ»¤å¨æå¥æ¹å¼ï¼ç®åä¸é项 1 ç¸åï¼ã
1ï¼ä¼å解ç ç²¾åº¦çæ¹å¼ï¼é»è®¤å¼ï¼ã
2ï¼ä¼å解ç é度çæ¹å¼ã è¦åï¼ æäºé³é¢è¿æ»¤å¨çåè½å¯è½æ¯«æ çåå°å¤±æï¼ä¸é³è´¨å¯è½ä¸éã
3ï¼ä½¿ç¨éèªå¨åçè¿æ»¤å¨æå¥æ¹å¼ä¸æ ä¼åã è¦åï¼ ä½¿ç¨è¯¥è®¾å®å¯è½ä½¿ MPlayer å´©æºã
4ï¼ä½¿ç¨ä¸æä¸ 0 æ代表çèªå¨åçè¿æ»¤å¨æå¥æ¹å¼ï¼ä½å°½å¯è½ä½¿ç¨æµ®ç¹å¤ç模å¼ã
5ï¼ä½¿ç¨ä¸æä¸ 1 æ代表çèªå¨åçè¿æ»¤å¨æå¥æ¹å¼ï¼ä½å°½å¯è½ä½¿ç¨æµ®ç¹å¤ç模å¼ã
6ï¼ä½¿ç¨ä¸æä¸ 2 æ代表çèªå¨åçè¿æ»¤å¨æå¥æ¹å¼ï¼ä½å°½å¯è½ä½¿ç¨æµ®ç¹å¤ç模å¼ã
7ï¼ä½¿ç¨ä¸æä¸ 2 æ代表çéèªå¨åçè¿æ»¤å¨æå¥æ¹å¼ï¼å¹¶ä¸å°½å¯è½ä½¿ç¨æµ®ç¹å¤ç模å¼ã

list=<è¥å¹²è¿æ»¤å¨>

ä¸ −af ç¸åã

−afm <驱å¨1,驱å¨2,...>

æç§ codecs.conf ä¸- çå称æå®ä½¿ç¨é³é¢ç¼è§£ç å¨ç»çä¼å级å表ãå¦ææç»çç¼è§£ç å¨ç»æ ä¸èµ·ä½ç¨ï¼åå°é»è®¤çç¼è§£ç ä½ä¸ºåå¤ä½¿ç¨ã
注æï¼
åè§ −afm help 以äºè§£å¯ç¨ç¼è§£ç å¨ç»çå®æ´å表ã

示ä¾ï¼

−afm ffmpeg

åå°è¯ FFmpeg ç libavcodec ç¼è§£ç å¨ã

−afm acm,dshow

åå°è¯ Win32 çç¼è§£ç å¨ã

−aspect <é«å®½æ¯>ï¼å¦è§ −zoomï¼

æ¹å½±ççé«å®½æ¯ï¼ç¨äºæææ¾çæ件é«å®½æ¯ä¿¡æ¯ä¸æ£ç¡®æ缺失çæåµã

示ä¾ï¼

−aspect 4:3 æ −aspect 1.3333
−aspect 16:9 æ −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ï¼ï¼èå¼ lavc çæç msmpeg4v3 æ件ï¼æ æ³èªå¨æ£æµï¼
4ï¼mpeg4ï¼ï¼Xvid éè¡æ«æ缺é·ï¼å¦æ fourcc==XVIX å¯èªå¨æ£æµåºï¼
8ï¼mpeg4ï¼ï¼UMP4ï¼å¦æ fourcc==UMP4 å¯èªå¨æ£æµåºï¼
16ï¼mpeg4ï¼ï¼æ°æ®å¡«å缺é·ï¼å¯èªå¨æ£æµåºï¼
32ï¼mpeg4ï¼ï¼ä¸åè§èçå¯åé¿åº¦ç¼ç ç¼ºé·ï¼åç§ fourcc ä¸é½å¯èªå¨æ£æµåºï¼
64ï¼mpeg4ï¼ï¼Xvid æ DivX çååä¹ä¸å素模å¼ç¼ºé·ï¼åç§ fourcc/çæ¬ä¸é½å¯èªå¨æ£æµåºï¼
128ï¼mpeg4ï¼ï¼æ§æ åçååä¹ä¸å素模å¼ï¼åç§ fourcc/ çæ¬ä¸é½å¯èªå¨æ£æµåºï¼
256ï¼mpeg4ï¼ï¼å¦ä¸ç§ååä¹ä¸å素模å¼ç¼ºé·ï¼åç§ fourcc/ çæ¬ä¸é½å¯èªå¨æ£æµåºï¼
512ï¼mpeg4ï¼ï¼ç´æ¥æ¨¡å¼ååä¹ä¸åç´ å大å°ç¼ºé·ï¼åç§ fourcc/çæ¬ä¸é½å¯èªå¨æ£æµåºï¼
1024ï¼mpeg4ï¼ï¼è¾¹ç¼å¡«å缺é·ï¼åç§ fourcc/ çæ¬ä¸é½å¯èªå¨æ£æµåºï¼

debug=<åæ°å¼>

æ¾ç¤ºè°è¯ä¿¡æ¯ã

0ï¼ç¦ç¨
1ï¼ç»é¢ä¿¡æ¯
2ï¼ç çæ§å¶
4ï¼æ¯ç¹æµ
8ï¼å®åï¼MBï¼ç±»å
16ï¼ååçéååæ°ï¼QPï¼
32ï¼è¿å¨ç¢é
0x0040ï¼è¿å¨ç¢éå¯è§åæ¾ç¤ºï¼ä½¿ç¨ −noslicesï¼
0x0080ï¼å®åï¼MBï¼è·³è¿æåµ
0x0100ï¼å¯å¨ä»£ç 
0x0200ï¼åç°æ¶é´æ ç¾
0x0400ï¼å®¹éæ§
0x0800ï¼åå管çæ§å¶æä½ï¼H.264ï¼
0x1000ï¼ç¼ºé·
0x2000ï¼å¯è§åæ¾ç¤ºéååæ°ï¼QPï¼ï¼QP å¼è¶ä½çè²è¶ç»¿ã
0x4000ï¼å¯è§åæ¾ç¤ºåç±»åã

ec=<åæ°å¼>

设置ç»é¢é误æ©é¥°çç¥ã

1ï¼åºç°åæçå®åæ¶ä½¿ç¨ææ强ççå»åæåºè¿æ»¤å¨ã
2ï¼è¿ä»£æç´¢è¿å¨ç¢éï¼MVï¼ï¼è¿è¡æ¢ï¼
3ï¼å¨é¨ï¼é»è®¤ï¼

er=<åæ°å¼>

设置容éçç¥ã

0ï¼ç¦ç¨
1ï¼è°¨æï¼åºè¯¥å¯ç¨äºæåçç¼ç å¨ãï¼
2ï¼æ åï¼é»è®¤å¼ï¼ï¼å¯ç¨äºç¬¦åè§èçç¼ç å¨ãï¼
3ï¼æ¿è¿çï¼æ£æ¥æ´å¤ï¼ä½å³ä½¿æ¯ææçæ¯ç¹æµä¹å¯è½å¯¼è´é®é¢ãï¼
4ï¼é常æ¿è¿ç

fastï¼ä»ç¨äº MPEG-2ãMPEG-4 å H.264ï¼

å¯ç¨ä¸æ åä¸å¼å®¹ï¼å¹¶ä¸å¯è½å¯¼è´é®é¢çä¼å模å¼ï¼ä¾å¦ç®ååéåæ¹å¼ï¼ç®åè¿å¨è¡¥å¿æ¨¡å¼ï¼éç¨é»è®¤çéåç©éµï¼éç¨YUV 4:2:0ï¼ä»¥åè·³è¿ä¸äºæ£æµåææ¯ç¹æµçæ¥éª¤ã

gray 

ä»è§£ç ç°åº¦å容ï¼æ¯å½©è²è§£ç å¿«ä¸ç¹ï¼

idct=<0−99>ï¼åè§ −lavcoptsï¼

为äºè·å¾æä½³ç解ç è´¨éï¼ç¼ç å解ç ä½¿ç¨ç¸åç离æ£ä½å¼¦åæ¢ç®æ³ãä¸è¿è¿å¯è½ä¼çºç²ä¸äºç²¾åº¦ã

lowres=<æ°å¼>[,<宽度>]

以è¾ä½çå辨ç解ç ãä½å辨ç解ç ä¸æ¯ææç¼è§£ç å¨é½æ¯æï¼ä¸å¸¸å¸¸å¯¼è´é¾ççç»é¢æ伤ãè¿ä¸æ¯ç¨åºç¼ºé·ï¼èæ¯ä¸ä»¥å®æ´å辨ç解ç äº§ççå¯ä½ç¨ã

0ï¼ç¦ç¨
1ï¼1/2 å辨ç
2ï¼1/4 å辨ç
3ï¼1/8 å辨ç

å¦ææå®äº <宽度>ï¼åä»å½è§é¢å®½åº¦å¤§äºçäº <宽度> æ¶æ使ç¨ä½å辨ç解ç ã

o=<é®>=<å¼>[,<é®>=<å¼>[,...]] å°é³è§é¢é项传éè³ libavcoder 解ç å¨ã注æï¼æ¬¢è¿æä¾ä¸ä¸ªè½ä½¿è¯¥è®¾ç½®ä¸åéè¦ o=ï¼å¹¶è®©æææªç¥é项ç¥è¿é³è§é¢é项系ç»çè¡¥ä¸ãé³è§é¢é项çå®æ´å表å¯å¨ FFmpeg ç¨æ·æåä¸æ¾å°ã注æï¼æäºé项å¯è½ä¸ MEncoder çé项å²çªã

示ä¾ï¼

o=debug=pict

sb=<æ°å¼>ï¼ä»ç¨äº MPEG-2ï¼

è·³è¿ä½äºåºé¨çæç»æ°éçå®åè¡ã

st=<æ°å¼>ï¼ä»ç¨äº MPEG-2ï¼

è·³è¿ä½äºé¡¶é¨çæç»æ°éçå®åè¡ã

skiploopfilter=<è·³è¿åç¥å¼>ï¼ä»ç¨äº H.264ï¼

å¨ H.264 解ç æé´è·³è¿ loop è¿æ»¤å¨ï¼äº¦ç§°ä¸ºâå»åæåºâï¼ãç±äºæè¿æ»¤ç帧æ¯ç¨ä½è§£ç ä¾èµå¸§æ¶çåç§å¸§ï¼å èç¸æ¯å¤çè¯¸å¦ MPEG-2 ä¹ç±»çè§é¢ä¸éåå»åæåºæä½ï¼è¯¥é项对äºç»é¢è´¨éææ´åçå½±åãä¸è¿è³å°å¨å¤çé«æ¯ç¹çç HDTV è§é¢æ¶ï¼è¯¥é项大å¹æé«äºå¤çé度ä¸è§è§è´¨éä¸éä¸ææ¾ã

<è·³è¿åæ°å¼> å¯ä»¥æ¯ä»¥ä¸çå¼ä¹ä¸ï¼

noneï¼ä»ä¸è·³è¿ã
defaultï¼è·³è¿æ ç¨çå¤çæ¥éª¤ï¼ä¾å¦AVI ä¸å¤§å°ä¸º 0 çæ°æ®åï¼ã
nonrefï¼è·³è¿æªè¢«å¼ç¨ç帧ï¼å³æªç¨äºè§£ç å¶å®å¸§ï¼å èç»é¢é误æ æ³ç§¯ç´¯ï¼ã
bidirï¼è·³è¿ B 帧ã
nonkeyï¼è·³è¿é¤å³é®å¸§å¤çææ帧ã
allï¼è·³è¿ææ帧ã

skipidct=<è·³è¿åæ°å¼>ï¼ä»ç¨äº MPEG1/2ï¼

è·³è¿ç¦»æ£ä½å¼¦åæ¢æ- ¥éª¤ãå ä¹æææåµä¸è¯¥é项é½ä¸¥ééä½ç»ç»è´¨éï¼åè§ skiploopfilter 以äºè§£å¯ç¨çè·³è¿åæ°å¼ï¼ã

skipframe=<è·³è¿åæ°å¼>

å®å¨è·³è¿è§£ç å¸§çæ- ¥éª¤ãæéå¾æå¤ï¼ä½æ¯ç»é¢è¿å¨æ¯å¨ç°è±¡ï¼å¹¶ä¸ææ¶äº§ç严éçç»é¢æ伤ï¼åè§ skiploopfilter 以äºè§£å¯ç¨çè·³è¿åæ°å¼ï¼ã

threads=<1−8>ï¼ä»ç¨äº MPEG-1/2 å H.264ï¼

ç¨äºè§£ç ç线ç¨æ°ï¼é»è®¤å¼ï¼1ï¼

vismv=<åæ°å¼>

å¯è§åæ¾ç¤ºè¿å¨ç¢éã

0ï¼ç¦ç¨
1ï¼å¯è§åæ¾ç¤º P 帧çååé¢æµè¿å¨ç¢éã
2ï¼å¯è§åæ¾ç¤º B 帧çååé¢æµè¿å¨ç¢éã
4ï¼å¯è§åæ¾ç¤º B 帧çååé¢æµè¿å¨ç¢éã

vstats

æå°ä¸äºç»è®¡ä¿¡æ¯å¹¶å°å¶ä¿åè³ ./vstats_*.log ä¸ã

wait_keyframe

æ¾ç¤ºä»»ä½å容åçå¾å³é®å¸§åºç°ãé²æ¢æäºæ ¼å¼ä¸å¼å§æ- æ¾æå®ä½å帧ç»é¢æåã

−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>

é«æ¯æ¨¡ç³è¿æ»¤å¨ï¼äº®åº¦ï¼

cgb=<0−100>

é«æ¯æ¨¡ç³è¿æ»¤å¨ï¼è²åº¦ï¼

ls=<−100−100>

éåè¿æ»¤å¨ï¼äº®åº¦ï¼

cs=<−100−100>

éåè¿æ»¤å¨ï¼è²åº¦ï¼

chs=<h>

æ°´å¹³è²åº¦å移

cvs=<v>

åç´è²åº¦å移

−stereo <模å¼>

éæ© MP2/MP3 ç«ä½å£°è¾åºçç±»åã

0

ç«ä½å£°

1

左声é

2

å³å£°é

−sws <软件缩æ¾å¨ç±»å>ï¼å¦è§ −vf scale å −zoomï¼

æå®ç¨äº −zoom é项ç软件缩æ¾å¨ç®æ³ã该é项对äºç¼ºå°ç¡¬ä»¶å éçè§é¢è¾åºé©±å¨ï¼å¦ x11ï¼æææã

å¯ç¨ç±»åæï¼

0

å¿«éåé线æ§æ¨¡å¼

1

åé线æ§æ¨¡å¼

2

åéç«æ¹æ¨¡å¼ï¼è´¨é好ï¼ï¼é»è®¤å¼ï¼

3

å®éªæ§æ¨¡å¼

4

æè¿é»æ¨¡å¼ï¼è´¨éå·®ï¼

5

area

6

亮度åéç«æ¹/è²åº¦åé线æ§æ¨¡å¼

7

é«æ¯åæ¢

8

sincR

9

lanczos ééæ ·

10

èªç¶åéç«æ¹æ ·æ¡æ²çº¿

注æï¼ æäº −sws é项å¯è°èãscale è§é¢è¿æ»¤å¨çæè¿°ä¸ææ´å¤çä¿¡æ¯ã

−vc <[−|+]ç¼è§£ç å¨1,[−|+]ç¼è§£ç å¨2,...[,]>

æç§å¨ codecs.conf ä¸- å称ï¼æå®ä½¿ç¨è§é¢ç¼è§£ç å¨çä¼å级å表ãç¼è§£ç å¨å称å使ç¨â−â表示忽ç¥è¯¥ç¼è§£ç å¨ãç¼è§£ç å¨å称å使ç¨â+â表示强å¶ä½¿ç¨è¯¥ç¼è§£ç å¨ï¼è¿æå¯è½å¯¼è´ç¨ç¨å´©æºï¼å¦æå表尾æâ,âï¼å MPlayer å°æªååºçç¼è§£ç å¨ä½ä¸ºåå¤ä½¿ç¨ã
注æï¼
åè§ −vc help 以äºè§£å¯ç¨ç¼è§£ç å¨çå®æ´å表ã

示ä¾ï¼

−vc divx

强å¶ä½¿ç¨ Win32/VfW DivX ç¼è§£ç å¨ï¼æ åå¤ç¼è§£ç å¨ã

−vc −divxds,−divx,

å¿½ç¥ Win32 DivX ç¼è§£ç å¨ã

−vc ffmpeg12,mpeg12,

åå°è¯ libavcodec ç MPEG-1/2 ç¼è§£ç å¨ï¼å¶æ¬¡æ¯ libmpeg2ï¼ç¶åæ¯å¶å®ç¼è§£ç å¨ã

−vfm <驱å¨1,驱å¨1,...>

æç§å¨ 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 å¿«ï¼å èå¯è½å¸ææ¢ç¨ libavcodec çåæå¤çè¿æ»¤å¨ï¼−vf ppï¼å解ç å¨ï¼−vfm ffmpegï¼ã

Xvid çåé¨åæå¤çè¿æ»¤å¨æï¼

deblock-chromaï¼å¦è§ −vf ppï¼

è²åº¦å»åæåºè¿æ»¤å¨

deblock-lumaï¼å¦è§ −vf ppï¼

亮度å»åæåºè¿æ»¤å¨

dering-lumaï¼å¦è§ −vf ppï¼

亮度å»è²æè¿æ»¤å¨

dering-chromaï¼å¦è§ −vf ppï¼

è²åº¦å»è²æè¿æ»¤å¨

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 <è¿æ»¤å¨1[,è¿æ»¤å¨2,...]>

å°åæ°ä¸æç»çè¿æ»¤å¨æ·»å è³è¿æ»¤å¨å表çæ«å°¾ã

−af−pre <è¿æ»¤å¨1[,è¿æ»¤å¨2,...]>

å°åæ°ä¸æç»çè¿æ»¤å¨æ·»å è³è¿æ»¤å¨å表çå¼å¤´ã

−af−del <ç´¢å¼å·1[,ç´¢å¼å·2,...]>

å é¤ä½äºæç»ç´¢å¼å·å¤çè¿æ»¤å¨ãç´¢å¼å·ç èµ·å§ä¸º 0ï¼è´æ°å·ç ä»£è¡¨ä»å表çæ«å°¾å¯»åï¼−1 代表æåä¸ä¸ªï¼ã

−af−clr

å®å¨æ¸ç©ºè¿æ»¤å¨å表ã

å¯ç¨è¿æ»¤å¨æï¼
resample[=éæ ·ç[:宽æ¾æ§[:ç±»å]]]

æ¹åé³é¢æµçéæ ·çãå¯ç¨äºå£°å¡åªæä¸ä¸ªåºå®çé¢çï¼æèåå°äºä¸åæé«åªè½å¤ç 44.1kHz çèå¼å£°å¡çæåµã该è¿æ»¤å¨å¨å¿è¦æ¶ä¼èªå¨å¯ç¨ãå¶åªæ¯æé¿åº¦ä¸º 16 ä½ï¼ä»¥ç³»ç»æ¬èº«çåèåºä¸ºæ ¼å¼çæ´æ°åæµ®ç¹æ°ä½ä¸ºè¾å¥ã
注æï¼
ä½¿ç¨ MEncoder æ¶ï¼è¿éè¦ä½¿ç¨ −srate <éæ ·ç>ã

<éæ ·ç>

以 Hz 为åä½çè¾åºéæ ·çãåæ°çææèå´æ¯ä» 8000 å° 192000ãå¦æè¾å¥åè¾åºçéæ ·çç¸åï¼æèå¦æçç¥äºè¯¥åæ°ï¼åèªå¨å¸è½½è¯¥è¿æ»¤å¨ãé常éæ ·çé«è½æ¹åé³é¢è´¨éï¼å°¤å¶æ¯ä¸å¶å®è¿æ»¤å¨ç»å使ç¨æ¶ã

<宽æ¾æ§>

å许ï¼1ï¼æä¸å许ï¼0ï¼è¾åºéæ ·çä¸ <éæ ·ç> æç»çé¢çæç¨è®¸ä¸åï¼é»è®¤å¼ï¼1ï¼ãå¯ç¨äºå¯å¨ææ¾æ端æ¢çæå½¢ã

<ç±»å>

éæ©ä½¿ç¨ä½ç§ééæ ·æ¹å¼ã

0ï¼çº¿æ§æå¼ï¼è¿è¡å¿«ï¼è´¨éä½ï¼å°¤å¶æ¯é样为æ´é«é¢çæ¶)
1ï¼å¤ç¸ä½è¿æ»¤å¨ç»ä»¥åæ´æ°å¤ç模å¼
2ï¼å¤ç¸ä½è¿æ»¤å¨ç»ä»¥åæµ®ç¹æ°å¤ç模å¼ï¼è¿è¡æ¢ï¼è´¨éæä½³ï¼

示ä¾ï¼

mplayer −af resample=44100:0:0

å° resample è¿æ»¤å¨çè¾åºéæ ·ç设为 44100Hzï¼è¾åºéæ ·ç缩æ¾ä¸æ设å¼å®å¨ä¸è´ï¼å¹¶ä¸ä½¿ç¨çº¿æ§æå¼æ¹å¼ã

lavcresample[=éæ ·ç[:é¿åº¦[:线æ§[:æ»æ°[:æªæ]]]]]

å°é³é¢æµéæ ·çå以 Hz 为åä½çæ´æ° <éæ ·ç>ã该é项åªæ¯æé¿åº¦ä¸º 16 ä½ï¼ä»¥ç³»ç»æ¬èº«çåèåºæåçæ ¼å¼ã
注æï¼
ä½¿ç¨ MEncoder æ¶ï¼è¿éè¦ä½¿ç¨ −srate <éæ ·ç>ã

<éæ ·ç>

è¾åºçéæ ·ç

<é¿åº¦>

ç¸äºè¾ä½çé£ä¸ªéæ ·é¢ççè¿æ»¤é¿åº¦ï¼é»è®¤å¼ï¼16ï¼

<线æ§>

å¦æå¼ä¸º 1ï¼è¿æ»¤æä½å°å¨å¤ç¸ä½é¡¹ä¹é´ä»¥çº¿æ§æ¹å¼æå¼ã

<æ»æ°>

å¤ç¸ä½é¡¹æ°éç log2 对æ°å¼ï¼..., 10->1024, 11->2048, 12->4096, ...ï¼ï¼é»è®¤å¼ï¼10->1024ï¼

<æªæ>

æªæé¢çï¼0.0−1.0ï¼ï¼é»è®¤è®¾ç½®åå³äºè¿æ»¤é¿åº¦

lavcac3enc[=è³SPDIF[:æ¯ç¹ç[:æå°å£°é]]]

ä½¿ç¨ libavccodec åºå°å¤å£°éé³é¢å®æ¶ç¼ç ä¸º AC-3 æ ¼å¼ãæ¯æ 16 ä½ä»»æåèåºçè¾å¥æ ¼å¼ï¼æå¤6个声éãå½è¾åºæªç»å¤çç AC-3 é³é¢æµæ¶ï¼è¾åºæ°æ®æ¯æé«ä½åèé åæåï¼å½è¾åºè³ S/PDIF æ¶ï¼åæ¯æç³»ç»æ¬èº«çå- èåºæåã该è¿æ»¤å¨çè¾åºéæ ·çä¸è¾å¥éæ ·çç¸åãå½è¾å¥éæ ·ç为 48kHzã44.1kHz æ 32kHz æ¶ï¼è¯¥è¿æ»¤å¨åç´æ¥éç¨è¿ä¸ªå¼ãå¦åï¼å°èªå¨å¨æ- ¤è¿æ»¤å¨åæå¥ä¸ä¸ªééæ ·è¿æ»¤å¨ï¼ä»¥ä½¿è¾å¥åè¾åºéæ ·çå为 48kHzãéè¦æå®â−channels Nâ以使ç¼ç å¨å°é³é¢è§£ç ä¸º N 声éï¼ç¶åè¿æ»¤å¨å°±å¯ä»¥å° N 声éçè¾å¥ç¼ç ä¸º AC-3 æ ¼å¼äºã

<è³SPDIF>

è¥å¼ä¸ºé¶ææªè®¾ç½®åè¾åºæªç»å¤çç AC-3 é³é¢æµï¼å½ <è³SPDIF> 设为éé¶å¼æ¶ï¼åè¾åºè³ S/PDIF 以ç¥è¿è§£ç ã

<æ¯ç¹ç>

ç¼ç  AC-3 æµæ¶éç¨çæ¯ç¹çãå¯å°å¶è®¾ä¸º 384 æ 384000 以å¾å° 384kbits çæ¯ç¹çãææå¼æï¼32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256,
320, 384, 448, 512, 576, 640ãé»è®¤çæ¯ç¹çåå³äºè¾å¥ç声éæ°ï¼1 声éï¼96ï¼2 声éï¼192ï¼3 声éï¼224ï¼4 声éï¼384ï¼5 声éï¼448ï¼6 声éï¼448

<æå°å£°é>

å¦æè¾å¥å£°éæ°å°äº <æå°å£°é>ï¼å该è¿æ»¤å¨è±ç¦»è¿æ»¤å¨éåãï¼é»è®¤å¼ï¼5ï¼

sweep[=é度]

产çæ£å¼¦æ³¢æ«æä¿¡å·ã

<0.0−1.0>

æ£å¼¦å½æ°çååéï¼å¯ä½¿ç¨é常ä½çå¼ä»¥å¬å°è¯¥æ«æä¿¡å·ã

sinesuppress[=é¢ç:è¡°å]

å é¤æå®é¢ççæ£å¼¦æ³¢ãæå©äºå»é¤ä½è´¨éé³é¢è®¾å¤ä¸ç 50/60Hz åªå£°ã该é项å¯è½åªå¯¹å声éè¾å¥æä½ç¨ã

<é¢ç>

以 Hz 为åä½çåºå é¤æ£å¼¦æ³¢çé¢çï¼é»è®¤å¼ï¼50ï¼

<è¡°å>

æ§å¶éåºæ§è¡ä¸ºï¼å¼è¶å¤§ä½¿è¿æ»¤å¨è½å¤è¶è¿éå°éåºæ¯å¹åç¸ä½çååï¼èå¼è¶å°ä½¿è¯¥éåºè¿ç¨è¶æ¢ï¼ï¼é»è®¤å¼ï¼0.0001ï¼ãåççå¼çº¦ä¸º 0.001ã

bs2b[=é项1:é项2:...]

ä½¿ç¨ libbs2b å° Bauer ç«ä½å£°è½¬æ¢ä¸ºåè³ç«ä½å£°ãéè¿ä½¿å£°é³æ´ç±»ä¼¼äºå¦åä»æ¬å£°å¨ä¼ æ¥ä»¥æåè³æºçå¬è§ææã该模å¼è®©æ¯ä¸ªè³æµåæ¶å¬è§ä¸¤ä¸ªå£°éï¼å¹¶èèäºå£°é³ä¼ æ- è·ç¦»çå·®å«å头é¨ååææã该é项åªè½åºç¨äº 2 个声éçé³é¢ã

fcut=<300−1000>

设置以 Hz 为åä½çæªæé¢çã

feed=<10−150>

设置以 0.1*dB 为åä½çç¨äºä½é¢ççåé¦çº§å«ã

profile=<åæ°å¼>

æä¸äºéç½®éç¨ä»¥è®©ä½¿ç¨æ´ä¾¿æ·ï¼

default

å¦ææªæå®å¶å®é项å使ç¨è¯¥éç½®éï¼fcut=700, feed=45ï¼

cmoy 

Chu Moy åè·¯å®ç°ç®æ³ï¼fcut=700, feed=60ï¼

jmeier

Jan Meier åè·¯å®ç°ç®æ³ï¼fcut=650, feed=95ï¼

å¦æåæ¶æå®äº fcut æ feed é项ä¸éç½®ï¼åè¿ä¸¤ä¸ªé项å°æ¿æ¢éç½®éä¸- é项çå¼ã

hrtf[=æ è®°]

头é¨ç¸å³çè¿ç§»å½æ°ï¼å°å¤å£°éé³é¢è½¬æ¢ä¸ºéç¨äºå¤´æ´å¼è³æºçå声éè¾åºï¼åæ¶ä¿æ声é³ç空é´æã
æ è®° å«ä¹
m å置声éçç©éµå¼è§£ç 
s å声éç©éµå¼è§£ç 
0 éç©éµå¼è§£ç ï¼é»è®¤å¼ï¼

equalizer=[g1:g2:g3:...:g10]

10 个å«åº¦æ³¢æ®µå¾å½¢åè¡¡å¨ï¼å®ç°ä¸ºä½¿ç¨ 10 个æ éèå²ååºå¸¦éè¿æ»¤å¨ãè¿æå³çæ è®ºææ¾çæ¯ä½ç§é³é¢é½è½èµ·ä½ç¨ã10 个波段çä¸å¿é¢çåæ¯ï¼.sp 1
ç¼å· é¢ç
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>

æµ®ç¹æ°ä»£è¡¨åé¢ç波段çå¢çåè´ï¼dBï¼ï¼−12−12ï¼

示ä¾ï¼

mplayer −af equalizer=11:11:10:5:0:−12:0:5:12:12 media.avi

æ¾å¤§å£°é³é«ç«¯ååºç«¯çé¢çåºæ®µï¼ä½å ä¹å®å¨æ¶é¤ 1kHz éè¿çä¿¡å·ã

channels=声éæ°[:è·¯å¾æ°:æ¥æº1:å»å1:æ¥æº2:å»å2:æ¥æº3:å»å3:...]

å¯ç¨äºæ·»å ãå»é¤ã转æ¥åå¤å¶é³é¢ç声éãå¦æä»ç»åº <声éæ°>ï¼å使ç¨é»è®¤ç转æ¥åæ°ï¼ææå¦ä¸ï¼å¦æè¾åºå£°éæ°å¤§äºè¾å¥å£°éæ°ï¼åæå¥ç©ºå£°éï¼é¤éæ¯å°å声éæ··é³ä¸ºç«ä½å£°ï¼å¨è¿ç§æåµä¸ï¼ä¸¤ä¸ªè¾åºå£°ééå¤è¾åºè¯¥å声éçå容ï¼ãå¦æè¾åºå£°éæ°å°äºè¾å¥å£°éæ°ï¼åå»æå¤ä½ç声éã

<声éæ°>

è¾åºå£°éæ°ï¼1−8ï¼

<è·¯å¾æ°> 

转æ¥è·¯å¾æ°ï¼1−8ï¼

<æ¥æº1:å»å1:æ¥æº2:å»å2:æ¥æº3:å»å3:...>

0 å° 7 ä¹é´çå¼ç»æçæ°å- 对ï¼å¶å®ä¹çæ¯å声é转æ¥è³åªä¸ªå£°éã

示ä¾ï¼

mplayer −af channels=4:4:0:1:1:0:2:2:3:3 media.avi

å°å£°éæ°å为 4 并设置 4 æ¡è½¬æ¥è·¯å¾ï¼äº¤æ¢å£°é 0 å声é 1 çå容ï¼ä¿æ声é 2 å 3 çå容ä¸åãå¯è§å¯å°çç°è±¡æ¯ï¼å¦ææ- æ¾çåªä½å«æ两个声éï¼å£°é 2 å 3 å°æ²¡æ声é³ï¼ä½å£°é 0 å 1 çå容ä»è¢«äº¤æ¢äºã

mplayer −af channels=6:4:0:0:0:1:0:2:0:3 media.avi

å°å£°éæ°å为 6 并设置 4 æ¡è½¬æ¥è·¯å¾ï¼å°å£°é 0 çå容å¤å¶å°å£°é 0 è³ 3 ä¸ã声é 4 å 5 没æ声é³ã

format[=æ ¼å¼]ï¼å¦è§ −formatï¼

å¨ä¸åçéæ ·æ ¼å¼ä¹é´è½¬æ¢ãå½å£°å¡æå¶ä»è¿æ»¤å¨éè¦ä½¿ç¨æ¶èªå¨å¯ç¨ã

<æ ¼å¼>

设置æéçæ ¼å¼ãä¸è¬çå½¢å¼æ¯âsbeâï¼å¶ä¸- âsâ表示以æ符å·æ ¼å¼ç¼ç ï¼è¦ä¹æ¯âsâ表示æ符å·ï¼è¦ä¹æ¯âuâ表示æ ç¬¦å·ï¼ï¼âbâ表示æ¯ä¸ªæ ·æ¬çæ¯ç¹ä½æ°ï¼16ã24 æ 32ï¼ï¼èâeâæ示åèåºï¼âleâæä½ä½åèå¨åï¼âbeâæé«ä½å- èå¨åï¼èâneâæè¿è¡ MPlayer ç计ç®æºæç¨çå- èåºï¼ãææå¼ï¼é¨åï¼ä¸ºï¼âs16leâãâu32beâåâu24neâãè¿è¿æ- ¤è§åä½ä¹æææ ¼å¼æå®å¼æï¼u8ãs8ãfloatleãfloatbeãfloatneãmulawãalawãmpeg2ãac3 å imaadpcmã

volume[=é³é[:软件级åæ³¢]]

å®ç°è½¯ä»¶çº§çé³éæ§å¶ãéè°¨æ使ç¨è¯¥è¿æ»¤å¨ï¼å ä¸ºå¯è½éä½å£°é³çä¿¡åªæ¯ãå¨å¤§å¤æ°æåµä¸æ好æ¯å° PCM é³é设置为æ大ï¼ä»¥çå»è¯¥è¿æ»¤å¨ï¼è使ç¨æ··é³å¨ç主é³éæ§å¶åè½æ§å¶ä¼ éå°æ¬å£°å¨çè¾åºçº§å«ãå¦æ声å¡ä½¿ç¨çæ¯æ°å- ç PCM æ··é³å¨èé模æçï¼å¹¶ä¸å¯å¬å°å¤±çï¼åé æ¹ç¨ä¸»æ··é³å¨ãå¦æ计ç®æºè¿æå¤ç½®æ©é³å¨ï¼å ä¹æ»æ¯è¿æ ·çæåµï¼ï¼å¯éè¿è°è主é³éåæ©é³å¨çé³éæé®åå°åªå£°æ°´å¹³ï¼ç´å°èæ¯ä¸- çå¶å¶å£°æ¶å¤±ã
该è¿æ»¤å¨æ第äºä¸ªåè½ï¼æµéæ»ä½çæé«å£°é³ç级ï¼å¹¶å¨ MPlayer éåºæ¶å°å¶æå°åºæ¥ã该é³é估计å¼å¯ç¨äºè®¾ç½® MEncoder ç声é³çº§å«ï¼ä»¥ä½¿æå©ç¨çå¨æèå´æ大ã该åè½å½ååªå¯¹æµ®ç¹åæ°æ®èµ·ä½ç¨ï¼å¯ä½¿ç¨ä¾å¦ −af−adv force=5 æ −af statsã
注æï¼
该è¿æ»¤å¨ä¸å¯éå¤è®¾ç½®ï¼å¦å对æ¯ä¸ªé³é¢æµåªè½çæä¸æ¬¡ã

<é³é>  

以 dB 为åä½è®¾ç½®æµä¸ææ声éçæéå¢çåè´ï¼èå´ä» −200dB è³ +60dBï¼å¶ä¸ −200dB 为å®å¨éé³ï¼è +60dB çä»·äºå¢ç 1000 åï¼é»è®¤å¼ï¼0ï¼ã

<软件级åæ³¢> 

æå¼ï¼1ï¼æå³é- ï¼0ï¼è½¯ä»¶çº§åæ³¢ãå¦æ使ç¨äºé常é«çé³éæ°´å¹³ï¼è½¯ä»¶çº§åæ³¢å¯ä½¿å¾å£°é³æ´å¹³æ»ãå¦ææ¬é³å¨çå¨æèå´é常ä½ï¼å¯ä½¿ç¨è¯¥é项ã
è¦åï¼
该åè½ä¼äº§ç失çï¼å èåºå½æ¯æåæèè使ç¨çæ段ã

示ä¾ï¼

mplayer −af volume=10.1:0 media.avi

æ¾å¤§å£°é³ 10.1dBï¼å¹¶ä¸å£°é³ç- 级太é«æ¶ä½¿ç¨ç¡¬ä»¶çº§åæ³¢ã

pan=n[:L00:L01:L02:...L10:L11:L12:...Ln0:Ln1:Ln2:...]

å¯ä»»æ对声éè¿è¡æ··é³ãåºæ¬ä¸æ¯ volume å channels è¿æ»¤å¨çç»åï¼è½ç¨äºå°è®¸å¤å£°éæ··é³è³ä»ä»å ä¸ªå£°éï¼ä¾å¦å°ç«ä½å£°å°åå声éï¼æèæ¹åç¯ç»å£°ç³»ç»ä¸- ç½®æ¬å£°å¨çâ声åºå®½åº¦âã该è¿æ»¤å¨ä½¿ç¨é¾ï¼å¹¶ä¸éè¦ä¸äºä¿®æ- £æè½è·å¾æè¦çç»æã该è¿æ»¤å¨çé项æ°åå³äºè¾åºå£°éæ°ãå³äºå¦ä½ä½¿ç¨è¯¥è¿æ»¤å¨å° 6 声éæ件混é³ä¸ºå声éç示ä¾ï¼å¯å¨ç¤ºä¾ç« èä¸é»è¿æ«å°¾çé¨åæ¾å°ã

<n>  

è¾åºå£°éæ°ï¼1−8ï¼

<Lij>

表示è¾å¥å£°é i æ··é³æè¾åºå£°é j çç¨åº¦ï¼0−1ï¼ãæ以ååä¸åè¦æ n 个æ°æå®å¦ä½å¤ç第ä¸ä¸ªè¾å¥å£°éï¼ç¶åæ¯ 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[=é¢ç:声é]

å°éä½é³å£°éæ·»å å°é³é¢æµä¸ãç¨äºå建è¶ä½é³å£°éçé³é¢æ°æ®æ¯å£°é 0 å声é 1 ä¸å£°é³çå¹³åå¼ãè¿æ ·çæç声é³æ¥ç使ç¨åé¶ Butterworth è¿æ»¤å¨ï¼é»è®¤ä»¥ 60Hz 为æªæé¢çä½é滤波ï¼å¹¶å å¥è³é³é¢æµä¸- çä¸ä¸ªç¬ç«å£°éã
è¦åï¼
å½ææ¾ä½¿ç¨ææ¯æ°å 5.1 声ç DVD æ¶ï¼éç¦ç¨è¯¥è¿æ»¤å¨ï¼å¦å该è¿æ»¤å¨å°æ°ä¹±è¾åºè³éä½é³ç声é³ã

<é¢ç> 

ä½éè¿æ»¤å¨ç以 Hz 为åä½çæªæé¢çï¼20Hz è³ 300Hzï¼ï¼é»è®¤å¼ï¼60ï¼ãè¦è·åæä½³ææï¼å¯å°è¯å°æªæ- é¢çå°½å¯è½å°è®¾ç½®å¾ä½ãè¿å°æ¹åç«ä½å£°æç¯ç»å£°çä½éªææã

<声é> 

å³å®ç¨äºæå¥éä½å£°éé³é¢ç声éå·ã声éå·å¯ä¸º 0 å 7 ä¹é´çå¼ï¼é»è®¤å¼ï¼5ï¼ãå¯è§å¯å°å£°éæ°å¨å¿è¦æ¶ä¼èªå¨å¢å è³ <声é>ã

示ä¾ï¼

mplayer −af sub=100:4 −channels 5 media.avi

å°æªæé¢ç为 100Hz çéä½é³å£°éæ·»å å°è¾åºå£°é 4ã

center 

æ ¹æ®å置声éå建ä¸- 置声éãç®åå¯è½è´¨éè¾ä½ï¼å ä¸ºè¿æªå®ç°è½ä¿¡å·æ- £ç¡®æ½åä¿¡å·çé«éè¿æ»¤å¨ï¼èæ¯åå置声éä¿¡å·çå¹³åå¼ä»èååä¸åä¿¡å·ã

<声é> 

å³å®ç¨äºæå¥ä¸ç½®å£°éç声éç¼å·ã声éå·å¯ä¸º 0 å 7 ä¹é´çå¼ï¼é»è®¤å¼ï¼5ï¼ãå¯è§å¯å°å£°éæ°å¨å¿è¦æ¶ä¼èªå¨å¢å è³ <声é>ã

surround[=延è¿]

ç¨äºè¯¸å¦ææ¯ç¯ç»å£°ä¹ç±»çç©éµå¼ç¼ç çç¯ç»å£°ç解ç å¨ã许å¤å声éé³é¢æ件äºå®ä¸å«æç©éµå¼ç¼ç çç¯ç»é³æãéè¦å£°å¡æ¯æè³å° 4 声éã

<延è¿>

åç½®æ¬å£°å¨ä»¥ ms 为åä½ç延è¿ï¼0 è³ 1000ï¼ï¼é»è®¤å¼ï¼20ï¼ã该延è¿åºä»¥å¦ä¸æ¹å¼è®¾ç½®ï¼å¦æ d1 æ¯èå¬ç¹å°åç½®æ¬å£°å¨çè·ç¦»ï¼d2 æ¯èå¬ç¹å°åç½®æ¬å£°å¨çè·ç¦»ï¼é£ä¹å¦æ d1 <= d2ï¼å延è¿åºå½è®¾ä¸º 15msï¼èå¦æ d1 > d2 å设为 15 + 5*(d1-d2)ã

示ä¾ï¼

mplayer −af surround=15 −channels 4 media.avi

æ·»å ç¯ç»å£°è§£ç ï¼åç½®æ¬å£°å¨å£°é³ç延è¿ä¸º 15msã

delay[=声é1:声é2:...]

延è¿æ¬å£°å¨ç声é³ï¼ä»¥ä½¿ä¸å声éç声é³åæ¶å°è¾¾èå¬ç¹ã该é项åªæå©äºæ两个以ä¸æ¬å£°å¨çæåµã

声é1,声é2,...

以 ms 为åä½çåºå½å ç»å个声éç延è¿éï¼0 è³ 1000 ä¹é´çæµ®ç¹æ°ï¼ã

è¦è®¡ç®ä¸å声éæéç延è¿éï¼å¯æå¦ä¸æ¹å¼åï¼

1.

以米为åä½æµéèå¬ç¹å°æ¬å£°å¨å°çè·ç¦»ï¼å¾å°è·ç¦» s1 è³ s5ãï¼5.1 ç³»ç»ä¸ï¼æ²¡å¿è¦è¡¥å¿éä½é³ï¼å ä¸ºæ è®ºå¦ä½é½å¬ä¸åºå·®å«ï¼ã

2.

ä»è·ç¦» s1 è³ s5 ä¸åå»åè·ç¦»çæ大å¼ï¼å³ s[i] = max(s) − s[i]; i = 1...5ã

3.

å°æéç以 ms 为åä½ç延è¿é计ç®ä¸º d[i] = 1000*s[i]/342; i = 1...5ã

示ä¾ï¼

mplayer −af delay=10.5:10.5:0:0:7:0 media.avi

延è¿å置左声éåå³å£°éå 10.5msï¼ä¸¤ä¸ªå置声éåéä½é³å£°éå»¶è¿ 0msï¼ èä¸- 置声éå»¶è¿ 7msã

export[=ååæ å°æ件[:éæ ·æ°]]

使ç¨ååæ å°ï¼mmap()ï¼å°è¾å¥ä¿¡å·å¯¼åºè³å¶å®è¿ç¨ãåå- æ å°åºæå«å¤´é¨æ°æ®ä¸ºï¼

int nch /*声éæ°*/
int size /*ç¼å²å¤§å°*/
unsigned long long counter /*ç¨äºä¿æåæ¥, æ¯å½ææ°
æ°æ®å¯¼åºæ¶æ´æ°ã*/

å¶ä½é¨åæ¯ä½ä¸ºè´è½½çï¼é交éæåçï¼16 ä½é¿çæ°æ®ã

<ååæ å°æ件>

ç¨äºæ å°æ°æ®çç®æ æ件ï¼é»è®¤å¼ï¼~/.mplayer/ mplayer-af_exportï¼

<éæ ·æ°>

æ¯ä¸ªå£°éçéæ ·æ°ï¼é»è®¤å¼ï¼512ï¼

示ä¾ï¼

mplayer −af export=/tmp/mplayer-af_export:1024 media.avi

æ¯ä¸ªå£°éå°å¯¼åº 1024 个éæ ·å¼æ¾å¥â/tmp/mplayer-af_exportâä¸ã

extrastereo[=ä¹æ°]

ï¼çº¿æ§ï¼å¢å å·¦å³å£°éçå·®å¼ä»¥å¨ææ¾æ¶å¢å æç§âç°åºæâææã

<ä¹æ°>

设置差å¼ç³»æ°ï¼é»è®¤å¼ï¼2.5ï¼ã0.0 表示å声é声æï¼ä¸¤ä¸ªå£°éçå¹³åå¼ï¼ï¼1.0 表示ä¸æ¹å声é³ï¼è −1.0 表示交æ¢å·¦å³å£°éã

volnorm[=æ¹å¼:ç®æ å¼]

声é³ä¸å¤±ççæåµä¸ä½¿é³éæ大åã

<æ¹å¼>

设置æç¨çæ¹å¼ã

1ï¼éè¿åååéæ ·çæ åå æå¹³åå¼ä½¿ç¨å个样æ¬å¹³æ»ååå¹åº¦ï¼é»è®¤å¼ï¼ã
2ï¼éè¿åååéæ ·çæ åå æå¹³åå¼ä½¿ç¨å¤ä¸ªæ ·æ¬å¹³æ»ååå¹åº¦

<ç®æ å¼>

以ç¸äºéæ ·ç±»åçæ大æ¾å¤§å¼çæ¯ä¾è®¾ç½®ç®æ æ©å¤§å¼ï¼é»è®¤å¼ï¼0.25ï¼ã

ladspa=æ件:æ ç¾[:è¥å¹²æ§å¶å¼...]

å è½½ LADSPAï¼Linux é³é¢å¼åèç®åæ件å¼åæ¥å£ï¼æ件ã该è¿æ»¤å¨å¯éå¤è®¾ç½®ï¼æ以ä¸æ¬¡å¯ä½¿ç¨å¤ä¸ª LADSPA æ件ã

<æ件>

æå® LADSPA æ件çåºæ件ãå¦æè®¾ç½®äº LADSPA_PATHï¼åä»ä¸- æ寻ææå®çæ件ãå¦ææªè®¾ç½®ï¼åéæä¾æè¿°å®æ´çè·¯å¾åã

<æ ç¾>

æå®ä½¿ç¨åºä¸- çè¿æ»¤å¨ãæäºåºä»å«ä¸ä¸ªè¿æ»¤å¨ï¼èå¦ä¸äºå«æ许å¤ä¸ªãå°è¯¥å¼è¾å¥ä¸ºâhelpâå°ååºææå®åºä¸- ææå¯ç¨çè¿æ»¤å¨ï¼ä»èçå»ä½¿ç¨ LADSPA SDK ä¸- âlistpluginsâç麻ç¦ã

<è¥å¹²æ§å¶å¼>

æ§å¶å¼æ¯ 0 个æå¤ä¸ªæµ®ç¹æ°å¼ï¼å¶å³å®äºæå è½½æ件çè¡ä¸ºï¼ä¾å¦ï¼å»¶è¿ãéå¼åå¢çï¼ãå¨è¯¦ç»è¾åºæ¨¡å¼ä¸ï¼å° −v æ·»å è³ MPlayer å½ä»¤ä¸- ï¼å°æå°ææå¯ç¨çæ§å¶å¼åå¶ææèå´ãè¿å°±çå»äºä½¿ç¨ LADSPA SDK ä¸çâanalysepluginâç麻ç¦ã

comp   

æå©äºè¯çè¾å¥çå缩å¨/æ©é³å¨è¿æ»¤å¨ãå¶é²æ- ¢é常åç声é³é æé³è´¨æ伤ï¼å¹¶å¨å£°é³é常ä½æ¶æé«é³éã该è¿æ»¤å¨æªç»æµè¯ï¼çè³å¯è½ä¸ç¨³å®ã

gate   

ç±»ä¼¼äº comp é³é¢è¿æ»¤å¨çåªå£°é¨éè¿æ»¤å¨ã该è¿æ»¤å¨æªç»æµè¯ï¼çè³å¯è½ä¸ç¨³å®ã

karaoke

ç®å人声å»é¤è¿æ»¤å¨ï¼å¶å©ç¨çåçæ¯äººç声é³é常以å声é设å¤å½å¶ï¼å¹¶ä¸ä¹åâ以å±ä¸- çä½ç½®âæ··é³è³æç»çé³é¢æµä¸ã注æ该è¿æ»¤å¨ä¼å°ä¿¡å·åæå声éã2 声éé³è½¨ä¸ææå¾å¥½ï¼å¨é 2 声éç«ä½å£°çå容ä¸åå¿å°è¯ã

scaletempo[=é项1:é项2:...]

æ¹åé³é¢çèå¥ä½ä¸æ¹åé³é«ï¼å¯éæ©ä¸ææ¾é度åæ¥ï¼é»è®¤å¼ï¼ã
å¶å·¥ä½æ¹å¼æ¯ä»¥æ£å¸¸é度ææ¾ ´stride´ ms çé³é¢ï¼ç¶åå¤ç ´stride*scale´ ms çè¾å¥é³é¢ãéè¿å°è·¨åº¦åä¸ ´overlap´% çå容ä¸ç´§æ¥çåä¸ä¸ªè·¨åº¦åçé³é¢æ··åå¨ä¸èµ·ï¼ä½¿å个跨度åæ¼æ¥å¨ä¸èµ·ãå¯éæ©è®©è¯¥é项å¨ä¸ ´search´ ms çé³é¢ä¸ä½ä¸ä¸ªçå°çç»è®¡æ§åæï¼ä»¥å¤å®æä½³çéå ä½ç½®ã

scale=<æ°é>

缩æ¾èå¥çæ ç§°æ°éãæ该æ°é缩æ¾èå¥ï¼ä¸ speed çææç¸å å ãï¼é»è®¤å¼ï¼1.0ï¼

stride=<æ°é>

以毫ç§ä¸ºåä½çæè¾åºçæ¯ä¸ªè·¨åº¦åçé¿åº¦ãå¼è®¾å¾å¤ªé«ä¼å¨ scale å¼å¾é«æ¶äº§çå¯è§çä¸è¿è´¯ç°è±¡ï¼èå¨ scale å¼å¾å°æ¶äº§çå声ç°è±¡ãå¼è®¾å¾å¤ªä½ä¼æ¹åé³é«ãå¼è¶å¤§æ§è½è¶å¥½ãï¼é»è®¤å¼ï¼60ï¼

overlap=<ç¾åæ¯å¼>

跨度åä¹é´éå çç¾åæ¯ãå¼è¶å°æ§è½è¶å¥½ãï¼é»è®¤å¼ï¼.20ï¼

search=<æ°é>

以åä½ä¸ºæ¯«ç§çç¨äºæç´¢æä½³éå ä½ç½®çæç´¢é¿åº¦ãå¼è¶å°æ§è½è¶æ¯å¤§å¹åº¦æåãå¨è¿è¡æ¢çç³»ç»ä¸ï¼å¯è½å¸æå°è¯¥å¼è®¾å¾é常ä½ãï¼é»è®¤å¼ï¼14ï¼

speed=<tempo|pitch|both|none>

设置ææ¾é度æ¹åæ¶çååºã

tempo

æ¹åé³é¢èå¥ä»¥ä½¿å¶ä¸ææ¾é度åæ¥ï¼é»è®¤å¼ï¼ã

pitch

使è¿æ»¤å¨äº§çç¸åçææãæ¹åé³é«èä¸æ¹åé³é¢èå¥ã å¯å¨ input.conf ä¸å å¥ ´[ speed_mult 0.9438743126816935´ å ´] speed_mult 1.059463094352953´ 使å¶ä»¥ä¹çä¸çåé³ä¸ºæ¥è¿æ¹åã è¦åï¼ ä¸è§é¢çåæ¥åå·®ã

both

åæ¶æ¹åèå¥åé³é«ã

none

忽ç¥ææ¾é度çæ¹åã

示ä¾ï¼

mplayer −af scaletempo −speed 1.2 media.ogg

以 1.2 åçæ£å¸¸é度ææ¾åªä½ï¼é³é¢çé³é«ä¿ææ£å¸¸ãæ¹åæ- æ¾é度å°æ¹åé³é¢çèå¥ä»¥ä¸å¶ç¸å¹éã

mplayer −af scaletempo=scale=1.2:speed=none −speed 1.2
media.ogg

以 1.2 åçæ£å¸¸é度ææ¾åªä½ï¼é³é¢çé³é«ä¿ææ£å¸¸ï¼ä½æ¹åæ- æ¾é度对é³é¢çèå¥æ å½±åã

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.2 åçæ£å¸¸é度ææ¾åªä½ï¼é³é¢çé³é«ä¿ææ£å¸¸ãæ¹åæ- æ¾é度åªæ¹åé³é«ï¼èå°é³é¢èå¥ä¿æå¨ 1.2 åéçæ°´å¹³ã

stats  

æ¶é并æå°é³é¢æµçç»è®¡ä¿¡æ¯ï¼å°¤å¶æ¯é³éä¿¡æ¯ãè¿äºç»è®¡ä¿¡æ¯ç¹å«ç¨äºå¸®å©è°èé³é以é²æ- ¢åæ³¢ãé³é以 dB 为åä½æå°å¹¶ä¸ç¨äºé³éçé³é¢è¿æ»¤å¨ç¸å¼å®¹ï¼è¿äºæ°å¼æ»æ¯å −0dB æ¹ååæ´ã

ân_samplesâå段æ¯è¿æ»¤å¨è¯»å°çéæ ·æ»æ°ãâmean_volumeâå- 段æ¯åæ¹å¼çå¹³æ¹æ ¹ãâmax_volumeâå- 段çå«ä¹ä¸å¶åå®å¨ä¸è´ï¼æ大é³éï¼ãâhistogram_Xdbâå- 段ç»è®¡çæ¯ä¼æå¤å°éæ ·çå¼æ¯ −XdBï¼æ¤æ¶ X 为å好ä½äºæ大é³éçå¼ã

ä¾å¦ï¼å¦æ max_volume 为 −7dB å¹¶ä¸ histogram_7dB 为 19ï¼åâvolume=7âä¸ä¼å¯¼è´åæ³¢ï¼èâvolume=8âå°å¨å好 19 个éæ ·ä¸- 导è´åæ³¢ã

è§é¢è¿æ»¤å¨

è§é¢è¿æ»¤å¨ç¨äºä¿®æ¹è§é¢æµåå¶å±æ§ã使ç¨è¯æ³æ¯ï¼
−vf <è¿æ»¤å¨1[=åæ°1:åæ°2:...],è¿æ»¤å¨2,...>

设置è§é¢è¿æ»¤å¨åºåã

许å¤åæ°æ¯å¯éç并ä¸å¦æçç¥çè¯å设为é»è®¤å¼ãè¦æ确表示使ç¨é»è®¤å¼ï¼åå°åæ°è®¾ä¸ºâ−1âãåæ° w:h 表示以å素为åä½å®½ x é« 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 æ¯å¤§å¤æ°ç¼ç å¨ç¼ç çæåéçå¼ã

<éç½®å¼>

计æ°å¼ï¼ç¨ä»¥å³å®å¤å°å¸§å cropdetect å°éç½®åå侦æµçæ大è§é¢åºåï¼å¹¶éæ°ä¾¦æµå½åçæä¼åå²åºåï¼é»è®¤å¼ï¼0ï¼ã该é项å¯è½æå©äºçµè§å°å°æ å½±åäºè§é¢åºåçæåµã0 表示ä»ä¸éç½®èæ¯è¿åææ¾è¿ç¨ä¸éå°çæ大åºåã

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[:éè¡æ«æ[:è²åº¦ä¸¢å¼[:åæ°[:åæ°2[:é¢è®¾å°ºå¯¸[:ä¸æ¾å¤§[:精确åæ´]]]]]]]]

使ç¨è½¯ä»¶ç¼©æ¾å¨ï¼é度æ¢ï¼ç¼©æ¾å¾å并æ§è¡ YUV<−>RGB è²å½©ç©ºé´è½¬æ¢ï¼å¦è§ −swsï¼ã

<w>,<h>

缩æ¾åç宽/é«å¼ï¼é»è®¤å¼ï¼åå§ç宽/é«å¼ï¼
注æï¼
è¥ä½¿ç¨äº−zoomï¼å¹¶ä¸åºå±çè¿æ»¤å¨ï¼åæ¬libvoï¼æ æ³æ§è¡ç¼©æ¾ï¼åå¶é»è®¤è®¾ç½®ä¸ºé»è®¤å®½åº¦/ é»è®¤é«åº¦ï¼

0ï¼ ç¼©æ¾åçé»è®¤å®½åº¦/é»è®¤é«åº¦
−1ï¼ åå§å®½/é«
−2ï¼ ä½¿ç¨ w/h ä¸çå¦ä¸ä¸ªå¼ååå已缩æ¾ç宽é«æ¯è®¡ç® w/hã
−3ï¼ ä½¿ç¨ w/h ä¸çå¦ä¸ä¸ªå¼ååå§ç宽é«æ¯è®¡ç® w/hã
−(n+8)ï¼ä¸ä»¥ä¸ç −n 设置ç¸ä¼¼ï¼ä½å¯¹å°ºå¯¸åæ´ä½¿å¶ææ¥è¿ç 16 çåæ°ã

<éè¡æ«æ>

åæ¢éè¡æ«æè§é¢ç缩æ¾æ¹å¼ã

0ï¼å³éï¼é»è®¤ï¼
1ï¼æå¼

<è²åº¦ä¸¢å¼>

忽ç¥è²åº¦ä¿¡æ¯çæ¹å¼

0ï¼ä½¿ç¨ææå¯ç¨è¾å¥æ«æè¡ä¸çè²åº¦ä¿¡æ¯ã
1: åªä½¿ç¨æ¯é 2 个è¾å¥æ«æè¡ä¸çè²åº¦ä¿¡æ¯ã
2: åªä½¿ç¨æ¯é 4 个è¾å¥æ«æè¡ä¸çè²åº¦ä¿¡æ¯ã
3: åªä½¿ç¨æ¯é 8 个è¾å¥æ«æè¡ä¸çè²åº¦ä¿¡æ¯ã

<åæ°>[:<åæ°2>]ï¼å¦è§ −swsï¼

æ ¹æ® −sws ä¸æéç缩æ¾å¨ç±»å设置缩æ¾åæ°ã

−sws 2ï¼åéç«æ¹æ¨¡å¼ï¼ï¼Bï¼æ¨¡ç³ï¼å 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ï¼

<é¢è®¾å°ºå¯¸>

缩æ¾è³é¢è®¾å°ºå¯¸ã

qntscï¼ 352x240ï¼NTSC ååä¹ä¸å¤§å°å±å¹ï¼
qpalï¼ 352x288ï¼PAL ååä¹ä¸å¤§å°å±å¹ï¼
ntscï¼ 720x480ï¼æ å NTSCï¼
palï¼ 720x576ï¼æ å PALï¼
sntscï¼ 640x480ï¼æ£æ¹å½¢åç´  NTSCï¼
spalï¼ 768x576ï¼æ£æ¹å½¢åç´  PALï¼

<ä¸æ¾å¤§>

ä¸å许æ¾å¤§æ¶è¶åºåå§å°ºå¯¸ã

0ï¼å许æ¾å¤§æ¶è¶åºï¼é»è®¤ï¼ã
1ï¼è¥æä¸ä¸ªå°ºå¯¸è¶åºå¶åå§å¼æ¶åä¸å许ã
2ï¼è¥æ两个尺寸åè¶åºå¶åå§å¼æ¶åä¸å许ã

<精确åæ´>

åç´ç¼©æ¾å¨ä½¿ç¨ç精确åæ´æ¹å¼ï¼æ¯é»è®¤çåæ´æ¹å¼å¯è½é度快ï¼ä¹å¯è½é度æ¢ã

0ï¼ç¦æ¢ç²¾ç¡®åæ´ï¼é»è®¤å¼ï¼ã
1ï¼å许精确åæ´ã

dsize[=宽é«æ¯|w:h:宽é«æ¯æ¹å¼:r]

å¨è¿æ»¤å¨åºåä¸çä»»æä½ç½®æ´æ¹éè¦åºç¨çæ¾ç¤ºå¤§å°/ 宽é«æ¯ã宽é«æ¯å¯ä»¥æ¯åæ°ï¼4/3ï¼ææµ®ç¹æ°ï¼1.33ï¼ãæèï¼å¯ä»¥æå®æéæ¾ç¤ºç宽åé«çå®é大å°ã注æè¿ä¸ªè¿æ»¤å¨èªå·± ä¸ åä»»æ缩æ¾æä½ï¼å¶åªå½±åå°ä¹åçï¼ç¡¬ä»¶æ软件ï¼ç¼©æ¾å¨å¨ä¿®æ- £å®½é«æ¯æ¶å°éåçè¡ä¸ºã

<w>,<h>

æ°æ¾ç¤ºæ¨¡å¼ç宽度åé«åº¦ãä¹å¯æ¯ä»¥ä¸è¿äºç¹æ®å¼ï¼

0ï¼ åæ¥æ¾ç¤ºæ¨¡å¼ç宽度åé«åº¦
−1ï¼ åå§è§é¢ç宽度åé«åº¦ï¼é»è®¤ï¼
−2ï¼ ä½¿ç¨ w/h ä¸- çå¦ä¸ä¸ªå°ºå¯¸å¼ååæ¥æ¾ç¤ºç宽é«æ¯è®¡ç® w/hã
−3ï¼ ä½¿ç¨ w/h ä¸çå¦ä¸ä¸ªå°ºå¯¸å¼ååå§è§é¢å®½é«æ¯è®¡ç® w/hã

示ä¾ï¼

dsize=800:−2

æå®å½è§é¢å®½é«æ¯ä¸º 4/3 æ¶æ¾ç¤ºå辨ç为 800x600ï¼æå½è§é¢å®½é«æ¯ä¸º 16/9 æ¶ä½¿ç¨ 800x450ã

<宽é«æ¯æ¹å¼>

æ ¹æ®åæ¥ç宽é«æ¯ä¿®æ¹å®½åº¦åé«åº¦ã

−1ï¼å¿½ç¥åæç宽é«æ¯ãï¼é»è®¤å¼ï¼
0ï¼å¨ <w> å <h> ä½ä¸ºæ大çå辨ççæåµä¸ä¿æ æ¾ç¤ºåºæ¥ç宽é«æ¯ã
1ï¼å¨ <w> å <h> ä½ä¸ºæå°çå辨ççæåµä¸ä¿æ æ¾ç¤ºåºæ¥ç宽é«æ¯ã
2: å¨ <w> å <h> ä½ä¸ºæ大çå辨ççæåµä¸ä¿æ è§é¢ç宽é«æ¯ã
3: å¨ <w> å <h> ä½ä¸ºæå°çå辨ççæåµä¸ä¿æè§é¢ ç宽é«æ¯ã

示ä¾ï¼

dsize=800:600:0

æå®æ¾ç¤ºå辨çå°äºçäº 800x600ï¼ä»¥ä¿æ宽é«æ¯ã

<r>  

å°å®½åº¦åé«åº¦å¼åæ´è³å¯è¢« <r> æ´é¤çå¼ï¼é»è®¤å¼ï¼1ï¼ã

yvu9   

强å¶æ§è¡ YVU9 è³ YV12 è²å½©ç©ºé´ç软件转æ¢ãä¸èµæ使ç¨ï¼å ä¸ºä½¿ç¨è½¯ä»¶ç¼©æ¾å¨æ´å¥½ã

yuvcsp 

å° YUV è²å½©å¼éå¶å¨ CCIR 601 å®ä¹çèå´åèä¸åå®éçè²å½©è½¬æ¢ã

palette

使ç¨è°è²æ¿æ°æ®è¿è¡ RGB/BGR 8 −> 15/16/24/32 ä½è²å½©ç©ºé´è½¬æ¢ã

format[=fourcc[:è¾åºfourcc]]

éå¶ä¸ä¸ä¸ªè¿æ»¤å¨ä½¿ç¨çè²å½©ç©ºé´èä¸åä»»ä½è½¬æ¢ãå¯ä¸ scale è¿æ»¤å¨å±å使ç¨å®æå®é转æ¢ã
注æï¼
è¦è·åå¯ç¨æ ¼å¼å表åè§ format=fmt=helpã

<fourcc>

æ ¼å¼å称ï¼å¦ rgb15ãbgr24ãyv12ï¼é»è®¤å¼ï¼yuy2ï¼

<è¾åºfourcc>

ç¨äºæ¿æ¢ä¸ºè¾åºæ ¼å¼çæ ¼å¼åãå¦æ该å¼ä¸è½ 100% ä¸ <fourcc> çå¼ç¸å¼å®¹ï¼åå°å¯¼è´ç¨åºå´©æºã
ææç¨æ³ç¤ºä¾ï¼
format=rgb24:bgr24 format=yuyv:yuy2
æ æç¨æ³ç¤ºä¾ï¼ç¨åºå°å´©æºï¼ï¼
format=rgb24:yv12

noformat[=fourcc]

éå¶ä¸ä¸ä¸ªè¿æ»¤å¨ä½¿ç¨çè²å½©ç©ºé´èä¸åä»»ä½è½¬æ¢ãä¸ format è¿æ»¤å¨ä¸åï¼è¯¥è¿æ»¤å¨è½å¤çä»»æè²å½©ç©ºé´ï¼ é¤äº èªå®ä¹çã
注æï¼
è¦è·åå¯ç¨æ ¼å¼å表åè§ noformat=fmt=helpã

<fourcc>

æ ¼å¼åç§°å¦ rgb15ãbgr24ãyv12ï¼é»è®¤å¼ï¼yv12ï¼

pp[=è¿æ»¤å¨1[:é项1[:é项2...]]/[−]è¿æ»¤å¨2...]ï¼å¦è§−pphelpï¼

å¯ç¨æå®åºåçåæå¤çåè¿æ»¤å¨ãåè¿æ»¤å¨å¿é¡»ç¨â/âåéï¼å¹¶å¯éè¿å¨å¶åå- åå â−âèç¦ç¨ãææåè¿æ»¤å¨åæäºé项æä¸ä¸ªç- ååä¸ä¸ªé¿åï¼ä¸¤èå¯ä»¥äºæ¢ä½¿ç¨ãä¾å¦ï¼dr/dering æ¯ä¸æ ·çãä¸äºå±ç¨çé项å¨ææçåè¿æ»¤å¨ä¸ä½¿ç¨ä»¥å³å®è¿äºå- è¿æ»¤å¨çä½ç¨èå´ï¼

a/autoq

å¦æ CPU 太æ¢åèªå¨å³éåè¿æ»¤å¨ã

c/chrom

åæ¶æ§è¡è²åº¦è¿æ»¤ï¼é»è®¤å¼ï¼ã

y/nochrom

åªæ§è¡äº®åº¦è¿æ»¤ï¼ä¸ä½¿ç¨è²åº¦ä¿¡æ¯ï¼ã

n/noluma

åªæ§è¡è²åº¦è¿æ»¤ï¼ä¸ä½¿ç¨äº®åº¦ä¿¡æ¯ï¼ã

注æï¼ −pphelp ååºäºå¯ç¨åè¿æ»¤å¨çå表ã

å¯ç¨çåè¿æ»¤å¨æ

hb/hdeblock[:å·®å¼åº¦[:å¹³å¦åº¦]]

æ°´å¹³æ¹åä¸çå»åæåºè¿æ»¤å¨

<å·®å¼åº¦>ï¼å·®å¼ç³»æ°ï¼å¼è¶é«æå³çå»åæåºææè¶å¼ºï¼é»è®¤å¼ï¼32ï¼ã
<å¹³å¦åº¦>ï¼å¹³å¦åº¦éå¼ï¼å¼è¶ä½æå³çå»åæåºææè¶å¼ºï¼é»è®¤å¼ï¼39ï¼ã

vb/vdeblock[:å·®å¼åº¦[:å¹³å¦åº¦]]

åç´æ¹åä¸çå»åæåºè¿æ»¤å¨

<å·®å¼åº¦>ï¼å·®å¼ç³»æ°ï¼å¼è¶é«æå³çå»åæåºææè¶å¼ºï¼é»è®¤å¼ï¼32ï¼ã
<å¹³å¦åº¦>ï¼å¹³å¦åº¦éå¼ï¼å¼è¶ä½æå³çååæåºææè¶å¼ºï¼é»è®¤å¼ï¼39ï¼ã

ha/hadeblock[:å·®å¼åº¦[:å¹³å¦åº¦]]

精确çæ°´å¹³æ¹åä¸çå»åæåºè¿æ»¤å¨

<å·®å¼åº¦>ï¼å·®å¼ç³»æ°ï¼å¼è¶é«æå³çå»åæåºææè¶å¼ºï¼é»è®¤å¼ï¼32ï¼ã
<å¹³å¦åº¦>ï¼å¹³å¦åº¦éå¼ï¼å¼è¶ä½æå³çååæåºææè¶å¼ºï¼é»è®¤å¼ï¼39ï¼ã

va/vadeblock[:å·®å¼åº¦[:å¹³å¦åº¦]]

精确çåç´æ¹åä¸çå»åæåºè¿æ»¤å¨

<å·®å¼åº¦>ï¼å·®å¼ç³»æ°ï¼å¼è¶é«æå³çå»åæåºææè¶å¼ºï¼é»è®¤å¼ï¼32ï¼ã
<å¹³å¦åº¦>ï¼å¹³å¦åº¦éå¼ï¼å¼è¶ä½æå³çå»åæåºææè¶å¼ºï¼é»è®¤å¼ï¼39ï¼ã

æ°´å¹³å»åæåºè¿æ»¤å¨ååç´å»åæåºè¿æ»¤å¨å±ç¨åä¸ä¸ªå·®å¼ç³»æ°åå¹³å¦åº¦éå¼ï¼æ以ä¸è½å¨æ°´å¹³ååç´æ¹åä¸è®¾ç½®ä¸åéå¼ã
h1/x1hdeblock

è¯éªæ§çæ°´å¹³æ¹åä¸çå»åæåºè¿æ»¤å¨

v1/x1vdeblock

è¯éªæ§çåç´æ¹åä¸çå»åæåºè¿æ»¤å¨

dr/dering

å»è²æè¿æ»¤å¨

tn/tmpnoise[:éå¼1[:éå¼2[:éå¼3]]]

æ¶é´æ§åªå£°å»é¤å¨

<éå¼1>ï¼æ´å¤§è§æ¨¡->æ´å¼ºçè¿æ»¤
<éå¼2>ï¼æ´å¤§è§æ¨¡->æ´å¼ºçè¿æ»¤
<éå¼3>ï¼æ´å¤§è§æ¨¡->æ´å¼ºçè¿æ»¤

al/autolevels[:f/fullyrange]

èªå¨æ´æ£äº®åº¦/对æ¯åº¦

f/fullyrangeï¼å¢å¤§äº®åº¦èå´è³ï¼0−255ï¼ã

lb/linblenddeint

线æ§æ··å解é¤éè¡æ«æè¿æ»¤å¨ï¼éè¿ä½¿ç¨ (1 2 1) è¿æ»¤å¨è¿æ»¤ææçè¾å¥æ«æè¡ä»¥è§£é¤æç»åºåçéè¡æ«æã

li/linipoldeint

线æ§æå¼è§£é¤éè¡æ«æè¿æ»¤å¨ï¼éè¿çº¿æ§æå¼ç®æ³æ¯é两个æ«æè¡æ§è¡æå¼ä»¥è§£é¤æç»åºåçéè¡æ«æã

ci/cubicipoldeint

ç«æ¹æå¼è§£é¤éè¡æ«æè¿æ»¤å¨ï¼éè¿ç«æ¹æå¼ç®æ³æ¯é两个æ«æè¡æ§è¡æå¼ä»¥è§£é¤æç»åºåçéè¡æ«æã

md/mediandeint

ä¸ä½æ°è§£é¤éè¡æ«æè¿æ»¤å¨ï¼éè¿æ¯é两个æ«æè¡åºç¨ä¸- ä½æ°è¿æ»¤å¨ä»¥è§£é¤æç»åºåçéè¡æ«æã

fd/ffmpegdeint

FFmpeg 解é¤éè¡æ«æè¿æ»¤å¨ï¼éè¿æ¯é两个æ«æè¡ä½¿ç¨ (−1 4 2 4 −1) è¿æ»¤ä»¥è§£é¤æç»åºåçéè¡æ«æã

l5/lowpass5

åç´æ¹åä¸åºç¨ç FIR ä½é解é¤éè¡æ«æè¿æ»¤å¨ï¼éè¿å¯¹ææè¾å¥æ«æè¡ä½¿ç¨ (−1 2 6 2 −1) è¿æ»¤å¨ä»¥è§£é¤æç»åºåçéè¡æ«æã

fq/forceQuant[:éååæ°]

å°è¾å¥è¿æ¥çéååæ°è¡¨æ¿æ¢ä¸ºæå®çæå®éååæ°è¡¨ã

<éååæ°>ï¼æ使ç¨çéååæ°

de/default

é»è®¤çåæå¤çè¿æ»¤å¨ç»åï¼hb:a,vb:a,dr:aï¼

fa/fast

å¿«éçåæå¤çè¿æ»¤å¨ç»åï¼h1:a,v1:a,dr:aï¼

ac   

é«è´¨éçåæå¤çè¿æ»¤å¨ç»åï¼ha:a:128:7,va:a,dr:aï¼

示ä¾ï¼

−vf pp=hb/vb/dr/al

æ°´å¹³ååç´æ¹åä¸å»åæåºãå»è²æ以åèªå¨äº®åº¦/对æ¯åº¦è°æ´

−vf pp=de/−al

使ç¨é»è®¤çè¿æ»¤å¨ç»åèä¸ä½¿ç¨äº®åº¦/对æ¯åº¦è°æ´

−vf pp=default/tmpnoise:1:2:3

å¯ç¨é»è®¤çè¿æ»¤å¨ç»å以åæ¶é´æ§åªå£°å»é¤å¨ã

−vf pp=hb:y/vb:a

æ°´å¹³æ¹åå»åæåºåªé对亮度信æ¯ï¼å¹¶ä¸æ ¹æ®å¯ç¨ CPU æ¶é´èµæºæå¼æå³éåç´æ¹åçå»åæåºè¿æ»¤ã

spp[=è´¨é[:éååæ°[:模å¼]]]

ç®ååæå¤çè¿æ»¤å¨ï¼å¨å¤æ¬¡ï¼æèââå½è´¨éç级为 6 æ¶ââå¨ææçï¼åæ¢ä¸- å缩å解åå¾å并åå¹³åå¼ä½ä¸ºç»æã

<è´¨é>

0−6ï¼é»è®¤å¼ï¼3ï¼

<éååæ°> 

强å¶ä½¿ç¨çéååæ°ï¼é»è®¤å¼ï¼0ï¼ä½¿ç¨æ¥èªè§é¢çéååæ°ï¼ã

<模å¼>

0ï¼åæ§éå¼ï¼é»è®¤å¼ï¼
1ï¼ææ§éå¼ï¼å»è²æææ好ï¼ä½è¾æ¨¡ç³ï¼
4ï¼ä¸ 0 ç¸ä¼¼ï¼ä½åæ¶ä½¿ç¨ B 帧çéååæ°ï¼å¯è½å¯¼è´éªçï¼
5ï¼ä¸ 1 ç¸ä¼¼ï¼ä½åæ¶ä½¿ç¨ B 帧çéååæ°ï¼å¯è½å¯¼è´éªçï¼

uspp[=è´¨é[:éååæ°]]

æç®åä¸é度æ¢çåæå¤çè¿æ»¤å¨ï¼å¨å¤æ¬¡ï¼æèââå½è´¨éç级为 8 æ¶ââå¨ææçï¼åæ¢ä¸å缩å解åå¾å并åå¹³åå¼ä½ä¸ºç»æãå¶ä¸ spp è¡ä¸ºçå·®å¼å¨äº uspp å¨æææåµä¸ä½¿ç¨ libavcodec Snow ç¼ç å解ç ï¼è spp ä»ä½¿ç¨ç±»ä¼¼äº MJPEG çç®åçåé¨ 8x8 离æ£ä½å¼¦åæ¢ã

<è´¨é>

0−8ï¼é»è®¤å¼ï¼3ï¼

<éååæ°> 

强å¶ä½¿ç¨çéååæ°ï¼é»è®¤å¼ï¼0ï¼ä½¿ç¨æ¥èªè§é¢çéååæ°ï¼ã

fspp[=è´¨é[:éååæ°[:强度[:B帧]]]]

ç®ååæå¤çè¿æ»¤å¨çä¸ä¸ªå¿«éçæ¬

<è´¨é>

4−5ï¼ä¸ spp ä¸ççä»·ï¼é»è®¤å¼ï¼4ï¼

<éååæ°> 

强å¶ä½¿ç¨çéååæ°ï¼é»è®¤å¼ï¼0ï¼ä½¿ç¨æ¥èªè§é¢çéååæ°ï¼ã

<−15−32>

è¿æ»¤å¼ºåº¦ï¼å¼è¶ä½æå³çå å¥æ´å¤ç»èä½åæ¶ä¹å¸¦æ¥æ´å¤æ伤ï¼èå¼è¶é«è¶ä½¿å¾åå¹³æ»ä½åæ¶ä¹è¶æ¨¡ç³ï¼é»è®¤å¼ï¼0 − PSNRä¼åï¼ã

<B帧>

0ï¼ä¸ä½¿ç¨ B 帧çéååæ°ï¼é»è®¤å¼ï¼
1ï¼ä¹ä½¿ç¨ B 帧çéååæ°ï¼å¯è½å¯¼è´éªçï¼

pp7[=éååæ°[:模å¼]]

spp è¿æ»¤å¨çåç§ï¼ä¸ä½¿ç¨ 7 顶ç¹ç¦»æ£ä½å¼¦åæ¢ç spp=6 ç¸ä¼¼ï¼å¨è¿ç§æåµä¸åªæä¸å¤®çéæ ·å¨ç¦»æ£ä½å¼¦éåæ¢å使ç¨ã

<éååæ°>

强å¶ä½¿ç¨çéååæ°ï¼é»è®¤å¼ï¼0ï¼ä½¿ç¨æ¥èªè§é¢çéååæ°ï¼ã

<模å¼>

0ï¼åæ§éå¼
1ï¼ææ§éå¼ï¼å»è²æææè¾å¥½ï¼ä½è¾æ¨¡ç³ï¼
2ï¼ä¸æ§éå¼ï¼é»è®¤å¼ï¼ææ好ï¼

qp=æ¹ç¨å¼

æ¹åéååæ°çè¿æ»¤å¨

<æ¹ç¨å¼>

诸å¦â2+2*sin(PI*qp)âä¹ç±»çæ¹ç¨å¼

geq=æ¹ç¨å¼

æ¹åéç¨æ¹ç¨å¼çè¿æ»¤å¨

<æ¹ç¨å¼>

æç§æ¹ç¨å¼ï¼ä¾å¦ç¨ä»¥æ°´å¹³ç¿»è½¬å¾åçâp(W−X\,Y)âãå¯ä½¿ç¨ç©ºç½åé符使æ¹ç¨å¼æ´å®¹æ读æãæä¸äºå¸¸éå¯ä»¥å¨æ¹ç¨å¼ä¸- 使ç¨ï¼

PIï¼åå¨çæ´¾
Eï¼èªç¶å¸¸æ° e
X / Yï¼å½åéæ ·ä¸çåæ 
W / Hï¼å¾åç宽度åé«åº¦
SW / SHï¼å½åè¿æ»¤å¨å¤çè¿åçå¹³é¢ç宽/é«åº¦é尺度ï¼ä¾å¦ç¨äº YUV 4:2:0 ç 1 ,1 å 0.5,0.5ã
p(x,y)ï¼è¿åå½åå¹³é¢ x/y ä½ç½®ä¸åç´ çå¼ã

test   

çæåç§æµè¯ä¸çæµè¯ç¨å¾æ ·ã

rgbtest[=宽:é«]

çæ RGB æµè¯å¾æ ·ï¼éç¨äºå¯¹æ¯ RGB å BGR çåºåãå°çå°ç±ä¸èä¸ç红ãé»ãèä¸è²æ¡çº¹ã

<宽>

ææçæå¾åæå·æç宽度ï¼é»è®¤å¼ï¼0ï¼ã0 表示è¾å¥å¾åç宽度ã

<é«>

ææçæå¾åæå·æçé«åº¦ï¼é»è®¤å¼ï¼0ï¼ã0 表示è¾å¥å¾åçé«åº¦ã

lavc[=è´¨é:fps]

ä½¿ç¨ libavcodec æ§è¡ YV12 è³ MPEG-1 ç软件级çå¿«é转æ¢ï¼ç¨äºä¸ DVB/DXR3/IVTV/V4L2 ä¸å使ç¨ã

<è´¨é>

1−31ï¼åºå®çéå尺度
32−ï¼ä»¥ kbits 为åä½çåºå®æ¯ç¹ç

<fps>

强å¶æå®çè¾åº fps å¼ï¼æµ®ç¹å¼ï¼ï¼é»è®¤å¼ï¼0ï¼æ ¹æ®å¾åé«åº¦èªå¨æ£æµï¼

dvbscale[=宽é«æ¯]

设置ç¨äºæ°åè§é¢å¹¿æå¡çä¼å缩æ¾æ¯ä¾ï¼ç¨ç¡¬ä»¶åº¦é x è½´èç¨è½¯ä»¶è®¡ç® y è½´æ¯ç以ä¿æ宽é«æ¯ãåªæå½ä¸ expand å scale è¿æ»¤å¨ä¸å使ç¨æ¶ææä½ç¨ã

<宽é«æ¯>

æ§å¶å®½é«æ¯ä¾ï¼è®¡ç®æ¹å¼ä¸º æ°å- è§é¢é«åº¦*宽é«æ¯ï¼é»è®¤å¼ï¼576*4/3=768 ï¼ï¼ä½¿ç¨ 16:9 ççµè§æ¶éå°å¶è®¾ç½®ä¸º 576*(16/9)=1024ã

示ä¾ï¼

−vf dvbscale,scale=−1:0,expand=−1:576:−1:−1:1,lavc

FIXMEï¼è§£éä¸ä¸è¿ä¸ªæ¯å¹²ä»ä¹çã

noise[=luma[u][t|a][h][p]:chroma[u][t|a][h][p]]

æ·»å åªå£°ææã

<0−100>

亮度åªå£°

<0−100>

è²åº¦åªå£°

u

åååªå£°ï¼å¦åå°±æ¯é«æ¯åå¸çï¼

t

æ¶é´æ§åªå£°ï¼åªå£°æ ·å¼å¨ä¸å帧ä¸æ¯ä¸åçï¼

a

å¹³ååçæ¶é´æ§åªå£°ï¼æ´å¹³æ»ï¼ä½ç¸è¾èè¨æ¸²æå¾å¾æ¢ï¼

h

é«è´¨éï¼ç¨æ¾å¥½çï¼æ¸²æç¨æ¢ï¼

p

å·æï¼åï¼è§åæ ·å¼çæ··åéæºåªå£°

denoise3d[=亮度空é´:è²åº¦ç©ºé´:亮度æ¶é´:è²åº¦æ¶é´]

该è¿æ»¤å¨ç®æ å¨äºæ¶é¤å¾åä¸çåªå£°ï¼äº§çå¹³æ»çå¾åï¼å¹¶ä¸ä½¿éæå¾åçæ- £éæ¢ï¼è¿è½æ é«å¯å缩æ§ãï¼ã

<亮度空é´>

亮度空é´ä¸ç强度ï¼é»è®¤å¼ï¼4ï¼

<è²åº¦ç©ºé´>

è²åº¦ç©ºé´ä¸ç强度ï¼é»è®¤å¼ï¼3ï¼

<亮度æ¶é´>

亮度æ¶é´ä¸ç强度ï¼é»è®¤å¼ï¼6ï¼

<è²åº¦æ¶é´>

è²åº¦æ¶é´ä¸ç强度ï¼é»è®¤å¼ï¼äº®åº¦æ¶é´*è²åº¦ç©ºé´/亮度空é´ï¼

hqdn3d[=亮度空é´:è²åº¦ç©ºé´:亮度æ¶é´:è²åº¦æ¶é´]

denoise3d è¿æ»¤å¨çé«ç²¾åº¦/è´¨éçæ¬ãåæ°ä¸ç¨æ³ä¸ denoise3d ç¸åã

ow[=深度[:亮度强度[:è²åº¦å¼ºåº¦]]]

è¿è¡¥å¿å°æ³¢éåªè¿æ»¤å¨ã

<深度>

深度å¼è¶å¤§å°å»é¤è¶æ¯å¤å°å»é¤è¶æ¯ä½é¢çé¨åçåªé³ï¼ä½åæ¶è¶æ¯åæ¢è¿æ»¤é度ï¼é»è®¤å¼ï¼8ï¼ã

<亮度强度>

亮度强度ï¼é»è®¤å¼ï¼1.0ï¼

<è²åº¦å¼ºåº¦>

è²åº¦å¼ºåº¦ï¼é»è®¤å¼ï¼1.0ï¼

eq[=亮度:对æ¯åº¦]ï¼ä¸æ¨è使ç¨ï¼

å硬件åè¡¡å¨ä¸æ ·å¯ä»¥äº¤äºå¼æ§å¶ç软件åè¡¡å¨ï¼ç¨äºé£äºä¸æ¯æ硬件级亮度å对æ¯åº¦æ§å¶çæ¾å¡/ 驱å¨ãå¯è½æå©äº MEncoder ä¿®æ¹æåå¾ä¸å¥½çå½±çï¼ææ¯ç¨ç¨éä½å¯¹æ¯åº¦ä»¥éèç»è´¨æ伤并使ä½æ¯ç¹çä¸ç»è´¨å°å¯ã

<−100−100>

åå§äº®åº¦

<−100−100>

åå§å¯¹æ¯åº¦

eq2[=ä¼½çå¼:对æ¯åº¦:亮度:饱å度:rg:gg:bg:æé]

å¦ä¸ç§è½¯ä»¶åè¡¡å¨ï¼å¶ä½¿ç¨å¯¹ç§è¡¨ï¼è¿è¡ç¼æ¢ï¼ï¼é¤äºç®åç亮度å对æ¯åº¦è°æ´å¤è¿å许伽çä¿®æ- £ã注æå½ææçä¼½çå¼ä¸º 1.0 æ¶ï¼å¶ä¸ −vf eq 使ç¨åæ ·ç MMX ä¼å代ç ãåæ°å¼æ¯ä»¥æµ®ç¹å¼å½¢å¼ç»åºçã

<0.1−10>

åå§ä¼½çå¼ï¼é»è®¤å¼ï¼1.0ï¼

<−2−2>

åå§å¯¹æ¯åº¦ï¼å¨æ- ¤è®¾è´æ°å¼å°å¯¼è´å¾ååç°è´çææï¼é»è®¤å¼ï¼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>

æéåæ°å¯ä»¥ç¨æ¥æ¶åéé«ä¼½çå¼å¨å¾åæ亮åºåçææï¼æ¯æ¹è¯´é²æ- ¢è¿äºåºåè¿åº¦å¢çèåå¾ä»ä»æ¯çº¯ç½è²ãå¼ä¸º 0.0 å使å¾å¨æææåµä¸æ§è¡ä¼½çå¼ä¿®æ£ï¼èå¼ä¸º 1.0 å让伽çå¼å§ç»ä¿æå¶ä¿®é¥°å度ï¼é»è®¤å¼ï¼1.0ï¼ã

hue[=è²è°:饱å度]

å硬件åè¡¡å¨ä¸æ ·å¯ä»¥äº¤äºæ§å¶ç软件åè¡¡å¨ï¼ç¨äºé£äºä¸æ¯æ硬件级è²è°å饱å度æ§å¶çæ¾å¡/ 驱å¨ã

<−180−180>

åå§è²è°ï¼é»è®¤å¼ï¼0.0ï¼

<−100−100>

åå§é¥±å度ï¼å¨æ¤è®¾è´æ°å¼å°å¯¼è´è´è²åº¦ï¼é»è®¤å¼ï¼1.0ï¼

halfpack[=f]

å°æå¹³é¢åæ¾ç YUV 4:2:0 æ ¼å¼è½¬æ¢æåé«åº¦å·²æåç 4:2:2 æ ¼å¼ï¼å¯¹äºäº®åº¦å¼éä½è´¨ééæ ·ä½ä¿çææè²åº¦éæ ·å¼ãæç¨äºç¡¬ä»¶éä½ç²¾åº¦éæ ·å¾åçè´¨éä¸é«ææ æ³æä¾è¯¥åè½ï¼èéå°ä¿¡å·è¾åºè³ä¸ä¸ªä½å辨çæ¾ç¤ºè®¾å¤çåºåãä¹å¯ä»¥ä½ä¸ºä¸ç§å ç¨ CPU ä½ï¼ä»é对亮度信å·çç®åç解é¤éè¡æ«æè¿æ»¤å¨ã

<f>  

é»è®¤æåµä¸ï¼åæåè¿ç¨å¨éä½è´¨ééæ ·æ¶åæ¯å¯¹æ«æè¡çå¹³åå¼ãä»»ä½ä¸ä¸º 0 æ 1 çå¼æå®åæ¯éç¨é»è®¤çï¼åå¹³åå¼çï¼è¡ä¸ºã

0ï¼å¨éä½è´¨ééæ ·æ¶åªä½¿ç¨å¶æ°æ«æè¡çä¿¡æ¯ã
0ï¼å¨éä½è´¨ééæ ·æ¶åªä½¿ç¨å¥æ°æ«æè¡çä¿¡æ¯ã

ilpack[=模å¼]

å½éè¡æ«æè§é¢ä»¥ YUV 4:2:0 æ ¼å¼å- æ¾æ¶ï¼ç±äºè²åº¦ä¿¡éå¨åç´æ¹åä¸éä½è´¨ééæ ·çå³ç³»ï¼è²åº¦ä¿¡å·å¨éè¡æ«æä¸- 没ææ°å½å°å°æåã该è¿æ»¤å¨å°æå¹³é¢åæ¾ç 4:2:0 çæ°æ®æåè¿ YUY2ï¼4:2:2ï¼æ ¼å¼æ¶ï¼å°è²åº¦ä¿¡å·æ°å½å°æåè³åºå¤çä½ç½®ï¼ä»¥ä¾¿å¨ä»»ææç»æ«æè¡ä¸- 亮度åè²åº¦æ°æ®æ¥æºäºåä¸ä¸ªæ°æ®åã

<模å¼>

éæ©éæ ·ç模å¼ã

0ï¼æè¿é»é样模å¼ï¼å¿«éä½ä¸åç¡®
1ï¼çº¿æ§æå¼ï¼é»è®¤æ¹å¼ï¼

harddup

ä»æå©äºä½¿ç¨ MEncoderãå¦æå¨ç¼ç ä¸ä½¿ç¨äº hardupï¼å¶å°å¼ºå¶é æéå¤ç帧ç¼ç è³è¾åºä¸- ãè¿å°å ç¨ç¨å¤ç空é´ï¼ä½å½è¾åºè³ MPEG æ件æ éå¨ç¼ç åå离åå并è§é¢æµæ¶ï¼è¿æå¿è¦çãåºæ¾ç½®äºè¿æ»¤å¨åºåçæåææ¥è¿äºæåï¼é¤éæå足ççç±ä¸è¿æ ·åã

softskip

ä»æå©äºä½¿ç¨ MEncoderãsoftskip å°ç¼ç ä¸è·³è¿ï¼ä¸¢å¼ï¼å¸§çæ- ¥éª¤ä»è¿æ»¤å¨åºåä¹å移è³è¿æ»¤å¨åºåä¸- çæ个ä½ç½®ãè¿ä½¿é£äºéè¦è¯»åææ帧çè¿æ»¤å¨ï¼åçµè§å¾å模å¼ãå»æ¶é´æ§åªå£°ç- çï¼è½æ- £å¸¸å·¥ä½ãåºæ¾ç½®å¨é£äºéè¦è¯»åææ帧çè¿æ»¤å¨ä¹åï¼å¹¶å¨ä»»ä½å¤§éæ¶è CPU çè¿æ»¤å¨ä¹åã

decimate[=æ大:é«:ä½:é¨å]

丢å¼é£äºä¸ååç帧差å«ä¸å¤§ç帧ï¼ä»¥éä½å¸§çã该è¿æ»¤å¨ç主è¦ç¨éæ¯å¨æä½çæ¯ç¹çä¸ç¼ç ï¼ä¾å¦å¨æ¨å·æ¥å¥çè°å¶è§£è°å¨çº¿è·¯ä¸ä¼ è¾æµåªä½ï¼ï¼ä½å¨ç论ä¸å¯ä»¥ç¨äºä¿®å¤æªæ- £ç¡®å»é¤çµè§å¾å模å¼çå½±çï¼ã

<æ大>

设置æ大å¯ä»¥è¿ç»ä¸¢å¼ç帧ç个æ°ï¼å½è¯¥å¼ä¸ºæ- £æ°æ¶ï¼ï¼æ被丢å¼å¸§é´çæå°é´éï¼å½è¯¥å¼ä¸ºè´æ°æ¶ï¼ã

<é«>,<ä½>,<é¨å>

å½æ²¡æä¸ä¸ª 8x8 çåºåçå·®å«å¼å¤§äºéå¼ <hi>ï¼å¹¶ä¸ä¸è¶è¿ <frac> 个é¨åï¼1 表示æ´å¹ç»é¢ï¼çå·®å«å¼å¤§äºéå¼ <lo> æ¶ï¼è¿ä¸ªå¸§å°±å¯ä»¥è¢«ä¸¢å¼ãæ°å¼ <hi> å <lo> 表示 8x8 åç´ åºåä¸å®éåå¨çä¸åå¼çå素个æ°ï¼äºæ¯éå¼ 64 对åºäºæ¯ä¸ªåç´ é½æä¸ä¸ªä¸åçå¼ï¼æè¿ç§æ形以ä¸åçå½¢å¼å¨æ´ä¸ªåºåä¸- åå¸çå½¢å¼ã

dint[=çµæ度:ç级]

该丢帧å¼è§£é¤éè¡æ«æï¼dintï¼è¿æ»¤å¨ä¾¦æµåºå¹¶ä¸¢å¼ä¸è¿ä¸²éè¡æ«æè§é¢ç帧ä¸- ç第ä¸ä¸ªå¸§ã

<0.0−1.0>

ç¸é»åç´ é´çç¸å¯¹å·®å¼å¼ï¼é»è®¤å¼ï¼0.1ï¼

<0.0−1.0>

åªæå½å¾åä¸- çåªä¸ªé¨åå¿é¡»ä¾¦æµä¸ºéè¡æ«ææ¶ï¼æè½ä¸¢å¼è¯¥å¸§ï¼é»è®¤å¼ï¼0.15ï¼ã

lavcdeintï¼ä¸æ¨è使ç¨ï¼

FFmpeg ç解é¤éè¡æ«æè¿æ»¤å¨ï¼ä¸ −vf pp=fd ç¸å

lavfi=filtergraph

åè£ FFmpeg libavfilter æ¥å£çè¿æ»¤å¨ãfiltergraph å®ä¹çæ¯å·æå个è¾å¥åå个è¾åºç libavfilter æµç¨å¾ãåè§ http://www.ffmpeg.org/libavfilter.html#SEC4 以äºè§£è¯¦ç»ä¿¡æ¯ã

æä¸ç§ç¹æ®æåµï¼å¦æ filtergraph 为 $wordï¼é£ä¹å°ä½¿ç¨ç¯å¢åé word çå¼ï¼å½éå·åºç°å¨æµç¨å¾çæè¿°ä¸æ¶ï¼è¿æ¯æå¿è¦çï¼å ä¸º mplayer 使ç¨è¿äºç¬¦å·ä½ä¸ºè¿æ»¤å¨ä¹é´çåé符ã

注æï¼ ä¸è¬è®¤ä¸ºè¯¥è¿æ»¤å¨åªç¨äºå®éªï¼å ä¸ºå¶ä¸å¶å®è¿æ»¤å¨äº¤æ¢å¯è½ä¸æ- £å¸¸ã

示ä¾ï¼
overlay="movie=$small_video, scale=160:120 [ca]; [in] [ca] overlay=16:8" mplayer −vf lavfi=’$overlay’ $big_video

kerndeint[=éå¼[:æ å°[:次åº[:éå[:åå]]]]]

Donald Graft çèªéåºçå核级解é¤éè¡æ«æè¿æ»¤å¨ãå½è¶è¿éç½®ä¸- çéå¼æ¶ï¼è§£é¤è§é¢ä¸çéè¡æ«æé¨åã

<0−255>

éå¼ï¼é»è®¤å¼ï¼10ï¼

<æ å°>

0ï¼å¿½ç¥è¶åºéå¼çåç´ ï¼é»è®¤å¼ï¼ã
1ï¼å°è¶åºéå¼çåç´ è¾åºä¸ºç½è²ã

<次åº>

0ï¼ä¿ææ«æåºæ¬¡åºï¼é»è®¤å¼ï¼ã
1ï¼äº¤æ¢æ«æåºç次åºã

<éå>

0ï¼ç¦ç¨é¢å¤çéåå¤çï¼é»è®¤å¼ï¼ã

1ï¼å¯ç¨é¢å¤çéåå¤ç

<åå>

0ï¼ç¦ç¨ååéåå¤çï¼é»è®¤å¼ï¼ã

1ï¼å¯ç¨ååéåå¤çã

unsharp[=l|c宽xé«:é[:l|c宽xé«:é]]

åéå修饰 / é«æ¯æ¨¡ç³

l    

å°ææåºç¨äºäº®åº¦é¨åã

c    

å°ææåºç¨äºè²åº¦é¨åã

<宽>x<é«>

ç©éµç宽度åé«åº¦ï¼ä¸¤èé½æ¯å¥æ°å°ºå¯¸ï¼æå°å¼ = 3x3ï¼æå¤§å¼ = 13x11 æ 11x13ï¼éå¸¸å¨ 3x3 è³ 7x7 ä¹é´ï¼

amount

å¾åéå©åº¦/模ç³åº¦çç¸å¯¹å¢éï¼åççå¼åºä¸º −1.5−1.5ï¼ã

<0ï¼æ¨¡ç³
>0ï¼éå©

swapuv 

äº¤æ¢ U å V 两个平é¢çä½ç½®ã

il[=d|i][s][:[d|i][s]]

对æ«æè¡æ§è¡ï¼è§£é¤ï¼äº¤éæä½ã该è¿æ»¤å¨çç®æ æ¯æä¾å¤çéè¡æ«æå¾åçåå个æ«æåºèä¸å¯¹å¶è¿è¡è§£é¤éè¡æ«ææä½çåè½ãå¯å¨ä¸ç ´åéè¡æ«æç»æçæåµä¸è¿æ»¤éè¡æ«æç DVD è§é¢ï¼ç¶å让å¶å¨çµè§ä¸æ- æ¾ãï¼å¨åæå¤çè¿æ»¤å¨çä½ç¨ä¸ï¼è§£é¤éè¡æ«æï¼éè¿æåãå¹³ååä¹ç±»çæ段ï¼æ°¸ä¹æ§å°å»é¤äºéè¡æ«æç»æï¼è解é¤äº¤éæä½å°å¸§å离æ 2 个æ«æåºï¼æè°çåå¹ç»é¢ï¼ï¼å æ- ¤å¯ä»¥åå«å°å¤çï¼è¿æ»¤ï¼è¿äºæ«æåºç¶åéæ°å°å¶äº¤éèµ·æ¥ã

d

解é¤äº¤éæä½ï¼å°ä¸ä¸ªæ«æåºç½®äºå¦ä¸ä¸ªä¸æ¹ï¼

i

交éæä½

s

交æ¢æ«æåºçä½ç½®ï¼äº¤æ¢å¥å¶æ«æ线çä½ç½®ï¼

fil[=i|d]

对æ«æè¡æ§è¡ï¼è§£é¤ï¼äº¤éæä½ãä¸ 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ã
注æï¼
æ¨¡å¼ 1 å 2 ç¨äº MEncoderã

<am> 

åæ模å¼ã

0ï¼åºå®ç¹å¾ï¼åå§å¸§ç代å·ç± <fr> æå®ã
1ï¼ç§¯ææ寻çµè§å¾å模å¼ç¹å¾ï¼é»è®¤å¼ï¼

<fr> 

设å®å¸§åºåä¸åå§å¸§ç代å·ã0−2 æ¯ä¸ä¸ªçº¯éè¡æ«æç帧ï¼3 å 4 æ¯ä¸¤ä¸ªéè¡æ«æç帧ãé»è®¤å¼ −1 表示âåå§å¸§ä¸å¨çµè§å¾å模å¼çåºåä¸- âãè¿éæå®ç代å·æ¯åæ³ä½äºå½±çå¼å§åçé£ä¸å¸§çç±»åã

<t0>, <t1>, <t2>, <t3>

ç¨äºæäºæ¨¡å¼ä¸çéå¼ã

ivtc[=1]

å®éªæ§çâæ ç¶æâé转çµè§å¾å模å¼è¿æ»¤å¨ãivtc 并ä¸å detc è¿æ»¤å¨é£æ ·å°è¯éå®ç¹å¾ï¼èæ¯å¯¹äºæ¯ä¸å¸§ç¬ç«å°å³ç- ãè¿å¯¹äºé£äºå¨åºç¨çµè§å¾å模å¼åç»åè¾å¤ç¼è¾çè§é¢ç¸å¯¹èè¨å·æå¾å¥½çææï¼ä½ç¸åºå°å¶ç¸å¯¹ä¸è½å®¹å¿æåªå£°çè¾å¥ï¼æ¯å¦ä»çµè§ä¸æææ¥çè§é¢ãå¯éåæ°ï¼ivtc=1ï¼å¯¹åºäº detc è¿æ»¤å¨ç dr=1 é项ï¼å¹¶ä¸åºå½ç¨äº MEncoder ä¸èä¸è½ç¨äº MPlayerãä¸ detc ä¸æ ·ï¼å¿é¡»å¨ä½¿ç¨ MEncoder æ¶æå®æ- £ç¡®çè¾åºå¸§çï¼−ofps24000/1001ï¼ãivtc çè¿ä¸æ¥å¼åå·²åæ¢ï¼å ä¸º pullup å filmdint è¿æ»¤å¨æ¾å¾ç¸å¯¹ç²¾ç¡®å¾å¤ã

pullup[=jl:jr:jt:jb:sb:mp]

第ä¸ä»£åä¸æå¤çï¼é转çµè§å¾å模å¼ï¼è¿æ»¤å¨ï¼è½å¤å¤çæ··åå硬件çæççµè§å¾ååçã24000/1001 帧çéè¡æ«æç以å 30000/1001 帧çéè¡æ«æçå容ãpullup è¿æ»¤å¨å¨è®¾è®¡ä¸éè¿å³çä¸åèå°æ¥çç¸å³å容ï¼ä»¥æ¯ detc æ ivtc æ´ç¨³å®ãä¸ ivtc ç¸ä¼¼ï¼pullup æ¯æ ç¶æçï¼è¿æ¯å ä¸ºå¶ä¸æ¯éå®æ追踪çæ«æåºï¼èæ¯é¢åæ¥çç´§æ¥ççæ«æåºï¼ä»¥æ- ¤æ¾åºå¹éçåºå¹¶é建éè¡æ«æç帧ãå¶ä»å¤äºå¼åä¹ä¸- ï¼ä½å¯ç¡®ä¿¡æ¯ç¸å½ç²¾ç¡®çã

jlãjrãjtãå jb

è¿äºé项ç¨äºè®¾ç½®å¾åç左边ãå³è¾¹ãä¸è¾¹åä¸è¾¹åæå¤å°âåå¾ä¿¡æ¯âè¦å¿½ç¥ãå·¦/ å³ä¸¤è¾¹æ¯ä»¥ 8 å素为åä½è®¡éï¼èä¸/ä¸ä¸¤è¾¹æ¯ä»¥ 2 个æ«æè¡ä¸ºåä½è®¡éãé»è®¤æ¯æ¯è¾¹åå 8 个åç´ ã

sbï¼strict breaksï¼ä¸¥æ ¼æåï¼

该é项设置为 1 å°åå° pullup 产çå¶åæ§ä¸å¹é帧çæºçï¼ä½ä¹å¯è½å¯¼è´é«å¨æç帧åºåä¸- 丢å¼è¿å¤ç帧ãä¸ä¹ç¸åï¼å°å¶è®¾ç½®ä¸º −1 å°ä½¿ pullup è½æ´å®¹æå°å¹éæ«æåºãè¿å¯è½æå©äºå¤çé£äºå¨æ«æåºé´å- å¨äºè®¸æ¨¡ç³ç¹å¾çè§é¢ï¼ä½ä¹å¯è½å¯¼è´è¾åºä¸åå¨éè¡æ«æç帧ã

mpï¼metric planeï¼åº¦éå¹³é¢ï¼

该é项å¯è®¾ä¸º 1 æ 2 以使ç¨è²åº¦å¹³é¢èé亮度平é¢æ¥è¿è¡ pullup ç计ç®ãè¿å¯è½æé«å¤çæ¸æ°è§é¢æ¶ç精确度ï¼ä½æ´å¯è½éä½ç²¾ç¡®åº¦ï¼å°¤å¶æ¯å- å¨è²åº¦åªå£°ï¼å½©è¹æåºï¼æè§é¢ä¸ºç°åº¦çåºåãå° mp 设置æè²åº¦å¹³é¢ç主è¦ç®çæ¯éä½ CPU è´è·ï¼å¹¶ä½¿ pullup å¨è¿è¡æ¢æºå¨ä¸å¯ç¨ã

注æï¼ å¨ç¼ç ä¸ä¸å®è¦å¨ pullup åè·ä¸ softskip è¿æ»¤å¨ä»¥ä¿è¯ pullup è½è¯»åææ帧ãç±äºç¼è§£ç å¨/ è¿æ»¤å¨å±å¨è®¾è®¡ä¸çå±éï¼ä¸è¿æ ·åä¼å¯¼è´è¾åºä¸æ- £ç¡®ï¼å¹¶ä¸å¾å¾ç¨åºä¼å´©æºã

filmdint[=è¥å¹²é项]

é转çµè§å¾å模å¼è¿æ»¤å¨ï¼ä¸ä¸æç pullup è¿æ»¤å¨ç¸ä¼¼ãå¶è®¾è®¡ä¸ç¨äºå¤çä»»æä¸æå¤çç¹å¾ï¼åæ¬æ··åå软件å硬件çæççµè§å¾å模å¼ï¼å¹¶æéå°æ¯æé£äºå¨çµè§ä¸æ- æ¾æ¶ä¼æ¢äºæå¿«äºåå§å¸§ççå½±çãåªæ亮度平é¢ç¨ä»¥å¯»æ¾æå帧çä½ç½®ãå¦æä¸ä¸ªæ«æåºæ²¡æå¹éä¸ç¹å¾ï¼å就使ç¨ç®åç线æ§ä¼°è®¡æ¹å¼è§£é¤å¶éè¡æ«æç»æãå¦ææ¥æºæ¯ MPEG-2 æ ¼å¼ï¼é£ä¹è¯¥è¿æ»¤å¨å¿é¡»æ¯ç¬¬ä¸ä¸ªè¿æ»¤å¨ï¼ä»¥ä¾¿è½å¤è·å¾ MPEG-2 解ç å¨è®¾ç½®çæ«æåºæ å¿ãæ ¹æ® MPEG æ¥æºçä¸åï¼åªè¦æªçå°è®¸å¤âä¸åæ«æåºåæ«æâçè- ¦åï¼å¯è½æ éé纳该建议ãä¸è®¾é项æ¶ï¼è¯¥è¿æ»¤å¨åªæ¯åæ®éçé转çµè§å¾å模å¼å¤çï¼å¹¶ä¸åºå½ä¸ 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 çæ¯çç¸å¹éãè¿å¯ç¨äºè¿æ»¤é£äºå¨çµè§ä¸æ- æ¾æ¶å¸§çä¸åäºåå§å¼çå½±çã

luma_only=<n>

å¦æ n 为éé¶å¼ï¼è²åº¦å¹³é¢å°±åå°ä¸å¨å°è¾åºãè¿æå©äºå¤ç YV12 éæ ·ççµè§ä¿¡å·ï¼è¿ç§ä¿¡å·ä¸¢å¼å¶ä¸ä¸ä¸ªè²åº¦æ«æåºã

mmx2=<n>

å¨ x86 ç³»ç»ä¸ï¼å¦æ n=1ï¼åä½¿ç¨ MMX2 ä¼åçå½æ°ï¼å¦æ n=2ï¼åä½¿ç¨ 3DNow! ä¼åçå½æ°ï¼å¦å使ç¨æ®éç C 代ç ãå¦æä¸æå®è¯¥é项ï¼å°èªå¨ä¾¦æµ MMX2 å 3DNow!ï¼å¯ä½¿ç¨è¯¥é项æ¹åèªå¨ä¾¦æµå°çç»æã

fast=<n>

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 æ¯éé¶å¼ï¼åæå°åºç¨äºæ¯ä¸ªå¸§çå·ä½æµéæ åãæå©äºç¨åºè°è¯ã

dint_thres=<n>

解é¤éè¡æ«æçéå¼ãç¨äºè§£é¤æªå¹éä»»ä½ç¹å¾ç帧çéè¡æ«æç»æçè¿ç¨ãéå¼å¤§æå³çè¾å°ç帧ç»è¿è§£é¤éè¡æ«æå¤çï¼è¦å®å¨å³é- åéè¡æ«æå¤çåä½¿ç¨ n=256ã é»è®¤å¼ä¸º n=8ã

comb_thres=<n>

æ¯è¾ä¸åæ«æåºåä¸åæ«æåºçéå¼ãé»è®¤å¼ä¸º 128ã

diff_thres=<n>

ç¨äºä¾¦æµæ«æåºæ¶é´æ§ååçéå¼ãé»è®¤å¼ä¸º 128ã

sad_thres=<n>

ç»å¯¹å¼å·®æ»æ°çéå¼ï¼é»è®¤å¼ä¸º 64ã

softpulldown

该è¿æ»¤å¨åªè½ç¨äº MEncoderï¼å¹¶ä¸ä¾èµäºç¨äºè½¯ä»¶çº§ 3:2ä¸æå¤çï¼è½¯ä»¶çº§çµè§å¾ååï¼ç MPEG-2 æ å¿ä½ãå¦ææ³å¯¹å软件级çµè§å¾ååçå½±çä½¿ç¨ ivtc æ detc è¿æ»¤å¨ï¼é£ä¹å°è¯¥è¿æ»¤å¨æå¥å°è¿äºè¿æ»¤å¨ä¹åè½ä½¿å¶æ´ç¨³å®ã

divtc[=options]

é转éè¡æ«æè§é¢ççµè§å¾å模å¼ãå¦æ 3:2 ä¸æå¤çççµè§å¾å模å¼çè§é¢ä¸¢å¤±äºå¶ä¸- çä¸ä¸ªæ«æåºï¼æå¨è§£é¤éè¡æ«ææ¶ä½¿ç¨äºä¿çä¸ä¸ªæ«æåºèæå¼è®¡ç®å¦ä¸ä¸ªçæ¹æ³ï¼é£ä¹è¾åºçæ¯ä¸ä¸ªæå¨çè§é¢ï¼å¶ä¸- æ¯å个帧åæä¸ä¸ªæ¯éå¤ç帧ã该è¿æ»¤å¨ç®çæ¯æ¾å°å¹¶ä¸¢å¼è¿äºéå¤ç帧ï¼å¹¶è¿ååæ¥çå½±ç帧çãå¨ä½¿ç¨è¿ä¸ªè¿æ»¤å¨æ¶ï¼å¿é¡»è®¾å° −ofps æå®ä¸ºè¾å¥è§é¢æ件帧çç 4/5 å¹¶å° softskip æ¾å¨è¿æ»¤å¨é¾ä¸ä½äºå¶åçå°æ¹ï¼ 以ä¿è¯ divtc è½è¯»åææç帧ãæ两ç§ä¸åç模å¼å¯éï¼ä¸é¶æ®µæ¨¡å¼æ¯é»è®¤ç模å¼ï¼å¹¶ä¸ç´æ¥å°±è½ä½¿ç¨ï¼ä½ç¼ºç¹æ¯ä»»ä½çµè§å¾å模å¼ä¸ç¸ä½çååï¼ä¸¢å¸§æç¼è¾é误ï¼å°å¯¼è´ææ¶çç»é¢æå¨ç´è³è¿æ»¤å¨éæ°æ¢å¤åæ- ¥ãäºé¶æ®µæ¨¡å¼éè¿äºååææ´ä¸ªè§é¢æ¥é¿åè¿ç§é®é¢ï¼æ以è½äºåç¥éç¸ä½çåå并è½å¨åç¡®çä½ç½®æ¢å¤åæ- ¥ãè¿äºé¶æ®µ ä¸ å¯¹åºäºç¬¬ä¸é¶æ®µå第äºé¶æ®µçç¼ç å¤çè¿ç¨ãå¿é¡»å¨æ- £å¼ç¼ç è¿ç¨éæ¾åºçæçè§é¢åï¼ä½¿ç¨ divtc ç第ä¸é¶æ®µéç½®è¿è¡é¢å¤çä¸ä¸ªé¶æ®µãå¯ä½¿ç¨ −nosound −ovc raw −o /dev/null é¿åå¨è¿ä¸é¶æ®µæµªè´¹ CPU çè¿ç®è½åãå¯å¨ divtc åå ä¸è¯¸å¦ crop=2:2:0:0 ä¹ç±»çé置以è¿è¡å¾æ´å¿«ãç¶åä½¿ç¨ divtc 第äºé¶æ®µé置以è¿è¡çæ- £çç¼ç ãå¦æ使ç¨å¤é¶æ®µç¼ç å¨ç¼ç ï¼é£ä¹å¨ææé¶æ®µåè¦ä½¿ç¨ divtc 第äºé¶æ®µçéç½®ãç¸å³é项æï¼

pass=1|2

使ç¨äºé¶æ®µæ¨¡å¼ã

file=<æ件å>

设置第äºé¶æ®µä½¿ç¨çæ¥å¿çæ件åï¼é»è®¤å¼ï¼âframediff.logâï¼ã

threshold=<åæ°å¼>

设置è¿æ»¤å¨è®¤ä¸ºæ个ç¹å¾æ¯çµè§å¾å模å¼ç¹å¾æ¶ï¼è¯¥ç¹å¾æå¿é¡»è¾¾å°çæå°å¼ºåº¦ï¼é»è®¤å¼ï¼0.5ï¼ãè¿ç¨äºé¿åä»è§é¢ä¸- å¾ææå¾éæ¢çé¨åéé误å°è¯å«åºä¸äºç¹å¾ã

window=<帧æ°>

设置æ寻ç¹å¾æ¶éè¦å¯çå¤å°ä¸ªæè¿è¯»å°ç帧ï¼é»è®¤å¼ï¼30ï¼ãè¾é¿çå¯çèå´è½å¢å ç¹å¾æ寻çå¯é æ§ï¼ä½è¾ç- çå¯çèå´è½æ¹å对äºçµè§å¾å模å¼ä¸- ç¸ä½ååçååºæ¶é´ã该é项åªå¯¹ä¸é¶æ®µæ¨¡å¼æä½ç¨ãå½åï¼äºé¶æ®µæ¨¡å¼ä½¿ç¨åºå®çå¯çèå´ï¼è¯¥èå´åå«äºè¿å»åå°æ¥è¾å¥ç帧ã

phase=0|1|2|3|4

设置ä¸é¶æ®µæ¨¡å¼ä¸- çµè§å¾å模å¼çåå§ç¸ä½ï¼é»è®¤å¼ï¼0ï¼ãäºé¶æ®µæ¨¡å¼è½è¯»åå°æ¥è¾å¥ç帧ï¼æ以è½å¤å¨ä¸å¼å§å°±ä½¿ç¨æ- £ç¡®çç¸ä½å¼ï¼ä½ä¸é¶æ®µæ¨¡å¼åªè½é çæµãå½æ¾å°æ- £å¸¸çç¸ä½æ¶å°±è½è·ä¸è¿ä¸ªç¸ä½ï¼ä½è¯¥é项è½ç¨äºè§£å³å¼å§æ¶å¯è½åºç°çæå¨ãäºé¶æ®µæ¨¡å¼ç第ä¸é¶æ®µä¹ä½¿ç¨è¯¥é项ï¼æ以å¦æä¿å- äºç¬¬ä¸é¶æ®µçè¾åºå容ï¼å°±è½å¾å°æç»çç¸ä½å¼è·è¸ªç»æã

deghost=<åæ°å¼>

设置å»é¬¼å½±å¤ççéå¼ï¼0−255 ç¨äºä¸é¶æ®µæ¨¡å¼ï¼−255−255 ç¨äºäºé¶æ®µæ¨¡å¼ï¼é»è®¤ä¸º 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[=å¯å§]

åºç¨ 3:2âçµè§å¾ååâå¤ç以使帧çå¢å  20%ã该é项æå¯è½æ æ³ç¨äº MPlayerï¼ä½å¶å¯ä»¥ä»¥âmencoder −fps 30000/1001 −ofps 30000/1001 −vf telecineâå½¢å¼ä½¿ç¨ã两个 fps é项é½å¿é¡»è®¾ç½®ï¼ï¼å¦æ设置ä¸æ£ç¡®ï¼é³è§é¢å°æ æ³åæ- ¥ãï¼å¯éçâå¯å§âåæ°åè¯è¿æ»¤å¨ä»çµè§å¾å模å¼ç¹å¾ä¸- çåªä¸ªä½ç½®å¼å§æ§è¡ï¼0−3ï¼ã

tinterlace[=模å¼]

æ¶é´æ§æ«æåºéè¡æ«æå¤çââå°å对帧åå«å并为ä¸ä¸ªéè¡æ«æç帧ï¼ä»è使帧çååãå¶æ°å¸§ç§»è³ä¸åæ«æåºï¼å¥æ°å¸§ç§»è³ä¸åæ«æåºã该è¿æ»¤å¨å¯ç¨äºååå转ï¼æ¨¡å¼ 0 ä¸çï¼tfields è¿æ»¤å¨çææãå¯ç¨æ¨¡å¼æï¼

0

å°å¥æ°å¸§ç§»è³ä¸ååºï¼å¶æ°å¸§ç§»è³ä¸ååºï¼ä»èå¨åé帧çä¸äº§çä¸ä¸ªå®æ´é«åº¦ç帧ã

1

åªè¾åºå¥æ°å¸§ï¼ä¸¢å¼å¶æ°å¸§ï¼å¸§çé«åº¦ä¸åã

2

åªè¾åºå¶æ°å¸§ï¼ä¸¢å¼å¥æ°å¸§ï¼å¸§çé«åº¦ä¸åã

3

å°æ¯ä¸ªå¸§æ©å±è³å®æ´é«åº¦ï¼ä½æ¯ä¸¤ä¸ªæ«æè¡é´æå¥é»è²çæ«æè¡ï¼å¸§éä¸åã

4

å°å¶æ°å¸§çå¶æ°æ«æè¡ä¸å¥æ°å¸§çå¥æ°æ«æè¡äº¤åå¨ä¸èµ·ã帧é«åº¦ä¸åï¼å¸§éååã

tfields[=模å¼[:æ«æåºé¡ºåº]]

æ¶é´æ§æ«æåºå离ââå°æ«æåºå离æ帧ï¼ä»èè¾åºå¸§çå åãå°±å telecine è¿æ»¤å¨ä¸æ ·ï¼é¤éç¨äº MEncoderï¼å¹¶ä¸ −fps å −ofps 设置ææéçï¼å åçï¼å¸§çï¼å¦å tfields å¯è½æ æ³å®æ´æ£ç¡®å°èµ·ä½ç¨ï¼

<模å¼>

0ï¼ä¿ææ«æåºä¸åï¼ä¼äº§ç跳帧/éªçï¼ã
1ï¼æå¼æ¢å¤ç¼ºå°çæ«æè¡ãï¼æç¨çç®æ³å¯è½ä¸å¤ªå¥½ãï¼
2ï¼ä½¿ç¨çº¿æ§æå¼æ³ä»¥ 1/4 å素精度转æ¢æ«æåºï¼ä¸äº§ç跳帧ï¼ã
4ï¼ä½¿ç¨ 4tap è¿æ»¤å¨ä»¥ 1/4 å素精度转æ¢æ«æåºï¼è¾é«è´¨éï¼ï¼é»è®¤æ¹å¼ï¼ã

<æ«æåºé¡ºåº>ï¼ä¸æ¨è使ç¨ï¼

−1ï¼èªå¨ï¼é»è®¤å¼ï¼åªæå½è§£ç å¨è¾åºéå½çä¿¡æ¯ï¼å¹¶ä¸è¿æ»¤å¨åºåä¸- tfields ä¹å没æå¶å®çè¿æ»¤å¨ä¸¢å¼è¿äºä¿¡æ¯æ¶æè½èµ·ä½ç¨ï¼å¦å该å¼å°éå为 0ï¼ä¸åæ«æåºåè¾å¥ï¼ã
0ï¼ä¸åæ«æåºåè¾å¥
1ï¼ä¸åæ«æåºåè¾å¥
注æï¼
该é项ç¸å½å¯è½å¨ä»¥åççæ¬éå»é¤ãå¯ä½¿ç¨ −field−dominance 代æ¿ã

yadif=[模å¼[:æ«æåºé¡ºåº]]

åä¸ä¸ªè§£é¤éè¡æ«æçè¿æ»¤å¨

<模å¼>

0ï¼æ¯åå¨ä¸å¸§è¾åºä¸å¸§ã
1ï¼æ¯åå¨ä¸ä¸ªæ«æåºè¾åºä¸å¸§ã
2ï¼ä¸ 0 ç¸ä¼¼ä½è·³è¿ç©ºé´æ§éè¡æ«ææ£æ¥ã
3ï¼ä¸ 1 ç¸ä¼¼ä½è·³è¿ç©ºé´æ§éè¡æ«ææ£æ¥ã

<æ«æåºé¡ºåº>ï¼ä¸æ¨è使ç¨ï¼

ä¸ tfields è¿è¡æ¹å¼ç¸ä¼¼ã
注æï¼
该é项ç¸å½å¯è½å¨ä»¥åççæ¬ä¸å»é¤ãå¯ä½¿ç¨ −field−dominance 代æ¿ã

mcdeint=[模å¼[:å¥å¶æ§[:éååæ°]]]

åå«è¿å¨è¡¥å¿ç解é¤éè¡æ«æè¿æ»¤å¨ãå¶è¦æ±æ¯å¸§æä¸ä¸ªæ«æåºä½ä¸ºè¾å¥ï¼å¹¶ä¸å¿é¡»ä¸ tfields=1 æ yadif=1/3 æä¸ä¹çä»·çè¿æ»¤å¨ä¸èµ·ä½¿ç¨ã

<模å¼>

0ï¼å¿«é
1ï¼ä¸ç
2ï¼æ¢éï¼è¿ä»£å¼çè¿å¨ä¼°è®¡
3ï¼æ´æ¢ï¼ä¸æ¨¡å¼ 2 å¤å åç§å¤ä¸ªå¸§çæ¹å¼ç¸ä¼¼

<å¥å¶æ§>

0 æ 1 ç¨äºéæ©ä½¿ç¨åªä¸ªæ«æåºï¼æ³¨æï¼ç®åè¿ä¸è½èªå¨ä¾¦æµï¼ï¼ã

<éååæ°> 

è¾é«çå¼è½äº§çè¾å¹³æ»çè¿å¨ç¢éåºï¼ä½å个ç¢éå¾å°ä¼åçè¾å°ã

boxblur=åå¾:å度[:åå¾:å度]

çç¶æ¨¡ç³å¤ç

<åå¾>

模ç³è¿æ»¤ç强度

<å度>

åºç¨è¿æ»¤çæ°é

sab=åå¾:é¢è¿æ»¤:è²å·®[:åå¾:é¢è¿æ»¤:è²å·®]

èªéåå½¢ç¶ç模ç³å¤ç

<åå¾>

模ç³è¿æ»¤ç强度ï¼~0.1−4.0ï¼ï¼å¼è¶å¤§è¶æ¢ï¼

<pf> 

é¢è¿æ»¤å¼ºåº¦ï¼~0.1−2.0ï¼

<è²å·®>

åç´ é´å¯è®¤åçæ大差å¼ï¼~0.1−100.0ï¼

smartblur=åå¾:强度:éå¼[:åå¾:强度:éå¼]

æºè½æ¨¡ç³å¤ç

<åå¾>

模ç³è¿æ»¤ç强度ï¼~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ï¼ééæ ·

2xsai  

使ç¨ä¸¤å缩æ¾åæå¼ç®æ³ç¼©æ¾å¹¶å¹³æ»å¾åã

1bpp   

æ¯åç´  1 æ¯ç¹çä½å¾è³ YUV/BGR 8/15/16/32 ç转æ¢

down3dright[=æ«æè¡]

é设ç«ä½å¾åçä½ç½®å大å°ãå°ä¸¤ä¸ªç«ä½æ«æåºé½æ½ååºæ¥å¹¶å°å¶å·¦å³ç´§é çææ¾ï¼ä»¥å°å¶ç¼©æ¾è³ä¿æåæå½±ç宽é«æ¯ç大å°ã

<æ«æè¡>

è¦ä»å¾åçä¸é´éåçæ«æè¡çæ°éï¼é»è®¤å¼ï¼12ï¼

bmovl=hidden:opaque:fifo

该ä½å¾è¦çè¿æ»¤å¨ä» FIFO 管éä¸- 读åä½å¾å¹¶å°å¶æ¾ç¤ºå¨å½±ççä¸æ¹ï¼ä»¥æ¯ææäºå¾åä¸çåæ¢ãå¦è§ TOOLS/bmovl-test.c 以è·åä¸ä¸ªå°åç bmovl æµè¯ç¨åºã

<hidden>

设置âhiddenâæ å¿ä½çé»è®¤å¼ï¼0=å¯è§ï¼1=ä¸å¯è§ï¼ã

<opaque>

设置âopaqueâæ å¿ä½çé»è®¤å¼ï¼0=éæï¼1=ä¸éæï¼ã

<fifo>

FIFO 管éï¼è¿æ¥âmplayer −vf bmovlâå主æ§ç¨åºçå½å管éï¼çè·¯å¾/æ件å

FIFO 管éä¸ä½¿ç¨çå½ä»¤æï¼

RGBA32 宽 é« xä½ç½® yä½ç½® alpha æ¸ç©º

å¶ååºç°çæ¯ å®½*é«*4 åè大å°çåå§ RGBA32 æ°æ®ã

ABGR32 宽 é« xä½ç½® yä½ç½® alpha æ¸ç©º

å¶ååºç°çæ¯ å®½*é«*4 åè大å°çåå§ ABGR32 æ°æ®ã

RGB24 宽 é« xä½ç½® yä½ç½® alpha æ¸ç©º

å¶ååºç°çæ¯ å®½*é«*3 åè大å°çåå§ RGB24 æ°æ®ã

BGR24 宽 é« xä½ç½® yä½ç½® alpha æ¸ç©º

å¶ååºç°çæ¯ å®½*é«*3 åè大å°çåå§ BGR24 æ°æ®ã

ALPHA 宽 é« xä½ç½® yä½ç½® alpha

æ´æ¹æå®åºåçé¿å°æ³éæ度ã

CLEAR 宽 é« xä½ç½® yä½ç½®

æ¸ç©ºæ个åºåã

OPAQUE

ç¦ç¨ä¸åé¿å°æ³éæãè¦å次å¯ç¨ååéâALPHA 0 0 0 0 0â

HIDE 

éèä½å¾ã

SHOW 

æ¾ç¤ºä½å¾ã

åæ°æï¼

<宽>, <é«>

å¾å/åºåç大å°

<xä½ç½®>, <yä½ç½®>

ä» x/y ä½ç½®å¼å§ä½å¾æ··å

<alpha>

设置é¿å°æ³å·®å¼å¼ãå¦æå°è¯¥å¼è®¾ä¸º −255ï¼å°±å¯ä»¥åéä¸ç³»åçé¿å°æ³å½ä»¤å°è¯¥åºå设置为 −225ã−200ã −175 çç以å¾å°ä¸ä¸ªä¸éçæ¸æ¸åºç°çææï¼;)

0ï¼ ä¿æåæ¥çå¼
255ï¼ ä½¿ææçä½å¾ä¸éæã
−255ï¼ä½¿ææçä½å¾éæã

<æ¸ç©º>

å¨ä½å¾æ··ååæ¸ç©ºå¸§ç¼å²ã

0ï¼å¨åæ¥çå¾åä¸è¿è¡ä½å¾æ··åï¼äºæ¯ä¸å¿æ¯å½å±å¹ä¸- çä¸å°é¨åæ´æ°æ¶å°±å¾åé 1.8MB ç RGB32 æ°æ®ã
1ï¼æ¸ç©ºå¾å

framestep=I|[i]æ¥é¿

ä»å¯¹æ¯é第 n 个帧ææ¯ä¸ªåé¨åç§å¸§ï¼å³é®å¸§ï¼è¿è¡æ¸²æã

å¦æä½¿ç¨ Iï¼å¤§åï¼ä½ä¸ºåæ°è°ç¨è¿ä¸ªè¿æ»¤å¨ï¼é£ä¹ åªæ å³é®å¸§æ渲æãå¯¹äº DVD æ¥è¯´å¶é常æå³çæ¯ 15/12 个帧ä¸- ææä¸å¸§ï¼IBBPBBPBBPBBPBBï¼ï¼å¯¹äº AVI æ¥è¯´æå³çæ¯å½åºæ¯åæ¢æ¶ææ¯é keyintï¼åè§ −lavcopts keyint=åæ°å¼ï¼ææå®æ°éç帧è¿åææä¸å¸§ã

å½æ¾å°å³é®å¸§æ¶ï¼å°æå°ä¸ä¸ªâI!âå- 符串并紧æ¥çä¸ä¸ªæ¢è¡ç¬¦ï¼ä»¥å®å½å MPlayer/MEncoder å¨å±å¹ä¸ä¸è¡çè¾åºï¼å ä¸ºè¿æ®µä¿¡æ¯ä¸- åå«äºå³é®å¸§çæ¶é´å¼ï¼ä»¥ç§è®¡ï¼ä»¥å帧ç¼å·ï¼å¯å©ç¨è¿ä¸ä¿¡æ¯åå AVIãï¼ã

å¦æ使ç¨ä¸ä¸ªæ°å¼åæ°âæ¥é¿âè°ç¨è¿ä¸ªè¿æ»¤å¨ï¼é£ä¹åªææ¯éâæ- ¥é¿â个帧è¿åææä¸ä¸ªå¸§å¾å°æ¸²æã

å¦æå¨æ°å¼åå ä¸ä¸ä¸ªâiâï¼å°åï¼ï¼é£ä¹å°è¾åºâI!âï¼å°±åIåæ°ä¸æ ·ï¼

å¦æåªç»åº iï¼é£ä¹ä¸å¯¹å¸§åä»»ä½å¤çï¼åªæå° I!ã

tile=xæ¼å¸æ°:yæ¼å¸æ°:è¾åº:å¯å§ä½:å¢é

å°ä¸ç³»åå¾åæ¼æå个大å¾åãå¦æçç¥äºæ个åæ°æ使ç¨ä¸ä¸ªå°äº 0 çå¼ï¼åå°ä½¿ç¨é»è®¤å¼ãä¹å¯å¨è®¤ä¸ºæ»¡æçæåµä¸æ¾å¼æå®æ´å¤çåæ°ï¼... −vf tile=10:5 ...ï¼ãå° scale è¿æ»¤å¨æ¾å¨ tile ä¹åå¾å¯è½æ¯è¾å¥½ :-)

è¿äºåæ°æï¼

<xæ¼å¸æ°>

x è½´æ¹åæ¼è´´çå¾åæ°ï¼é»è®¤å¼ï¼5ï¼

<yæ¼å¸æ°>

y è½´æ¹åæ¼è´´çå¾åæ°ï¼é»è®¤å¼ï¼5ï¼

<è¾åº>

å½âoutputâ个帧å°è¾¾æ¶ï¼æ¸²ææ¼è´´çå¾åï¼è¿éâoutputâåºå½æ¯ä¸ä¸ªå°äº xtile * ytileçæ°ãæ¼è´´å¾åä¸- 缺失çé¨åä¿ç为空ç½ãæ¯å¦ï¼å¯ä»¥æ¯ 50 帧åå¥ä¸ä¸ª 8 * 7 çæ¼å¸å¾åï¼è¿æ ·å°±å¨ 25fps ä¸æ¯ 2 ç§äº§çä¸å¹å¾åã

<å¯å§ä½>

以å素为åä½çå¤è¾¹æ¡çå度ï¼é»è®¤å¼ï¼2ï¼

<å¢é>

以å素为åä½çåè¾¹æ¡çå度ï¼é»è®¤å¼ï¼4ï¼

delogo[=x:y:w:h:t]

éè¿æ ¹æ®å¨å´åç´ è¿è¡ç®åçæå¼ä»¥å»é¤çµè§å°çå°æ ãåªé设置ä¸ä¸ªè½çä½å°æ çé¿æ¹å½¢åºåï¼ç¶åç- ççå¶æ¶å¤±å°±è¡äºï¼ææ¶ä¼åºç°æ´é¾ççç»é¢ââè½å¾å°æææ¯è¯´ä¸åçï¼ã

<x>,<y>

å°æ çå·¦ä¸è§

<w>,<h>

ææ¸ççé¿æ¹å½¢åºåç宽度åé«åº¦

<t>

é¿æ¹å½¢åºåç模ç³è¾¹ç¼ç宽度ï¼å¢å  w å h ç大å°ï¼ã å½è®¾ä¸º −1 æ¶ï¼å±å¹ä¸å°ç»åºä¸ä¸ªç»¿è²çé¿æ¹å½¢ä»¥æ¹ä¾¿å¯»æ¾åéç xãyãwãh åæ°å¼ã

file=<æ件å>

å¯æå®ä¸ä¸ªææ¬æ件ï¼ä»ä¸- å è½½åæ ãæ¯ä¸è¡å容å¿é¡»æä¸ä¸ªæ¶é´æ ç- ¾ï¼ä»¥ç§ä¸ºåä½ï¼å¹¶ä¸ååºæåºï¼ä»¥åâx:y:w:h:tâåæ å¼ï¼t å¯çç¥ï¼ã

remove−logo=/path/to/logo_bitmap_file_name.pgm

å»é¤çµè§å°å°æ ï¼ä½¿ç¨ PGM æ PPM å¾åæ件å¤æ- åªäºåç´ ç»æäºå°æ ãå¾åæ件ç宽度åé«åº¦å¿é¡»ä¸æå¤ççè§é¢æµç宽é«ç¸å¹éã该è¿æ»¤å¨ä½¿ç¨è¯¥è¿æ»¤å¾å以å循ç¯ç模ç³ç®æ³å»é¤å°æ ã

/path/to/logo_bitmap_file_name.pgm

è¿æ»¤å¾åç [è·¯å¾] + æ件åã

zrmjpeg[=è¥å¹²é项]

ä¸ zr2 è§é¢è¾åºè®¾å¤ä¸å使ç¨ç软件级 YV12 è³ MJPEG ç¼ç å¨ã

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 å¾åæ¾å¤§è³å¶åæ大 å°æ¶æè¿è¡ç®åéæ ·ãé项 fd å½ä»¤è¿æ»¤å¨æ»æ¯è¿è¡æ请æ±çç®åéæ ·æä½ï¼ææå¾ç³ï¼ã

screenshot=åç¼å符串

å许使ç¨å¯ä»¥ä¸æé®ç»å®ç被å¨æ¨¡å¼ä¸çå½ä»¤è·åå½±ççæªå±ãåè§è¢«å¨æ¨¡å¼ç说ææ档以å交äºå¼æ§å¶ä¸è以è·å详ç»ä¿¡æ¯ãé»è®¤æåµä¸å½å为âshotNNNN.pngâçæ件å°ä¿å- å¨å·¥ä½ç®å½ä¸ï¼æç¨çç¼å·ä¸ºç¬¬ä¸ä¸ªå¯ä»¥ç¨çç¼å·ââä¸ä¼è¦çä»»ä½æ件ãæå®åç¼å- 符串å¯æ¹åæ件çåååä½ç½®ï¼ä¾å¦ï¼ −vf screenshot=shots/now å°ææ件ä¿åå¨ shots ç®å½ä¸å¹¶ä»¥ nowNNNN.png 为æ件åã该è¿æ»¤å¨å¨ä¸ç¨æ¶ä¸å ç¨èµæºï¼å¹¶ä¸æ¯æä»»æè²å½©ç©ºé´ï¼æ以å°å¶æ·»å è¿éç½®æ件ä¸- å¾å®å¨ãéç¡®ä¿ screenshot è¿æ»¤å¨ä½äºææ产çå¸æä¿å- äºå¾åçææçè¿æ»¤å¨ä¹åãä¾å¦ï¼å¦æå¸ææªå±ä¸å¨æ¾ç¤ºå±ä¸çå°çå®å¨ä¸è´ï¼åå¶åºå½æ¯æåä¸ä¸ªè¿æ»¤å¨ã

ass    

å° SSA/ASS åå¹ç渲æ移è³è¿æ»¤å¨é¾ä¸çä»»æä¸ä¸ªä½ç½®ãä»æå©äºåå¨ −ass é项çæ¶åã

示ä¾ï¼

−vf ass,screenshot

å° SSA/ASS ç渲æç§»è³ screenshot è¿æ»¤å¨ä¹åãè¿æ ·ååçæªå±å容å°åå«åå¹ã

blackframe[=æ°é:éå¼]

侦æµåºï¼å ä¹ï¼å®å¨é»è²ç帧ãå¯æå©äºä¾¦æµå½±çç« èçåæ¢æ广åãè¾åºè¡ç±æ侦æµåºå¸§çç¼å·ãé»è²ç¨åº¦çç¾åæ¯ã帧çç±»ååæè¿éå°çå³é®å¸§çç¼å·ç»æã

<æ°é>

ä½äºéå¼çåç´ å¿é¡»æå¤å°çç¾åæ¯çï¼é»è®¤å¼ï¼98ï¼ã

<éå¼>

å³å®åç´ å¼ä½äºå¤å°å°±è®¤ä½æ¯é»è²çéå¼ï¼é»è®¤å¼ï¼32ï¼ã

stereo3d[=è¾å¥æ ¼å¼:è¾åºæ ¼å¼]

stereo3d é项ç¨äºè½¬æ¢ä¸åçç«ä½å¾åæ ¼å¼ã

<è¾å¥æ ¼å¼>

è¾å¥çç«ä½å¾åæ ¼å¼ãå¯è®¾å¼æï¼
sbsl æ side_by_side_left_first

ç±å·¦èå³å¹³è¡æåï¼å·¦ç¼å¾åå¨å·¦ï¼å³ç¼å¾åå¨å³ï¼

sbsr æ side_by_side_right_first

ç±å·¦èå³äº¤æ¢å·¦å³ç¼å¾åå°æåï¼å³ç¼å¾åå¨å·¦ï¼å·¦ç¼å¾åå¨å³ï¼

sbs2l æ side_by_side_half_width_left_first

å¹³è¡æåï¼å辨çæ¹é¢å®½åº¦ååï¼å·¦ç¼å¾åå¨å·¦ï¼å³ç¼å¾åå¨å³ï¼

sbs2r æ side_by_side_half_width_right_first

å¹³è¡æåï¼å辨çæ¹é¢å®½åº¦ååï¼å³ç¼å¾åå¨å·¦ï¼å·¦ç¼å¾åå¨å³ï¼

abl æ above_below_left_first

ç±ä¸èä¸æåï¼å·¦ç¼å¾åå¨ä¸ï¼å³ç¼å¾åå¨ä¸ï¼

abl æ above_below_right_first

ç±ä¸èä¸æåï¼å³ç¼å¾åå¨ä¸ï¼å·¦ç¼å¾åå¨ä¸ï¼

ab2l æ above_below_half_height_left_first

ç±ä¸èä¸æåï¼çºµåå辨çååï¼å·¦ç¼å¾åå¨ä¸ï¼å³ç¼å¾åå¨ä¸ï¼

ab2r æ above_below_half_height_right_first

ç±ä¸èä¸æåï¼çºµåå辨çååï¼å³ç¼å¾åå¨ä¸ï¼å·¦ç¼å¾åå¨ä¸ï¼

<è¾åºæ ¼å¼>

è¾åºçç«ä½å¾åæ ¼å¼ãå¯è®¾å¼é¤äºææè¾å¥æ ¼å¼å¤è¿æï¼
arcg æ anaglyph_red_cyan_gray

红/éç«ä½ç°åº¦å¾åï¼çº¢è²å¾å±éè¿å·¦ç¼å¾åï¼éè²å¾å±éè¿å³ç¼å¾åï¼

arch æ anaglyph_red_cyan_half_color

红/éç«ä½å彩è²å¾åï¼çº¢è²å¾å±éè¿å·¦ç¼å¾åï¼éè²å¾å±éè¿å³ç¼å¾åï¼

arcc æ anaglyph_red_cyan_color

红/éç«ä½å½©è²å¾åï¼çº¢è²å¾å±éè¿å·¦ç¼å¾åï¼éè²å¾å±éè¿å³ç¼å¾åï¼

arcd æ anaglyph_red_cyan_dubois

éè¿ Dubois çæå°äºæ¬¡æ å°ä¼åç红/éç«ä½å½©è²å¾åï¼çº¢è²å¾å±éè¿å·¦ç¼å¾åï¼éè²å¾å±éè¿å³ç¼å¾åï¼

agmg æ anaglyph_green_magenta_gray

绿/å红ç«ä½ç°åº¦å¾åï¼ç»¿è²å¾å±éè¿å·¦ç¼å¾åï¼å红å¾å±éè¿å³ç¼å¾åï¼

agmh æ anaglyph_green_magenta_half_color

绿/å红ç«ä½å彩è²å¾åï¼ç»¿è²å¾å±éè¿å·¦ç¼å¾åï¼å红å¾å±éè¿å³ç¼å¾åï¼

agmc æ anaglyph_green_magenta_color

绿/å红ç«ä½å½©è²å¾åï¼ç»¿è²å¾å±éè¿å·¦ç¼å¾åï¼å红å¾å±éè¿å³ç¼å¾åï¼

aybg æ anaglyph_yellow_blue_gray

é»/èç«ä½ç°åº¦å¾åï¼é»è²å¾å±éè¿å·¦ç¼å¾åï¼èè²å¾å±éè¿å³ç¼å¾åï¼

aybh æ anaglyph_yellow_blue_half_color

é»/èç«ä½å彩è²å¾åï¼é»è²å¾å±éè¿å·¦ç¼å¾åï¼èè²å¾å±éè¿å³ç¼å¾åï¼

aybc æ anaglyph_yellow_blue_color

é»/èç«ä½å½©è²å¾åï¼é»è²å¾å±éè¿å·¦ç¼å¾åï¼èè²å¾å±éè¿å³ç¼å¾åï¼

irl æ interleave_rows_left_first

åç´ è¡äº¤éæåï¼å·¦ç¼å¾åå æ®æé«ä¸è¡ï¼å³ç¼å¾åä»å¶ä¸ä¸è¡å¼å§ï¼

irr æ interleave_rows_right_first

åç´ è¡äº¤éæåï¼å³ç¼å¾åå æ®æé«ä¸è¡ï¼å·¦ç¼å¾åä»å¶ä¸ä¸è¡å¼å§ï¼

ml æ mono_left

åç¼å¾åè¾åºï¼åªè¾åºå·¦ç¼å¾åï¼

mr æ mono_right

åç¼å¾åè¾åºï¼åªè¾åºå³ç¼å¾åï¼

注æï¼ æ è®ºä½¿ç¨åªä¸ç§åç´ è¡äº¤éæåçè¾åºæ ¼å¼å¨è¡äº¤éç 3D æ¾ç¤ºç»ç«¯ä¸æ¾ç¤ºå¨å±ç»é¢ï¼é½éå¨è§é¢æªå·ææ- £ç¡®çé«åº¦æ¶ä½¿ç¨âscaleâè¿æ»¤å¨å°å¶ç¼©æ¾è³åç¡®çé«åº¦ãå¸åçæåµæ¯ï¼é«åº¦ä¸º 1080 è¡ï¼æ以è¦ä½¿ç¨è¯¸å¦â−vf scale=1440:1080,stereo3d=sbsl:irlâ以å¤ç 720p å¹³è¡æåæ¹å¼ç¼ç çå½±çï¼ã

gradfun[=强度[:åå¾]]

æ¶é¤ææ¶åå ä¸ºå°è²æ·±éè³ 8 æ¯ç¹åï¼å¨é¢è²è¿ä¼¼ä¸åçåºåé æç带ç¶æ伤ãéè¿æå¼å¨å¸¦ç¶åºå产çååå¡åº¦ï¼ä»è使å¶é¢è²äº§çæå¨ææã

该è¿æ»¤å¨è®¾è®¡ä¸ä»ç¨äºææ¾ãå¿å¨ææå缩æ- ¥éª¤å使ç¨è¯¥è¿æ»¤å¨ï¼å ä¸ºå缩è¿ç¨å®¹æ丢失æå¨ææï¼ä»èæ¢å¤å¸¦ç¶æ伤ã

<强度>

è¿æ»¤å¨æ¹åå个åç´ çæ大ç¨åº¦ãåæ¶ä¹æ¯ä¾¦æµé¢è²è¿ä¼¼ä¸ååºåçéå¼ï¼é»è®¤å¼ï¼1.2ï¼ã

<åå¾>

åºç¨ååå¡åº¦çå¨è¾¹åºå大å°ãè¾å¤§çåå¾å¼å¸¦æ¥è¾å¹³ç¼çååå¡åº¦ï¼ä½åæ¶ä½¿è¿æ»¤å¨æ æ³ä¿®æ¹é è¿é¢è²åå丰å¯åºåçåç´ ï¼é»è®¤å¼ï¼16ï¼ã

fixpts[=è¥å¹²é项]

ä¿®æ£è§é¢å¸§çåç°æ¶é´æ ç- ¾ï¼PTSï¼ãé»è®¤è¡ä¸ºæ¯ä¸¢å¼ä¼ éè³ä¸ä¸çº§è¿æ»¤å¨ç PTSï¼ä½ä»¥ä¸é项å¯ä»¥æ¹åè¿ä¸è¡ä¸ºï¼

print

æå°å¾å°ç PTSã

fps=<fps>

æå®æ¯ç§å¸§æ°å¼

start=<pts>

为 PTS æå®åå§å¼ã

autostart=<n>

ä½¿ç¨ ç¬¬n个 å¾å°ç PTS ä½ä¸ºåå§ PTSãä¿çææä¹åç PTSï¼å æ- ¤å¦æ设置äºä¸ä¸ªå¾å¤§çå¼æ设为 −1 åå°å®æ´ä¿ç PTSã

autofps=<n>

å¨èªå¨å¼å§åä½¿ç¨ ç¬¬n个 å¾å°ç PTS å¤æ帧çã

示ä¾ï¼

−vf fixpts=fps=24000/1001,ass,fixpts

产çä¸ä¸ªæ°ç PTS åºåï¼å°å¶ç¨äº ASS å- å¹ï¼ç¶åå°å¶ä¸¢å¼ãå¨èç®ç»æåæ¶é´æ ç- ¾å°±éç½®çæåµä¸ï¼çæä¸ä¸ªæ°çåºåæ¯ææçï¼è¯¥æå½¢å¨ DVD ä¸- å¾å¸¸è§ã丢å¼è¯¥åºå对äºé¿åç¼ç å¨å¤æé误æ¯æå¿è¦çã

注æï¼ å°è¯¥è¿æ»¤å¨ä¸ä»»ä½ç§ç±»çå®ä½é项ï¼åæ¬ −ss å EDLï¼ä¸å使ç¨å¯è½ä¼äº§çææ³ä¸å°çç»æã

éç¨ç¼ç é项ï¼ä»ç¨äº MENCODERï¼

−audio−delay <ä»»ä½æµ®ç¹æ°>

éè¿å¨æ件头é¨ä¸- 设置延è¿ä¿¡æ¯åæ¥å»¶è¿é³é¢æè§é¢ãï¼é»è®¤å¼ï¼0.0ï¼ã 该é项ä¸å¨ç¼ç è¿ç¨ä¸å»¶è¿é³é¢æè§é¢æµï¼ä½æ- æ¾å¨ä¼è¯»åºå»¶è¿ä¿¡æ¯å并åç¸åºçè¡¥å¿å¤çãæ- £æ°å¼å»¶è¿é³é¢ï¼èè´æ°å¼å»¶è¿è§é¢ã注æ该é项æ£å¥½ä¸ −delay é项ç¸åãä¾å¦ï¼å¦æä¸æ®µè§é¢å¨ −delay 0.2 ä¸æ£ç¡®ææ¾ï¼é£ä¹å¯å¨ MEncoder ä¸ä½¿ç¨ −audio−delay −0.2 ä¿®å¤è§é¢çä¸åæ¥é®é¢ã

å½åï¼è¯¥é项åªè½ç¨äºé»è®¤çæµå并å¨ï¼−of aviï¼ãå¦æ使ç¨äºå¦å¤çæµå并å¨ï¼é£ä¹å¿é¡»ä½¿ç¨ −delay æ¥ä»£æ¿è¯¥é项ã

−audio−density <1−50>

æ¯ç§éå¤ççé³é¢æ°æ®åæ°éï¼é»è®¤å¼ä¸º2ï¼ç¨äº 0.5s é¿çé³é¢æ°æ®åï¼ã
注æï¼
åªç¨äº CBR æ¹å¼ï¼VBR æ¹å¼å¿½ç¥è¯¥é项ï¼å ä¸ºå¶å°æ¯ä¸ªæ°æ®ååå«æ¾å¥ä¸ä¸ªæ°æ®åä¸ã

−audio−preload <0.0−2.0>

设置é³é¢ç¼å²çæ¶é´é´éï¼é»è®¤å¼ï¼0.5sï¼ã

−fafmttag <æ ¼å¼>

å¯ç¨äºæ¹åè¾åºæ件ä¸çé³é¢æ ¼å¼æ ç¾ã

示ä¾ï¼

−fafmttag 0x55

å°ä½¿è¾åºæ件åå« 0x55ï¼mp3ï¼çä¿¡æ¯ä½ä¸ºé³é¢æ ¼å¼æ ç¾ã

−ffourcc <fourcc>

å¯ç¨äºæ¹åè¾åºæ件ä¸çè§é¢ fourcc å¼ã

示ä¾ï¼

−ffourcc div3

å°ä½¿è¾åºæ件åå«âdiv3âçä¿¡æ¯ä½ä¸ºè§é¢ fourcc å¼ã

−force−avi−aspect <0.2−3.0>

代æ¿åå¨å¨ AVI OpenDML vprp 头é¨ä¸- ç宽é«æ¯å¼ã该é项å¯ç¨äºå¨ä½¿ç¨â−ovc copyâæ¶æ´æ¹å®½é«æ¯å¼ã

−frameno−file <æ件å>ï¼ä¸æ¨è使ç¨ï¼

æå®åå«æ帧åºå·å¯¹åºå³ç³»è¡¨çé³é¢æ件çæ件åï¼è¯¥å¯¹åºå³ç³»è¡¨æ¯å¨ç¹æ®çä¸é¶æ®µç¼ç æ¨¡å¼ç第ä¸é¶æ®µï¼åªå¤çé³é¢ï¼ä¸- çæçã
注æï¼
使ç¨è¯¥æ¨¡å¼å¾å¯è½é æé³è§é¢ä¸åæ- ¥ãå¿ä½¿ç¨ãå¶åªæ¯ä¸ºäºååå¼å®¹èä¿ççï¼å¹¶ä¸ç¸å½å¯è½å¨ä»¥åççæ¬ä¸- å»é¤ã

−hr−edl−seek

å¨è·³è¿å¤çåºåæ¶ä½¿ç¨ä¸ç§æ´ç²¾ç¡®ä½ç¸å¯¹å¾æ¢çæ¹å¼ãä¸æ¯å®ä½è³æ è®°ä¸ºéè·³è¿çå¤çåºåï¼èæ¯è§£ç ææç帧并ä¸åªç¼ç éè¦ç帧ã该é项使ä»éå³é®å¸§çè¾¹çå¼å§ç¼ç æ为å¯è½ã
注æï¼
ä¸ä¿è¯è½ä¸â−ovc copyâä¸åèµ·ä½ç¨ã

−info <é项1:é项2:...>ï¼åªç¨äº AVIï¼

æå®çæç AVI æ件ç头é¨ä¿¡æ¯å容ã

å¯ç¨é项æï¼

help 

æ¾ç¤ºæ¬é¨åæè¿°ã

name=<åæ°å¼>

ä½åçæ é¢

artist=<åæ°å¼>

ä½åçä½è

genre=<åæ°å¼>

åä½çç±»å«

subject=<åæ°å¼>

ä½åçå容

copyright=<åæ°å¼>

çæä¿¡æ¯

srcform=<åæ°å¼>

æ°ååèµæçåå§æ ¼å¼

comment=<åæ°å¼>

å³äºä½åçæ»ä½æ§æ³¨é

−noautoexpand

ä¸èªå¨å¨ MEncoder è¿æ»¤å¨é¾ä¸æå¥ expand è¿æ»¤å¨ãæå©äºå°å- å¹ååµå¥å½±çæ¶ï¼æ§å¶å¨è¿æ»¤å¨é¾ä¸çåªä¸ä¸ªç¹ä¸æ¸²æåå¹ã

−noencodedups

ä¸å°è¯å°éå¤ç帧éå¤å°ç¼ç ï¼æ»æ¯ä»¥è¾åºé¶å- è帧çæ¹å¼è¡¨ææéå¤å¸§ãé¤éå è½½äºè½è¿è¡éå¤å¸§ç¼ç çè¿æ»¤å¨æç¼ç å¨ï¼å¦åæ è®ºå¦ä½å°åå¥é¶å- è帧ãå½åè¿æ ·çè¿æ»¤å¨åªæ hardupã

−noodmlï¼ä»ç¨äº −of aviï¼

å¤çå¤§äº 1GB ç AVI æ件æ¶ä¸åå¥ OpenDML ç´¢å¼ã

−noskip

ä¸è·³è¿ä»»ä½å¸§ã

−o <æ件å>

è¾åºè³æç»çæ件åã
å¦æéè¦æä¸ä¸ªé»è®¤çè¾åºæ件åï¼å¯å°è¯¥é项æ¾å¨ MEncoder çéç½®æ件ä¸ã

−oac <ç¼è§£ç å¨å>

使ç¨æç»çé³é¢ç¼è§£ç å¨ç¼ç ï¼æ²¡æé»è®¤å¼ï¼ã
注æï¼
å¯ä½¿ç¨ −oac help æ¥è·åå¯ç¨é³é¢ç¼è§£ç å¨çå表ã

示ä¾ï¼

−oac copy

ä¸ç¼ç ï¼ç´æ¥å¤å¶é³é¢æµ

−oac pcm

ç¼ç ä¸ºæªå缩ç PCM æ ¼å¼ã

−oac mp3lame

ç¼ç ä¸º MP3 æ ¼å¼ï¼ä½¿ç¨ LAMEï¼ã

−oac lavc

ä½¿ç¨ libavcodec ç¼è§£ç å¨ç¼ç ã

−of <æ ¼å¼>ï¼ç¨äº BETA æµè¯ï¼ï¼

ç¼ç ä¸ºæå®ç容å¨æ ¼å¼ï¼é»è®¤å¼ï¼AVIï¼ã
注æï¼
å¯ä½¿ç¨ −of help 以è·åå¯ç¨ç容å¨æ ¼å¼çå表ã

示ä¾ï¼

−of avi

ç¼ç ä¸º AVI æ ¼å¼ã

−of mpeg

ç¼ç ä¸º MPEG æ ¼å¼ï¼å¦è§ −mpegoptsï¼ã

−of lavf

ä½¿ç¨ libavformat æµå并å¨ç¼ç ï¼å¦è§ −lavfoptsï¼ã

−of rawvideo

æªç»å¤ççè§é¢æµï¼ä¸å并ââåªå«ä¸ä¸ªè§é¢æµï¼

−of rawaudio

æªç»å¤ççé³é¢æµï¼ä¸å并ââåªå«ä¸ä¸ªé³é¢æµï¼

−ofps <fps>

为è¾åºæ件æå®ä¸ä¸ªæ¯ç§å¸§æ°ï¼fpsï¼å¼ï¼ã 该å¼å¯ä»¥ä¸åæ¥è§é¢ä¸- çä¸åãå¿é¡»ä¸ºå¯å fpsï¼ASFãä¸äºMOVï¼ä»¥åéè¡æ«æï¼30000/1001 fps ççµè§å¾å模å¼ç MPEGï¼æ件设置该å¼ã

−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ï¼ã

−force−key−frames <æ¶é´>,<æ¶é´>,...

强å¶å¨æå®çæ¶é´æ ç- ¾å¤ä½¿ç¨å³é®å¸§ï¼åç¡®æ¥è¯´æ¯æ¯ä¸ªæå®çæ¶é´ç¹ä¹åç第ä¸ä¸ªå¸§ã

该é项å¯ç¨äºä¿è¯è¾åºæ件çç« èæ è®°å¤æå¶å®ç¹å®çä½ç½®æå®ä½ç¹ã

æå®çæ¶é´æ ç¾å¿é¡»æååºæåã

å ä¸º MEncoder ä¸å¨è¿æ»¤å¨åºåä¸ä¼ éæ¶é´æ ç¾ï¼æ以å¾å¯è½éè¦ä½¿ç¨ fixpts è¿æ»¤å¨ä»¥ä½¿è¯¥é项çæã

并éææçç¼è§£ç å¨å¯ä»¥å¼ºå¶ä½¿ç¨å³é®å¸§ãå½åå·²å®ç°è¯¥åè½çç¼ç å¨å¦ä¸ï¼lavcï¼x264ï¼xvidã

åç¼è§£ç å¨ä¸ç¨çç¼ç é项ï¼ä»ç¨äº 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    

æå®æ¯ç¹çåæ¶å¼ºå¶å¨åé¢æå®ç ABR é¢è®¾æ¨¡å¼ä¸ä½¿ç¨ CBR 模å¼ã

br=<0−1024>

以 kbps 为åä½çæ¯ç¹çï¼ä»ç¨äº CBR å ABRï¼

q=<0−9>

è´¨éï¼0 − æ好ï¼9 − æå·®ï¼ï¼ä»ç¨äº VBRï¼

aq=<0−9>

ç®æ³è´¨éï¼0 − æ好/ææ¢ï¼9 − æå·®/æå¿«ï¼

ratio=<1−100>

å缩æ¯

vol=<0−10>

é³é¢è¾å¥çå¢ç

mode=<0−3>

ï¼é»è®¤æ¹å¼ï¼èªå¨å¤æï¼

0

ç«ä½å£°

1

å±äº«å¼ç«ä½å£°

2

å声é

3

å声é

padding=<0−2>

0

æ å¡«å

1

ææåµä¸åå¡«å

2

è°æ´

fast   

æå¼åé¢ææå®ç VBR é¢è®¾æ¨¡å¼ä¸- çè¾å¿«ç¼ç æ¹å¼ãè¿å°é æè´¨éç¨å·®èæ¯ç¹çç¨é«ã

highpassfreq=<é¢ç>

设置é«éè¿æ»¤çé¢çå¼ï¼åä½ä¸º Hzãä½äºææå®å¼çé¢çå°è¢«æ»¤é¤ãå¼ −1 å°ç¦ç¨è¿æ»¤ï¼å¼ 0 å°è®© LAME èªå¨éæ©ä¸ä¸ªå¼ã

lowpassfreq=<é¢ç>

设置ä½éè¿æ»¤çé¢çå¼ï¼åä½ä¸ºHzãé«äºææå®å¼çé¢çå°è¢«æ»¤é¤ãå¼ −1 å°ç¦ç¨è¿æ»¤ï¼å¼ 0 å°è®© LAME èªå¨éæ©ä¸ä¸ªå¼ã

preset=<åæ°å¼>

é¢è®¾å¼

help 

æå°å³äºé¢è®¾è®¾ç½®çé¢å¤é项ä¸ä¿¡æ¯ã

medium

VBR ç¼ç ï¼è´¨éä¸éï¼æ¯ç¹çèå´ä¸º 150−180 kbps

standard

VBR ç¼ç ï¼é«è´¨éï¼æ¯ç¹çèå´ä¸º 170−210 kbps

extreme

VBR ç¼ç ï¼è¶é«è´¨éï¼æ¯ç¹çèå´ä¸º 200−240 kbps

insane

CBR ç¼ç ï¼æé«çé¢è®¾è´¨éï¼æ¯è¾ç为 320bps

<8−320>

ABR ç¼ç ï¼å¹³åæ¯ç¹ç为æç»ç kbps å¼

示ä¾ï¼

fast:preset=standard

éç¨å¤§å¤æ°äººä»¥å¤§å¤æ°é³ä¹ç±»åï¼è´¨éå·²ç»ç¸å½é«äº

cbr:preset=192

ä½¿ç¨ 192 kbps ç ABR é¢è®¾æ¨¡å¼ï¼å¼ºå¶ä½¿ç¨åºå®æ¯ç¹çç¼ç ã

preset=172

ä½¿ç¨ ABR é¢è®¾æ¨¡å¼ã172 kbps çå¹³åæ¯ç¹çç¼ç ã

preset=extreme

ç¨äºé£äºææ好å¬ååæ好设å¤ç人

toolame å twolameï¼åå«å¯¹åº −toolameopts å −twolameoptsï¼
br=<32−384>

å¨ CBR 模å¼ä¸è¯¥åæ°æææ¯ç¹çå¼ï¼åä½ä¸ºkbpsï¼èå¨ VBR 模å¼ä¸åæ¯æ¯ä¸ªé³é¢å¸§æå许çæå°æ¯ç¹çãVBR 模å¼æ æ³å¨è¯¥å¼ä½äº 112 æ¶èµ·ä½ç¨ã

vbr=<−50−50>ï¼ä»ç¨äº VBRï¼

æ¯ç¹çå¯åèå´ï¼å¦æ为è´å¼ï¼åç¼ç å¨ä½¿å¹³åæ¯ç¹çåæéå¶æä½å¼é æ¢ï¼å¦æ为æ- £å¼ï¼ååæé«å¼é æ¢ã设为 0 æ¶ä½¿ç¨ CBR 模å¼ï¼é»è®¤å¼ï¼ã

maxvbr=<32−384>ï¼ä»ç¨äº VBRï¼

æ¯ä¸ªé³é¢å¸§æå许çæ大æ¯ç¹çï¼åä½ä¸º kbps

mode=<stereo | jstereo | mono | dual>

ï¼é»è®¤å¼ï¼å声éé³é¢ä½¿ç¨ monoï¼å¦å为 stereoï¼

psy=<−1−4>

å¿ç声å¦æ¨¡åï¼é»è®¤å¼ï¼2ï¼

errprot=<0 | 1>

使ç¨é误ä¿æ¤åè½ã

debug=<0−10>

è°è¯ç级

faacï¼−faacoptsï¼
br=<æ¯ç¹ç>

å¹³åæ¯ç¹çï¼åä½ä¸º kbpsï¼ä¸ quality é项ä¸è½åæ¶ä½¿ç¨ï¼

quality=<1−1000>

è´¨é模å¼ï¼å¼è¶é«ææè¶å¥½ï¼ä¸ br é项ä¸è½åæ¶ä½¿ç¨ï¼

object=<1−4>

ç®æ ç±»åå¤æ度

1

MAINï¼é»è®¤å¼ï¼

2

LOW

3

SSR

4

LTPï¼è¿è¡ææ¢ï¼

mpeg=<2|4>

MPEG çæ¬ï¼é»è®¤å¼ï¼4ï¼

tns    

å¯ç¨æ¶é´æ§åªå£°æ´å½¢ï¼TNSï¼åè½ã

cutoff=<0−éæ ·é¢ç/2>

æªæé¢çï¼é»è®¤å¼ï¼éæ ·é¢ç/2ï¼

raw    

å°æ¯ç¹æµä¿å为æªå¤ççè´è½½ï¼èé¢å¤çæ°æ®ä¿åå¨å®¹å¨æ件ç头é¨ä¸- ï¼é»è®¤å¼ï¼0ï¼ä¸ ADTS ç¸ä¸è´ï¼ãå¦æ没ææç¡®éè¦å°±ä¸è¦è®¾ç½®è¿ä¸ªæ å¿ä½ï¼å¦å以åå°æ æ³éæ°å°é³é¢æµå并è¿å®¹å¨æ件äºã

lavcï¼−lavcoptsï¼
æè®¸å¤ libavcodecï¼ç®ç§° lavcï¼é项åªæ¯ç®è¦ä½äºè¯´æãè¦äºè§£è¯¦æ请é读æºä»£ç ã

示ä¾ï¼

vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250

o=<é®>=<å¼>[,<é®>=<å¼>[,...]]

å°é³è§é¢é项传éè³ libavcodec ç¼ç å¨ã注æï¼æ¬¢è¿æä¾ä¸ä¸ªä½¿ o= é项ä¸åéè¦ï¼è使æææªç¥é项ç»å¼é³è§é¢é项系ç»çè¡¥ä¸ãé³è§é¢é项çå®æ´å表å¯ä»¥å¨ FFmpeg ç¨æ·æåä¸æ¾å°ã注ææäºé³è§é¢é项é项å¯è½ä¸ MEncoder é项å²çªã

示ä¾ï¼

o=bt=100k

acodec=<åæ°å¼>

é³é¢ç¼è§£ç å¨ï¼é»è®¤å¼ï¼mp2ï¼

ac3  

ææ¯æ°åï¼AC-3ï¼

adpcm_*

èªéåº PCM æ ¼å¼ââåè§ HTML æ档以è·å详ç»ä¿¡æ¯ã

flac 

Free Lossless Audio Codecï¼FLACï¼åè´¹æ æé³é¢ç¼è§£ç å¨ï¼

g726 

G.726 ADPCM

libfaac

Advanced Audio Codingï¼AACï¼é«çº§é³é¢ç¼ç ï¼ââ使ç¨FAAC

libmp3lame

MPEG-1 é³é¢å±æ¬¡ 3ï¼MP3ï¼ââ使ç¨LAME

mp2  

MPEG-1 é³é¢å±æ¬¡ 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=<åæ°å¼>

é³é¢æ¯ç¹çï¼åä½ä¸º kbpsï¼é»è®¤å¼ï¼224ï¼

atag=<åæ°å¼>

使ç¨ææå®ç Windows é³é¢æ ¼å¼æ ç¾ï¼ä¾å¦ atag=0x55ï¼ã

bit_exact

åªä½¿ç¨æ¯ç¹çº§ä¿ççç®æ³ï¼é¤äºç¦»æ£ä½å¼¦ï¼éï¼åæ¢ï¼ãæ- ¤å¤ï¼æ¯ç¹çº§ä¿ççæ¹å¼ç¦ç¨äºè®¸å¤çä¼å模å¼ï¼å èåºå½åªç¨äºåå½æµè¯ãè¿ç§æµè¯è¦æ±å³ä½¿ç¼ç å¨ççæ¬åäºï¼æ件çäºè¿å¶å容ä¹è¦ç¸åã该é项åæ¶ç¦ç¨ MPEG-4 æµä¸çç¨æ·æ°æ®å¤´ãé¤éç¡®åç¥éè¦åä»ä¹ï¼å¦åä¸è¦ä½¿ç¨è¯¥é项ã

threads=<1−8>

æ大è½ä½¿ç¨ç线ç¨æ°ï¼é»è®¤å¼ï¼1ï¼ãå¯è½å¯¹è¿å¨é¢æµæä¸å®è´é¢å½±åã

vcodec=<åæ°å¼>

使ç¨ææå®çç¼è§£ç å¨ï¼é»è®¤å¼ï¼mpeg4ï¼ã

asv1 

ASUS Video v1

asv2 

ASUS Video v2

dvvideo

Sony Digital Video

ffv1 

FFmpeg çæ æè§é¢ç¼è§£ç å¨

ffvhuff

éæ å 20% ç²¾ç®åç HuffYUVï¼ä½¿ç¨ YV12 æ ¼å¼

flv  

ç¨äº Flash è§é¢ç Sorenson H.263

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 video

mpeg2video

MPEG-2 video

mpeg4

MPEG-4ï¼DivX 4/5ï¼

msmpeg4

DivX 3

msmpeg4v2

微软 MPEG4v2

roqvideo

ID Software ç RoQ Video

rv10 

ä¸ä¸ªèæ§ç RealVideo ç¼è§£ç å¨

snowï¼å¦è§ï¼vstrictï¼

FFmpeg å®éªæ§çåºäºå°æ³¢åæ¢çç¼è§£ç å¨

svq1 

Apple Sorenson Video 1

wmv1 

Windows Media Video, version 1ï¼ä¹å°±æ¯ WMV7ï¼

wmv2 

Windows Media Video, version 2ï¼ä¹å°±æ¯ WMV8ï¼

vqmin=<1−31>

æä½éååæ°

1

ä¸æ¨èï¼æ件大å¾å¤ï¼è´¨éå·®å«ä¸å¤§ï¼èä¸æå¥æªçå¯ä½ç¨ï¼msmpeg4ãh263 çè´¨éä¼å¾å·®ï¼ç çæ§å¶ä¼æ··ä¹±ä»èè´¨éä¸åï¼èä¸ä¸äºè§£ç å¨å°æ æ³è§£ç ï¼ã

2

æ¨èç¨äºæ®é mpeg4/mpeg1video çç¼ç ï¼é»è®¤å¼ï¼ã

3

æ¨èç¨äº h263(p)/msmpeg4ã建议éç¨ 3 èä¸æ¯ 2 çåå æ¯ 2 å¯è½é æ溢åºãï¼è¿å¨ h263(p) ä¸- ä¼å¨å°æ¥éè¿æ¹åæ¯ä¸ªå®åçéååæ°è解å³ï¼è msmpeg4 ä¸- æ æ³ä¿®å¤ï¼å ä¸ºå¶ä¸æ¯æé£ç§æ¹å¼ãï¼

lmin=<0.01−255.0>

ç¨äºç çæ§å¶çæå°å¸§çº§å«çææ ¼ææ¥ä¹åï¼é»è®¤å¼ï¼2.0ï¼ãLavc å¾å°ä¼ä½¿ç¨ä½äº vqmin å¼çéååæ°ãéä½ lmin ä¼ä½¿ lavc æ´å®¹æå¨å¤çæäºå¸§æ¶éç¨æ´ä½çéååæ°ï¼ä½ä¸ä¼ä½äº vqmin å¼ã类似çï¼æé« lmin å°ä½¿ lavc æ´ä¸å¯è½éç¨ä½çéååæ°ï¼å³ä½¿ vqmin åæ°å许使ç¨è¿äºéååæ°ãå¾å¯è½å¸æå° lmin 设为大è´ä¸ vqmin ç¸ç- ãå½ä½¿ç¨èªéåºéå模å¼æ¶ï¼æ¹å lmin/lmax å¯è½å½±åä¸å¤§ï¼åè§ mblmin/mblmaxã

lmax=<0.01−255.0>

ç¨äºç çæ§å¶çæ大ææ ¼ææ¥ä¹åï¼é»è®¤å¼ï¼31.0ï¼

mblmin=<0.01−255.0>

ç¨äºç çæ§å¶çæå°å®å级å«çææ ¼æ