Как включить режим OSD с помощью mplayer?

1579
denjello

Я хотел бы отключить все OSD в mplayer из командной строки, но не могу найти другого выхода, кроме нажатия клавиши «o».

Я не хочу использовать сценарий fifo на безголовом компьютере и надеюсь, что какой-нибудь гуру может указать мне на аргумент командной строки, например:

mplayer -osd none file.mp4 
0

2 ответа на вопрос

0
denjello

The only way I could find was to use the following:

mplayer -input file=noOSD.conf file.mp4 

where the contents of noOSD.conf were just simply three lower case letter o's that can easily be created from the command line:

echo "o o o" > noOSD.conf 

Basically this is just like a keyboard trigger and works fine. Absolutely no OSD.

0
Dan D.

The manual page for mplayer states that the option -osdlevel 0 will disable the OSD. Note that this puts mplayer in the same state as pressing o o o but doesn't need a file.

 -osdlevel <0-3> (MPlayer only) Specifies which mode the OSD should start in. 0 subtitles only 1 volume + seek (default) 2 volume + seek + timer + percentage 3 volume + seek + timer + percentage + total time 

Похожие вопросы