From cb44894f097b1cae9945e77fff857e16fe7ddad4 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 5 Dec 2008 15:33:14 +0100 Subject: add mplayer configs --- mplayer/config | 48 ++++++++++++++++++++ mplayer/input.conf | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++ mplayer/menu.conf | 72 ++++++++++++++++++++++++++++++ 3 files changed, 248 insertions(+) create mode 100644 mplayer/config create mode 100644 mplayer/input.conf create mode 100644 mplayer/menu.conf diff --git a/mplayer/config b/mplayer/config new file mode 100644 index 0000000..45042a8 --- /dev/null +++ b/mplayer/config @@ -0,0 +1,48 @@ +[default] +## Video +vo=xv # video driver +fixed-vo=yes # fixed video system for all files +zoom=1 # software scaling if using f.e. vo=x11 +fs=yes # fullscreen +double=yes # double-buffering + +## Audio +ao=pulse # audio driver +#ao=jack +mixer-channel=Master # mixer channel +#softvol=yes # volume filter (no hw mixer control) + +## Subs +# VobSubs +spualign=-1 # align as they want themselves +spuaa=4 # anit-alias subs (4: best/slowest) + +# Softsubs +sub-fuzziness=1 # find subtitle files (1: load all files containing movie name) +font=/usr/share/fonts/dejavu/DejaVuCondensedSans.ttf # font +subfont-encoding=unicode # font encoding +unicode=yes +utf8=yes + +ffactor=1 # resample the font alphamap. (1: narrow black outline) +subpos=97 # subtitle position (0-100) +subalign=2 # subtitle align (2: bottom) +subfont-autoscale=2 # font size (2: proportional to movie width) +subfont-blur=2.0 # font blur radius (default: 2) +subfont-outline=2.0 # font outline thickness (default: 2) +subfont-text-scale=3.8 # autoscale coefficient (default: 5) +sub-bg-alpha=0 # background color ala closed captions +sub-bg-color=0 # black to white + +# OSD +subfont-osd-scale=3.8 # autoscale coefficient (default: 6) + +#mouse-movements=1 + +## Other +input=file=/home/alex/.mplayer/slave # fifo input for slave commands +prefer-ipv4=yes # prever ipv4 over ipv6 (speedup) +dvd-device=/dev/dvd # device for reading dvd:// +stop-xscreensaver=yes # disable xscreensaver (only working with vo=x11) +heartbeat-cmd="xscreensaver-command -deactivate > /dev/null 2>&1" # using heartbeat-cmd to stop xscrenesaver +menu=yes # enable menu diff --git a/mplayer/input.conf b/mplayer/input.conf new file mode 100644 index 0000000..094e314 --- /dev/null +++ b/mplayer/input.conf @@ -0,0 +1,128 @@ +## +## MPlayer input control file +## +## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or +## add new ones here. +## See DOCS/tech/slave.txt for possible commands that can be bound. +## +## The file should be placed in the $HOME/.mplayer directory. +## + +RIGHT seek +10 +LEFT seek -10 +DOWN seek -60 +UP seek +60 ++ audio_delay 0.100 +- audio_delay -0.100 +[ speed_mult 0.9091 # scale playback speed +] speed_mult 1.1 +{ speed_mult 0.5 +} speed_mult 2.0 +BS speed_set 1.0 # reset speed to normal +q quit +p pause +. frame_step +SPACE pause +> pt_step 1 +< pt_step -1 +o osd 1 +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 +f vo_fullscreen +T vo_ontop +w panscan -0.1 +e panscan +0.1 + +i osd_show_property_text "${filename}" + +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_DBL vo_fullscreen +MOUSE_BTN1 set_menu main +TAB set_menu main +^ set_menu console0 + +O osd 3 + +# menu down +# menu ok +# menu cancel +# menu hide +# set_menu general_pref + +HOME dvdnav 1 # up +END dvdnav 2 # down +DEL dvdnav 3 # left +PGDWN dvdnav 4 # right +PGUP dvdnav 5 # menu +INS dvdnav 6 # select + +A switch_audio +S sub_select + +PGUP menu up +PGDWN menu down +HOME menu cancel +END menu ok +ESC menu hide diff --git a/mplayer/menu.conf b/mplayer/menu.conf new file mode 100644 index 0000000..a15e69c --- /dev/null +++ b/mplayer/menu.conf @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3