annotate etc/menu.conf @ 25941:42bb6260653a

Hint about possible libmpeg2 problems with -hardframedrop
author reimar
date Sun, 10 Feb 2008 15:34:52 +0000
parents 7ef04742572c
children 0f1b5b68af32
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25263
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
1 <keybindings name="default">
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
2 <binding key="UP" cmd="menu up" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
3 <binding key="DOWN" cmd="menu down" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
4 <binding key="LEFT" cmd="menu left" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
5 <binding key="RIGHT" cmd="menu right" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
6 <binding key="ENTER" cmd="menu ok" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
7 <binding key="ESC" cmd="menu cancel" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
8 <binding key="HOME" cmd="menu home" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
9 <binding key="END" cmd="menu end" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
10 <binding key="PGUP" cmd="menu pageup" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
11 <binding key="PGDWN" cmd="menu pagedown" />
25337
6a7cf06be2e8 allow osd menu being controlled by joystick
ben
parents: 25263
diff changeset
12 <binding key="JOY_UP" cmd="menu up" />
6a7cf06be2e8 allow osd menu being controlled by joystick
ben
parents: 25263
diff changeset
13 <binding key="JOY_DOWN" cmd="menu down" />
6a7cf06be2e8 allow osd menu being controlled by joystick
ben
parents: 25263
diff changeset
14 <binding key="JOY_LEFT" cmd="menu left" />
6a7cf06be2e8 allow osd menu being controlled by joystick
ben
parents: 25263
diff changeset
15 <binding key="JOY_RIGHT" cmd="menu right" />
6a7cf06be2e8 allow osd menu being controlled by joystick
ben
parents: 25263
diff changeset
16 <binding key="JOY_BTN0" cmd="menu ok" />
6a7cf06be2e8 allow osd menu being controlled by joystick
ben
parents: 25263
diff changeset
17 <binding key="JOY_BTN1" cmd="menu cancel" />
25344
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
18 <binding key="AR_VUP" cmd="menu up" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
19 <binding key="AR_VDOWN" cmd="menu down" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
20 <binding key="AR_PREV" cmd="menu left" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
21 <binding key="AR_NEXT" cmd="menu right" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
22 <binding key="AR_PLAY" cmd="menu ok" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
23 <binding key="AR_MENU" cmd="menu cancel" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
24 <binding key="AR_PREV_HOLD" cmd="menu home" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
25 <binding key="AR_NEXT_HOLD" cmd="menu end" />
25461
7ef04742572c OSD menu support mouse selection.
ulion
parents: 25428
diff changeset
26 <binding key="MOUSE_BTN0" cmd="menu click" />
7ef04742572c OSD menu support mouse selection.
ulion
parents: 25428
diff changeset
27 <binding key="MOUSE_BTN2" cmd="menu cancel" />
25263
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
28 </keybindings>
25344
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
29 <keybindings name="list" parent="default">
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
30 <binding key="AR_PREV" cmd="menu pageup" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
31 <binding key="AR_NEXT" cmd="menu pagedown" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
32 </keybindings>
25263
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
33 <keybindings name="filesel" parent="list">
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
34 <binding key="BS" cmd="menu left" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
35 </keybindings>
25364
fec8936c8079 Support chapter in OSD menu.
ulion
parents: 25344
diff changeset
36 <keybindings name="chapsel" parent="list" />
25344
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
37 <keybindings name="cmdlist" parent="list">
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
38 <binding key="AR_PREV" cmd="menu left" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
39 <binding key="AR_NEXT" cmd="menu right" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
40 </keybindings>
25263
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
41 <keybindings name="txt" parent="list" />
96d0992c7920 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
ulion
parents: 23727
diff changeset
42 <keybindings name="pt" parent="list" />
25344
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
43 <keybindings name="pref" parent="list">
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
44 <binding key="AR_PREV" cmd="menu left" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
45 <binding key="AR_NEXT" cmd="menu right" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
46 <binding key="AR_PREV_HOLD" cmd="menu left" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
47 <binding key="AR_NEXT_HOLD" cmd="menu right" />
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25337
diff changeset
48 </keybindings>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
49
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
50 <txt name="man" file="manpage.txt"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
51
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
52 <filesel name="open_file"/>
8226
4b8fcc2af8f1 quote the filenames
albeu
parents: 8199
diff changeset
53 <filesel name="open_list" file-action="loadlist '%p'" auto-close="yes"
19530
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
54 title="Open a playlist: %p"
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
55 filter="/etc/mplayer/extensions_filter"
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
56 actions="d:run 'mp_loader \'%p\' d',c:run 'mp_loader \'%p\' c'" />
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
57
25364
fec8936c8079 Support chapter in OSD menu.
ulion
parents: 25344
diff changeset
58 <chapsel name="select_chapter" />
fec8936c8079 Support chapter in OSD menu.
ulion
parents: 25344
diff changeset
59
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
60 <pt name="jump_to"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
61
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
62 <console name="console0" height="80" vspace="0">Welcome to MPlayer</console>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
63
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
64 <txt name="man" file="manpage.txt"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
65
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
66 <pref name="general_pref" title="General">
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
67 <e property="osdlevel" name="OSD level"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
68 <e property="speed" name="Speed"/>
23727
2de8f66b3570 Add a loop command and property.
albeu
parents: 23725
diff changeset
69 <e property="loop" name="Loop"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
70 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
71
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
72 <pref name="demuxer_pref" title="Demuxer">
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
73 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
74
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
75
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
76 <pref name="osd_sub_pref" title="Subtitles">
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
77 <e property="sub" name="Subtitles"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
78 <e property="sub_visibility" name="Visibility"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
79 <e property="sub_forced_only" name="Forced sub only"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
80 <e property="sub_alignment" name="Alignment"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
81 <e property="sub_pos" name="Position"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
82 <e property="sub_delay" name="Delay"/>
23725
a0432f65040e Add the sub_scale property and command.
albeu
parents: 23568
diff changeset
83 <e property="sub_scale" name="Scale"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
84 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
85
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
86 <pref name="audio_pref" title="Audio">
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
87 <e property="volume" name="Volume"/>
23568
519e42b716aa The audio balance feature implemented with af_pan.
zuxy
parents: 23398
diff changeset
88 <e property="balance" name="Balance"/>
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
89 <e property="mute" name="Mute"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
90 <e property="audio_delay" name="Delay"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
91 </pref>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
92
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
93 <pref name="colors_pref" title="Colors">
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
94 <e property="gamma" name="Gamma"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
95 <e property="brightness" name="Brightness"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
96 <e property="contrast" name="Contrast"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
97 <e property="saturation" name="Saturation"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
98 <e property="hue" name="Hue"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
99 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
100
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
101 <pref name="video_pref" title="Video">
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
102 <e property="fullscreen" name="Fullscreen"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
103 <e property="panscan" name="Panscan"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
104 <menu menu="colors_pref" name="Colors ..."/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
105 <e property="ontop" name="Always on top"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
106 <e property="rootwin" name="Root window"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
107 <e property="framedropping" name="Frame dropping"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
108 <e property="vsync" name="VSync"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
109 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
110
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
111
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
112 <cmdlist name="pref_main" title="Preferences" ptr="<>" >
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
113 <e name="General ..." ok="set_menu general_pref"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
114 <e name="Audio ..." ok="set_menu audio_pref"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
115 <e name="Video ..." ok="set_menu video_pref"/>
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
116 <e name="Subtitles ..." ok="set_menu osd_sub_pref"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
117 <e name="Back" ok="menu cancel"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
118 </cmdlist>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
119
19530
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
120 <pref name="properties" title="Stream Properties">
23398
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
121 <e txt="${filename}" name="Name"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
122 <e txt="${video_format}" name="Video Codec"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
123 <e txt="${video_bitrate}" name="Video Bitrate"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
124 <e txt="${width} x ${height}" name="Resolution"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
125 <e txt="${audio_codec}" name="Audio Codec"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
126 <e txt="${audio_bitrate}" name="Audio Bitrate"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
127 <e txt="${samplerate}, ${channels}" name="Audio Samples"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
128 <e txt="${metadata/Title}" name="Title"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
129 <e txt="${metadata/Artist}" name="Artist"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
130 <e txt="${metadata/Album}" name="Album"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
131 <e txt="${metadata/Year}" name="Year"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
132 <e txt="${metadata/Comment}" name="Comment"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
133 <e txt="${metadata/Track}" name="Track"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
134 <e txt="${metadata/Genre}" name="Genre"/>
69bf352bcef8 Drop the metadata stuff and replace it with generic property string expansion.
albeu
parents: 19530
diff changeset
135 <e txt="${metadata/Software}" name="Software"/>
19530
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
136 </pref>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
137
12905
55f9092a1e19 We're long past 0.90.
diego
parents: 9097
diff changeset
138 <cmdlist name="main" title="MPlayer OSD menu" ptr="<>" >
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
139 <e name="Pause" ok="pause"/>
25364
fec8936c8079 Support chapter in OSD menu.
ulion
parents: 25344
diff changeset
140 <e name="Chapter ..." ok="set_menu select_chapter"
fec8936c8079 Support chapter in OSD menu.
ulion
parents: 25344
diff changeset
141 left="seek_chapter -1" right="seek_chapter +1"/>
25428
34a4cfe1bf6d Merge 'Jump to ...' with 'Prev/Next' menu item into one item 'Prev/Next ...'.
ulion
parents: 25364
diff changeset
142 <e name="Prev/Next ..." ok="set_menu jump_to"
34a4cfe1bf6d Merge 'Jump to ...' with 'Prev/Next' menu item into one item 'Prev/Next ...'.
ulion
parents: 25364
diff changeset
143 left="pt_step -1" right="pt_step 1"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
144 <e name="Open ..." ok="set_menu open_file"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
145 <e name="Open playlist ..." ok="set_menu open_list"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
146 <e name="Help" ok="set_menu man"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
147 <e name="Pref" ok="set_menu pref_main"/>
19530
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
148 <e name="Properties" ok="set_menu properties"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
149 <e name="Console" ok="set_menu console0"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
150 <e name="Quit" ok="quit"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
151 </cmdlist>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
152
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
153