mplayer的相关播放参数说明

关于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 movie1.avi movie2.avi -vfm dmo

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 [options] [path/]filename

Another way to play a file:

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

Playing more files:

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

Playing VCD:

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

Playing DVD:

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

Playing from the WWW:

mplayer [options] http://site.com/file.asf

(playlists can be used, too)

Playing from RTSP:

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

Examples:

mplayer -vo x11 /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



评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值