您的位置:首页 > 其它

mplayer的相关播放参数说明

2013-05-12 17:30 453 查看
关于mplayer的相关播放参数说明

请参考:http://www.mplayerhq.hu/DOCS/HTML/zh_CN/index.html

下面罗列linux使用mplayer命令行播放文件的相关命令形式:

MPlayer utilizes a complex playtree. Options passedon the command line can apply to all files/URLs or just to specific onesdepending on their position. For example

mplayer -vfm ffmpeg movie1.avi movie2.avi

will use FFmpeg decoders for both files, but

mplayer -vfm ffmpeg [code]movie1.avi
movie2.avi
-vfm dmo
[/code]
will play the second file with a DMO decoder.

You can group filenames/URLs together using
{
and
}
. It is useful with option
-loop:

mplayer { 1.avi -loop 2 2.avi } -loop 3

The above command will play files in this order: 1, 1, 2, 1, 1, 2, 1, 1, 2.

Playing a file:

mplayer [[code]options
] [
path
/]
filename

[/code]

Another way to play a file:

mplayer [[code]options
]
file:///uri-escaped-path

[/code]

Playing more files:

mplayer [[code]default options
] [
path
/]
filename1
[
options for filename1
]
filename2
[
options for filename2
] ...
[/code]

Playing VCD:

mplayer [[code]options
] vcd://
trackno
[-cdrom-device
/dev/cdrom
]
[/code]

Playing DVD:

mplayer [[code]options
] dvd://
titleno
[-dvd-device
/dev/dvd
]
[/code]

Playing from the WWW:

mplayer [[code]options
] http://
site.com/file.asf
[/code]
(playlists can be used, too)

Playing from RTSP:

mplayer [[code]options
] rtsp://
server.example.com/streamName

[/code]

Examples:

mplayer -vo x11 [code]/mnt/Films/Contact/contact2.mpg

mplayer vcd://
2
-cdrom-device
/dev/hdc

mplayer -afm 3
/mnt/DVDtrailers/alien4.vob

mplayer dvd://
1
-dvd-device
/dev/hdc

mplayer -abs 65536 -delay -0.4 -nobps
~/movies/test.avi
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: