[MPlayer-users] menu & russian

Sinom sinom at ktk.ru
Sat Dec 13 13:46:28 CET 2003


Hello,

I find the bug in OSD menu with vision russian encoding. When menu in koi8-r 
or in cp1251 russian symbols don't appear. They appear only with subtitles. 
For example, symbole "P" will appear only when a word with "P" is meeted in 
subtutle. It's hapend, with ttf fonts only. If font *.desc *raw it's OK.

There my config and menu (cp1251).

P.S. Sorry for my english.

--
Vershinin Roman


-------------- next part --------------
# Write your default config options here!
menu=yes
font=/home/sinom/.mplayer/font.ttf
subfont-text-scale=3
-------------- next part --------------
<filesel name="open_file" title="Âûáðàòü ôàéë: %p" auto-close="yes"
         actions="d:run 'echo cd \'%p\' > /var/cp_fifo',c:run 'echo cp \'%p\' > /var/cp_fifo',r:run 'echo rm \'%p\' > /var/cp_fifo',o:run 'echo rmok \'%p\' > /var/cp_fifo',p:run 'playdir \'%p\''"/>
<filesel name="open_list" title="Âûáðàòü ñïèñîê: %p"
	 file-action="loadlist '%p'" auto-close="yes"/>
<audiosel name="audio_sel" title="Âûáðàòü çâóêîâîé êàíàë"/>
<subsel name="sub_sel" title="Âûáðàòü ñóáòèòðû"/>
<pt name="jump_to" title="Ïåðåéòè ê" auto-close="yes"/>
<txt name="help" file="/usr/share/mplayer/help.txt"/>
<console name="console" height="80" vspace="0">Welcome to MPlayer</console>

<cmdlist name="open" title="Îòêðûòü" ptr=">" >
      <e name="Îòêðûòü ôàéë ..." ok="set_menu open_file"/>
      <e name="Îòêðûòü ñïèñîê ..." ok="set_menu open_list"/>
      <e name="Âîñïðîèçâåñòè DVD" ok="play_dvd hide_menu"/>
      <e name="Âîñïðîèçâåñòè VCD / XCD" ok="play_vcd hide_menu"/>
      <e name="Âîñïðîèçâåñòè Audio CD" ok="play_cdda hide_menu"/>
</cmdlist>

<cmdlist name="controls" title="Óïðàâëåíèå" ptr=">" >
      <e name="Ïàóçà" ok="pause"/>
      <e name="Ñòîï" ok="quit"/>
      <e name="Èçâëå÷ü" ok="run /usr/bin/eject"/>
      <e name="Ïðåä./Ñëåä." ok="pt_step 1" cancel="pt_step -1"/>
      <e name="Ïåðåéòè ê ..." ok="set_menu jump_to"/>
</cmdlist>

<cmdlist name="aspect" title="Ïðîïîðöèè" ptr=">" >
      <e name="Îðèãèíàëüíûé" ok="switch_ratio -1"/>
      <e name="4:3" ok="switch_ratio 1.33333"/>
      <e name="16:9" ok="switch_ratio 1.77778"/>
      <e name="Cinemascope" ok="switch_ratio 2.35"/>
</cmdlist>

<cmdlist name="filter" title="Files Filter" ptr=">" >
      <e name="Display all Files" ok="file_filter 0"/>
      <e name="Display Media Files Only" ok="file_filter 1"/>
</cmdlist>

<pref name="info" title="Info">
      <e name="ip"/>
</pref>

<cmdlist name="options" title="Íàñòðîéêè" ptr=">" >
      <e name="Ïðîïîðöèè ..." ok="set_menu aspect"/>
      <e name="Çâóêîâîé êàíàë ..." ok="set_menu audio_sel"/>
      <e name="Âûáîð ñóáòèòðîâ ..." ok="set_menu sub_sel"/>
      <e name="Âêëþ÷èòü TV-âûõîä" ok="run /usr/bin/tvswitch"/>
      <e name="Âêëþ÷èòü âåðò. ñèíõð." ok="switch_vsync"/>
      <e name="Files Filter ..." ok="set_menu filter"/>
      <e name="Info ..." ok="set_menu info"/>
</cmdlist>

<cmdlist name="main" title="GeeXboX" ptr=">" >
      <e name="Îòêðûòü" ok="set_menu open"/>
      <e name="Óïðàâëåíèå" ok="set_menu controls"/>
      <e name="Íàñòðîéêè" ok="set_menu options"/>
      <e name="Ïîìîøü" ok="set_menu help"/>
      <e name="Âûõîä" ok="halt"/>
</cmdlist>
-------------- next part --------------
##
## MPlayer input control file
##
## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
## add new ones here.
##
## The file should be placed in the $HOME/.mplayer directory.
##

RIGHT seek +10
LEFT seek -10
DOWN seek -60
UP seek +60
PGUP seek 600
PGDWN seek -600
- audio_delay 0.100
+ audio_delay -0.100
q quit
ESC quit
ENTER pt_step 1 1
p pause
SPACE pause
HOME pt_up_step 1
END pt_up_step -1
> pt_step 1
< pt_step -1
INS alt_src_step 1
DEL alt_src_step -1
o osd
z sub_delay -0.1
x sub_delay +0.1
9 volume -1
/ volume -1
0 volume 1
* volume 1
1 contrast -1
2 contrast 1
3 brightness -1
4 brightness 1
5 hue -1
6 hue 1
7 saturation -1
8 saturation 1
d frame_drop
r sub_pos -1
t sub_pos +1
#? sub_step +1		# immediately display next subtitle
#? sub_step -1		#                     previous

w panscan -0.1
e panscan +0.1

h tv_step_channel 1
l tv_step_channel -1
n tv_step_norm
b tv_step_chanlist

##
## GUI
##

#l gui_loadfile
#t gui_loadsubtitle
#a gui_about
#s gui_stop
#p gui_playlist
#r gui_preferences
#c gui_skinbrowser

##
## Joystick section
## WARNING: joystick support has to be explicitly enabled at
##          compiletime with --enable-joystick
##

JOY_RIGHT seek 10
JOY_LEFT seek -10
JOY_UP seek 60
JOY_DOWN seek -60
JOY_BTN0 pause
JOY_BTN1 osd
JOY_BTN2 volume 1
JOY_BTN3 volume -1

##
## OSD Menu movement keys
##
## If you are using only the keyboard it is enough to define one command (like
## "menu up"), because then that single key will display the menu, which can
## then be navigated with the cursor keys and ENTER.
##
## LIRC users should bind each "menu" command to a button on their remote.
##
## The set_menu command directly displays the (sub)menu specified as
## its argument. Usage should be self-explanatory (although not likely
## to be needed), after reading input.conf.
##

#MOUSE_BTN0 menu up
#y menu down
#y menu ok
#y menu cancel
#y menu hide
#y set_menu general_pref

m menu hide
; menu hide
a quit
s run /usr/bin/tvswitch
k halt
y play_dvd
c mute
f pt_step -1
g pt_step 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: full_menu.jpeg
Type: image/jpeg
Size: 8433 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20031213/9c914a4e/attachment.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not_full_menu.jpeg
Type: image/jpeg
Size: 8282 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20031213/9c914a4e/attachment-0001.jpeg>


More information about the MPlayer-users mailing list