saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
174
mplayer/input.conf
Normal file
174
mplayer/input.conf
Normal file
@@ -0,0 +1,174 @@
|
||||
##
|
||||
## 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.
|
||||
## Also see mplayer -input cmdlist for other possible options.
|
||||
## The file should be placed in the $HOME/.mplayer directory.
|
||||
##
|
||||
## If you wish to unbind a key, use key ignore.
|
||||
## e.g. ENTER ignore
|
||||
##
|
||||
|
||||
RIGHT seek +10
|
||||
LEFT seek -10
|
||||
DOWN seek -60
|
||||
UP seek +60
|
||||
PGUP seek 600
|
||||
PGDWN seek -600
|
||||
m mute
|
||||
# switch_audio # switch audio streams
|
||||
+ audio_delay 0.100
|
||||
= 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
|
||||
ESC quit
|
||||
ENTER pt_step 1 1 # skip to next file
|
||||
p pause
|
||||
. frame_step # advance one frame and pause
|
||||
SPACE pause
|
||||
HOME pt_up_step 1
|
||||
END pt_up_step -1
|
||||
> pt_step 1 # skip to next file
|
||||
< pt_step -1 # previous
|
||||
INS alt_src_step 1
|
||||
DEL alt_src_step -1
|
||||
o osd
|
||||
I osd_show_property_text "${filename}" # display filename in osd
|
||||
P osd_show_progression
|
||||
z sub_delay -0.1 # subtract 100 ms delay from subs
|
||||
x sub_delay +0.1 # add
|
||||
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
|
||||
( balance -0.1 # adjust audio balance in favor of left
|
||||
) balance +0.1 # right
|
||||
d frame_drop
|
||||
D step_property deinterlace # toggle deinterlacer, requires -vf yadif or kerndeint
|
||||
r sub_pos -1 # move subtitles up
|
||||
t sub_pos +1 # down
|
||||
#? sub_step +1 # immediately display next subtitle
|
||||
#? sub_step -1 # previous
|
||||
#? sub_scale +0.1 # increase subtitle font size
|
||||
#? sub_scale -0.1 # decrease subtitle font size
|
||||
f vo_fullscreen
|
||||
T vo_ontop # toggle video window ontop of other windows
|
||||
w panscan -0.1 # zoom out with -panscan 0 -fs
|
||||
e panscan +0.1 # in
|
||||
c capturing # save (and append) file/stream to stream.dump with -capture
|
||||
s screenshot # take a png screenshot with -vf screenshot
|
||||
# S will take a png screenshot of every frame
|
||||
|
||||
h tv_step_channel 1
|
||||
l tv_step_channel -1
|
||||
n tv_step_norm
|
||||
b tv_step_chanlist
|
||||
|
||||
##
|
||||
## 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
|
||||
JOY_BTN4 set_menu main
|
||||
|
||||
##
|
||||
## Apple Remote section
|
||||
##
|
||||
## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
|
||||
## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
|
||||
##
|
||||
|
||||
AR_PLAY pause
|
||||
AR_PLAY_HOLD quit
|
||||
AR_NEXT seek 30
|
||||
AR_NEXT_HOLD seek 120
|
||||
AR_PREV seek -10
|
||||
AR_PREV_HOLD seek -120
|
||||
AR_MENU menu up
|
||||
#AR_MENU menu cancel
|
||||
AR_MENU_HOLD mute
|
||||
AR_VUP volume 1
|
||||
AR_VDOWN 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 (defined in menu.conf).
|
||||
##
|
||||
## 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
|
||||
|
||||
##
|
||||
## DVDNAV
|
||||
## Requires dvdnav://
|
||||
##
|
||||
|
||||
UP {dvdnav} dvdnav up # DVDNav UP
|
||||
DOWN {dvdnav} dvdnav down # DVDNav DOWN
|
||||
LEFT {dvdnav} dvdnav left # DVDNav LEFT
|
||||
RIGHT {dvdnav} dvdnav right # DVDNav RIGHT
|
||||
ESC {dvdnav} dvdnav menu # DVDNav MENU
|
||||
ENTER {dvdnav} dvdnav select # DVDNav SELECT (ok)
|
||||
BS {dvdnav} dvdnav prev # DVDNav PREVIOUS menu (in the order chapter->title->root)
|
||||
|
||||
AR_VUP {dvdnav} dvdnav up # DVDNav UP
|
||||
AR_VDOWN {dvdnav} dvdnav down # DVDNav DOWN
|
||||
AR_PREV {dvdnav} dvdnav left # DVDNav LEFT
|
||||
AR_NEXT {dvdnav} dvdnav right # DVDNav RIGHT
|
||||
AR_MENU {dvdnav} dvdnav menu # DVDNav MENU
|
||||
AR_PLAY {dvdnav} dvdnav select # DVDNav SELECT (ok)
|
||||
|
||||
#? seek_chapter -1 # skip to previous dvd chapter
|
||||
#? seek_chapter +1 # next
|
||||
|
||||
##
|
||||
## Advanced seek
|
||||
## Uncomment the following lines to be able to seek to n% of the media with
|
||||
## the Fx keys.
|
||||
##
|
||||
#F1 seek 10 1
|
||||
#F2 seek 20 1
|
||||
#F3 seek 30 1
|
||||
#F4 seek 40 1
|
||||
#F5 seek 50 1
|
||||
#F6 seek 60 1
|
||||
#F7 seek 70 1
|
||||
#F8 seek 80 1
|
||||
#F9 seek 90 1
|
||||
151
mplayer/menu.conf
Normal file
151
mplayer/menu.conf
Normal file
@@ -0,0 +1,151 @@
|
||||
<keybindings name="default">
|
||||
<binding key="UP" cmd="menu up" />
|
||||
<binding key="DOWN" cmd="menu down" />
|
||||
<binding key="LEFT" cmd="menu left" />
|
||||
<binding key="RIGHT" cmd="menu right" />
|
||||
<binding key="ENTER" cmd="menu ok" />
|
||||
<binding key="ESC" cmd="menu cancel" />
|
||||
<binding key="HOME" cmd="menu home" />
|
||||
<binding key="END" cmd="menu end" />
|
||||
<binding key="PGUP" cmd="menu pageup" />
|
||||
<binding key="PGDWN" cmd="menu pagedown" />
|
||||
<binding key="JOY_UP" cmd="menu up" />
|
||||
<binding key="JOY_DOWN" cmd="menu down" />
|
||||
<binding key="JOY_LEFT" cmd="menu left" />
|
||||
<binding key="JOY_RIGHT" cmd="menu right" />
|
||||
<binding key="JOY_BTN0" cmd="menu ok" />
|
||||
<binding key="JOY_BTN1" cmd="menu cancel" />
|
||||
<binding key="AR_VUP" cmd="menu up" />
|
||||
<binding key="AR_VDOWN" cmd="menu down" />
|
||||
<binding key="AR_PREV" cmd="menu left" />
|
||||
<binding key="AR_NEXT" cmd="menu right" />
|
||||
<binding key="AR_PLAY" cmd="menu ok" />
|
||||
<binding key="AR_MENU" cmd="menu cancel" />
|
||||
<binding key="AR_PREV_HOLD" cmd="menu home" />
|
||||
<binding key="AR_NEXT_HOLD" cmd="menu end" />
|
||||
<binding key="MOUSE_BTN0" cmd="menu click" />
|
||||
<binding key="MOUSE_BTN2" cmd="menu cancel" />
|
||||
</keybindings>
|
||||
<keybindings name="list" parent="default">
|
||||
<binding key="AR_PREV" cmd="menu pageup" />
|
||||
<binding key="AR_NEXT" cmd="menu pagedown" />
|
||||
</keybindings>
|
||||
<keybindings name="filesel" parent="list">
|
||||
<binding key="BS" cmd="menu left" />
|
||||
</keybindings>
|
||||
<keybindings name="chapsel" parent="list" />
|
||||
<keybindings name="cmdlist" parent="list">
|
||||
<binding key="AR_PREV" cmd="menu left" />
|
||||
<binding key="AR_NEXT" cmd="menu right" />
|
||||
</keybindings>
|
||||
<keybindings name="txt" parent="list" />
|
||||
<keybindings name="pt" parent="list" />
|
||||
<keybindings name="pref" parent="list">
|
||||
<binding key="AR_PREV" cmd="menu left" />
|
||||
<binding key="AR_NEXT" cmd="menu right" />
|
||||
<binding key="AR_PREV_HOLD" cmd="menu left" />
|
||||
<binding key="AR_NEXT_HOLD" cmd="menu right" />
|
||||
</keybindings>
|
||||
|
||||
<txt name="man" file="manpage.txt"/>
|
||||
|
||||
<filesel name="open_file"/>
|
||||
<filesel name="open_list" file-action="loadlist '%p'"
|
||||
title="Open a playlist: %p"
|
||||
filter="/etc/mplayer/extensions_filter"
|
||||
actions="d:run 'mp_loader \'%p\' d',c:run 'mp_loader \'%p\' c'" />
|
||||
|
||||
<chapsel name="select_chapter" />
|
||||
|
||||
<pt name="jump_to"/>
|
||||
|
||||
<console name="console0" height="80" vspace="0">Welcome to MPlayer</console>
|
||||
|
||||
<txt name="man" file="manpage.txt"/>
|
||||
|
||||
<pref name="general_pref" title="General">
|
||||
<e property="osdlevel" name="OSD level"/>
|
||||
<e property="speed" name="Speed"/>
|
||||
<e property="loop" name="Loop"/>
|
||||
</pref>
|
||||
|
||||
<pref name="demuxer_pref" title="Demuxer">
|
||||
</pref>
|
||||
|
||||
|
||||
<pref name="osd_sub_pref" title="Subtitles">
|
||||
<e property="sub" name="Subtitles"/>
|
||||
<e property="sub_visibility" name="Visibility"/>
|
||||
<e property="sub_forced_only" name="Forced sub only"/>
|
||||
<e property="sub_alignment" name="Alignment"/>
|
||||
<e property="sub_pos" name="Position"/>
|
||||
<e property="sub_delay" name="Delay"/>
|
||||
<e property="sub_scale" name="Scale"/>
|
||||
</pref>
|
||||
|
||||
<pref name="audio_pref" title="Audio">
|
||||
<e property="volume" name="Volume"/>
|
||||
<e property="balance" name="Balance"/>
|
||||
<e property="mute" name="Mute"/>
|
||||
<e property="audio_delay" name="Delay"/>
|
||||
</pref>
|
||||
|
||||
<pref name="colors_pref" title="Colors">
|
||||
<e property="gamma" name="Gamma"/>
|
||||
<e property="brightness" name="Brightness"/>
|
||||
<e property="contrast" name="Contrast"/>
|
||||
<e property="saturation" name="Saturation"/>
|
||||
<e property="hue" name="Hue"/>
|
||||
</pref>
|
||||
|
||||
<pref name="video_pref" title="Video">
|
||||
<e property="fullscreen" name="Fullscreen"/>
|
||||
<e property="panscan" name="Panscan"/>
|
||||
<menu menu="colors_pref" name="Colors ..."/>
|
||||
<e property="ontop" name="Always on top"/>
|
||||
<e property="rootwin" name="Root window"/>
|
||||
<e property="framedropping" name="Frame dropping"/>
|
||||
<e property="vsync" name="VSync"/>
|
||||
</pref>
|
||||
|
||||
|
||||
<cmdlist name="pref_main" title="Preferences" ptr="<>" >
|
||||
<e name="General ..." ok="set_menu general_pref"/>
|
||||
<e name="Audio ..." ok="set_menu audio_pref"/>
|
||||
<e name="Video ..." ok="set_menu video_pref"/>
|
||||
<e name="Subtitles ..." ok="set_menu osd_sub_pref"/>
|
||||
<e name="Back" ok="menu cancel"/>
|
||||
</cmdlist>
|
||||
|
||||
<pref name="properties" title="Stream Properties">
|
||||
<e txt="${filename}" name="Name"/>
|
||||
<e txt="${video_format}" name="Video Codec"/>
|
||||
<e txt="${video_bitrate}" name="Video Bitrate"/>
|
||||
<e txt="${width} x ${height}" name="Resolution"/>
|
||||
<e txt="${audio_codec}" name="Audio Codec"/>
|
||||
<e txt="${audio_bitrate}" name="Audio Bitrate"/>
|
||||
<e txt="${samplerate}, ${channels}" name="Audio Samples"/>
|
||||
<e txt="${metadata/Title}" name="Title"/>
|
||||
<e txt="${metadata/Artist}" name="Artist"/>
|
||||
<e txt="${metadata/Album}" name="Album"/>
|
||||
<e txt="${metadata/Year}" name="Year"/>
|
||||
<e txt="${metadata/Comment}" name="Comment"/>
|
||||
<e txt="${metadata/Track}" name="Track"/>
|
||||
<e txt="${metadata/Genre}" name="Genre"/>
|
||||
<e txt="${metadata/Software}" name="Software"/>
|
||||
</pref>
|
||||
|
||||
<cmdlist name="main" title="MPlayer OSD menu" ptr="<>" >
|
||||
<e name="Pause" ok="pause"/>
|
||||
<e name="Chapter ..." ok="set_menu select_chapter"
|
||||
left="seek_chapter -1" right="seek_chapter +1"/>
|
||||
<e name="Prev/Next ..." ok="set_menu jump_to"
|
||||
left="pt_step -1" right="pt_step 1"/>
|
||||
<e name="Open ..." ok="set_menu open_file"/>
|
||||
<e name="Open playlist ..." ok="set_menu open_list"/>
|
||||
<e name="Help" ok="set_menu man"/>
|
||||
<e name="Pref" ok="set_menu pref_main"/>
|
||||
<e name="Properties" ok="set_menu properties"/>
|
||||
<e name="Console" ok="set_menu console0"/>
|
||||
<e name="Quit" ok="quit"/>
|
||||
</cmdlist>
|
||||
177
mplayer/mplayer.conf
Normal file
177
mplayer/mplayer.conf
Normal file
@@ -0,0 +1,177 @@
|
||||
#
|
||||
# MPlayer configuration file
|
||||
#
|
||||
# Configuration files are read system-wide from /usr/local/etc/mplayer.conf
|
||||
# and per-user from ~/.mplayer/config, where per-user settings override
|
||||
# system-wide settings, all of which are overrriden by the command line.
|
||||
#
|
||||
# The configuration file settings are the same as the command line
|
||||
# options without the preceding '-'.
|
||||
#
|
||||
# See the CONFIGURATION FILES section in the man page
|
||||
# for a detailed description of the syntax.
|
||||
#
|
||||
# Profiles should be placed at the bottom of the configuration file to ensure
|
||||
# that settings wanted as defaults are not restricted to specific profiles.
|
||||
|
||||
|
||||
##################
|
||||
# video settings #
|
||||
##################
|
||||
|
||||
# Specify default video driver (see -vo help for a list).
|
||||
#vo=xv
|
||||
|
||||
# Use SDL video with the aalib subdriver by default.
|
||||
#vo = sdl:aalib
|
||||
|
||||
# FBdev driver:
|
||||
#
|
||||
# mode to use (read from fb.modes)
|
||||
#fbmode = 640x480-120
|
||||
#
|
||||
# location of the fb.modes file
|
||||
#fbmodeconfig = /etc/fb.modes
|
||||
|
||||
# Specify your monitor timings for the vesa and fbdev video output drivers.
|
||||
# See /etc/X11/XF86Config for timings. Be careful; if you specify settings
|
||||
# that exceed the capabilities of your monitor, you may damage it.
|
||||
#
|
||||
# horizontal frequency range (k stands for 1000)
|
||||
#monitor-hfreq = 31.5k-50k,70k
|
||||
#
|
||||
# vertical frequency range
|
||||
#monitor-vfreq = 50-90
|
||||
#
|
||||
# dotclock (or pixelclock) range (m stands for 1000000)
|
||||
#monitor-dotclock = 30M-300M
|
||||
|
||||
# Start in fullscreen mode by default.
|
||||
#fs=yes
|
||||
|
||||
# Change to a different videomode when going fullscreen.
|
||||
#vm=yes
|
||||
|
||||
# Override the autodetected color depth, may need 'vm=yes' as well.
|
||||
#bpp=0
|
||||
|
||||
# Enable software scaling (powerful CPU needed) for video output
|
||||
# drivers that do not support hardware scaling.
|
||||
#zoom=yes
|
||||
|
||||
# standard monitor size, with square pixels
|
||||
#monitoraspect=4:3
|
||||
|
||||
# Use this for a widescreen monitor, non-square pixels.
|
||||
#monitoraspect=16:9
|
||||
|
||||
# Keep the player window on top of all other windows.
|
||||
#ontop=yes
|
||||
|
||||
|
||||
##################
|
||||
# audio settings #
|
||||
##################
|
||||
|
||||
# Specify default audio driver (see -ao help for a list).
|
||||
#ao=oss
|
||||
|
||||
# Use SDL audio driver with the esd subdriver by default.
|
||||
#ao = sdl:esd
|
||||
|
||||
# Specify the mixer device.
|
||||
#mixer = /dev/mixer
|
||||
|
||||
# Resample the sound to 44100Hz with the lavcresample audio filter.
|
||||
#af=lavcresample=44100
|
||||
|
||||
# Output audio to S/PDIF
|
||||
#ao=alsa:device=spdif
|
||||
#ac=hwac3,hwdts,hwmpa,
|
||||
|
||||
|
||||
##################
|
||||
# other settings #
|
||||
##################
|
||||
|
||||
# Pretend to be Window Media Player.
|
||||
# Fixes playback when playlist and media file use the same URL.
|
||||
#user-agent=NSPlayer/4.1.0.3856
|
||||
|
||||
# Pretend to be Quicktime
|
||||
# Fixes playback for apple.com/trailers redirects
|
||||
#user-agent="QuickTime"
|
||||
|
||||
# Pretend to be Realplayer SP
|
||||
# Fixes playback for some video streaming sites
|
||||
#user-agent=RMA/1.0
|
||||
|
||||
# Pretend to have lots of bandwidth
|
||||
# Speeds up realmedia rtsp:// streams
|
||||
#bandwidth=2000000
|
||||
|
||||
# Pretend to be Winamp
|
||||
# Fixes playback of some NSV streams
|
||||
#user-agent="Winamp NSV Player/5.12 (ultravox/2.0)"
|
||||
|
||||
# Drop frames to preserve audio/video sync.
|
||||
#framedrop = yes
|
||||
|
||||
# Specify your preferred skin here (skins are searched for in
|
||||
# /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
|
||||
#skin = Abyss
|
||||
|
||||
# Resample the font alphamap.
|
||||
# 0 plain white fonts
|
||||
# 0.75 very narrow black outline (default)
|
||||
# 1 narrow black outline
|
||||
# 10 bold black outline
|
||||
#ffactor = 0.75
|
||||
|
||||
# cache settings
|
||||
#
|
||||
# Use 8MB input cache by default.
|
||||
#cache = 8192
|
||||
#
|
||||
# Prefill 20% of the cache before starting playback.
|
||||
#cache-min = 20.0
|
||||
#
|
||||
# Prefill 50% of the cache before restarting playback after the cache emptied.
|
||||
#cache-seek-min = 50
|
||||
|
||||
# DVD: Display English subtitles if available.
|
||||
#slang = en
|
||||
|
||||
# DVD: Play English audio tracks if available.
|
||||
#alang = en
|
||||
|
||||
|
||||
############
|
||||
# Profiles #
|
||||
############
|
||||
|
||||
# The options declared as part of profiles override global default settings,
|
||||
# but only take effect when the profile is active.
|
||||
|
||||
[protocol.dvdnav]
|
||||
#vc=ffmpeg12,
|
||||
#mouse-movements=yes
|
||||
#nocache=yes
|
||||
|
||||
#[vo.vdpau]
|
||||
#vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau,
|
||||
# Most video filters do not work with vdpau.
|
||||
#vf-clr=yes
|
||||
|
||||
|
||||
# OSD progress bar vertical alignment
|
||||
#progbar-align=50
|
||||
|
||||
# You can also include other configuration files.
|
||||
#include = /path/to/the/file/you/want/to/include
|
||||
# Config options can be section specific, global
|
||||
# options should go in the default section
|
||||
[default]
|
||||
fontconfig=1
|
||||
subfont-osd-scale=4
|
||||
subfont-text-scale=3
|
||||
Reference in New Issue
Block a user