From 6271fd3f1ffd2b33ef633f76a644d0bc659a2b01 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Sun, 3 May 2020 17:41:07 +0200 Subject: [PATCH] committing changes in /etc after apt run Package changes: +libdirectfb-1.7-7 1.7.7-8 amd64 +libenca0 1.19-1 amd64 +libvorbisidec1 1.0.2+svn18153-1+deb9u1build0.18.04.1 amd64 +mencoder 2:1.3.0-7build2 amd64 +menu-l10n 0.20120730 all +mplayer 2:1.3.0-7build2 amd64 --- .etckeeper | 4 + mailcap | 52 +++++++++++++ mplayer/input.conf | 178 +++++++++++++++++++++++++++++++++++++++++++ mplayer/menu.conf | 151 ++++++++++++++++++++++++++++++++++++ mplayer/mplayer.conf | 133 ++++++++++++++++++++++++++++++++ 5 files changed, 518 insertions(+) create mode 100644 mplayer/input.conf create mode 100644 mplayer/menu.conf create mode 100644 mplayer/mplayer.conf diff --git a/.etckeeper b/.etckeeper index 9da1125..0c7338e 100755 --- a/.etckeeper +++ b/.etckeeper @@ -2019,6 +2019,10 @@ maybe chmod 0644 'molly-guard/rc' maybe chmod 0755 'molly-guard/run.d' maybe chmod 0755 'molly-guard/run.d/10-print-message' maybe chmod 0755 'molly-guard/run.d/30-query-hostname' +maybe chmod 0755 'mplayer' +maybe chmod 0644 'mplayer/input.conf' +maybe chmod 0644 'mplayer/menu.conf' +maybe chmod 0644 'mplayer/mplayer.conf' maybe chmod 0644 'mtools.conf' maybe chmod 0755 'mysql' maybe chmod 0755 'mysql/conf.d' diff --git a/mailcap b/mailcap index 5c3f717..0e6ff06 100644 --- a/mailcap +++ b/mailcap @@ -74,6 +74,58 @@ text/html; /usr/bin/sensible-browser %s; description=HTML Text; nametemplate=%s. application/x-troff-man; /usr/bin/nroff -mandoc -Tutf8; copiousoutput; print=/usr/bin/nroff -mandoc -Tutf8 | print text/plain:- text/troff; /usr/bin/nroff -mandoc -Tutf8; copiousoutput; print=/usr/bin/nroff -mandoc -Tutf8 | print text/plain:- application/x-info; /usr/bin/info -f '%s'; needsterminal; description=GNU Info document +application/mxf; /usr/bin/mplayer %s; description="MXF video" +application/x-netshow-channel; /usr/bin/mplayer %s; description="Windows Media Station file" +application/ogg; /usr/bin/mplayer %s; description="Ogg multimedia file" +application/ram; /usr/bin/mplayer %s; description="RealMedia Metafile" +application/vnd.rn-realmedia; /usr/bin/mplayer %s; description="RealMedia document" +application/x-shockwave-flash; /usr/bin/mplayer %s; description="Shockwave Flash file" +application/smil; /usr/bin/mplayer %s; description="SMIL document" +audio/ac3; /usr/bin/mplayer %s; description="Dolby Digital audio" +audio/x-adpcm; /usr/bin/mplayer %s; description="PCM audio" +audio/x-aiff; /usr/bin/mplayer %s; description="AIFF/Amiga/Mac audio" +audio/AMR; /usr/bin/mplayer %s; description="AMR audio" +audio/AMR-WB; /usr/bin/mplayer %s; description="AMR-WB audio" +audio/x-ape; /usr/bin/mplayer %s; description="Monkey's audio" +audio/basic; /usr/bin/mplayer %s; description="ULAW (Sun) audio" +audio/flac; /usr/bin/mplayer %s; description="FLAC audio" +audio/x-flac; /usr/bin/mplayer %s; description="FLAC audio" +audio/x-flac+ogg; /usr/bin/mplayer %s; description="Ogg FLAC audio" +audio/x-m4b; /usr/bin/mplayer %s; description="MPEG-4 audio book" +audio/x-matroska; /usr/bin/mplayer %s; description="Matroska audio" +audio/mp2; /usr/bin/mplayer %s; description="MP2 audio" +audio/mp4; /usr/bin/mplayer %s; description="MPEG-4 audio" +audio/mpeg; /usr/bin/mplayer %s; description="MP3 audio" +audio/x-mpegurl; /usr/bin/mplayer %s; description="MP3 audio (streamed)" +audio/x-ms-asx; /usr/bin/mplayer %s; description="Microsoft ASX playlist" +audio/x-ms-wma; /usr/bin/mplayer %s; description="Windows Media audio" +audio/x-musepack; /usr/bin/mplayer %s; description="Musepack audio" +audio/ogg; /usr/bin/mplayer %s; description="Ogg Audio" +audio/vnd.rn-realaudio; /usr/bin/mplayer %s; description="RealAudio document" +audio/x-scpls; /usr/bin/mplayer %s; description="MP3 ShoutCast playlist" +audio/x-voc; /usr/bin/mplayer %s; description="VOC audio" +audio/x-vorbis+ogg; /usr/bin/mplayer %s; description="Ogg Vorbis audio" +audio/x-wav; /usr/bin/mplayer %s; description="WavPack audio" +audio/x-wavpack; /usr/bin/mplayer %s; description="WavPack audio" +video/3gpp; /usr/bin/mplayer %s; description="3GPP multimedia file"; test=test -n "$DISPLAY" +video/3gpp2; /usr/bin/mplayer %s; description="3GPP2 multimedia file"; test=test -n "$DISPLAY" +video/dv; /usr/bin/mplayer %s; description="DV video"; test=test -n "$DISPLAY" +video/x-flic; /usr/bin/mplayer %s; description="FLIC animation"; test=test -n "$DISPLAY" +video/x-flv; /usr/bin/mplayer %s; description="Flash video"; test=test -n "$DISPLAY" +video/x-matroska; /usr/bin/mplayer %s; description="Matroska video"; test=test -n "$DISPLAY" +video/mp2t; /usr/bin/mplayer %s; description="MPEG-2 transport stream"; test=test -n "$DISPLAY" +video/mp4; /usr/bin/mplayer %s; description="MPEG-4 video"; test=test -n "$DISPLAY" +video/mpeg; /usr/bin/mplayer %s; description="MPEG video"; test=test -n "$DISPLAY" +video/x-ms-asf; /usr/bin/mplayer %s; description="Microsoft ASF video"; test=test -n "$DISPLAY" +video/x-ms-wmv; /usr/bin/mplayer %s; description="Windows Media video"; test=test -n "$DISPLAY" +video/x-msvideo; /usr/bin/mplayer %s; description="AVI video"; test=test -n "$DISPLAY" +video/x-nsv; /usr/bin/mplayer %s; description="NullSoft video"; test=test -n "$DISPLAY" +video/ogg; /usr/bin/mplayer %s; description="Ogg Video"; test=test -n "$DISPLAY" +video/x-ogm+ogg; /usr/bin/mplayer %s; description="OGM video"; test=test -n "$DISPLAY" +video/quicktime; /usr/bin/mplayer %s; description="QuickTime video"; test=test -n "$DISPLAY" +video/vnd.rn-realvideo; /usr/bin/mplayer %s; description="RealVideo document"; test=test -n "$DISPLAY" +video/x-theora+ogg; /usr/bin/mplayer %s; description="Ogg Theora video"; test=test -n "$DISPLAY" +video/webm; /usr/bin/mplayer %s; description="WebM video"; test=test -n "$DISPLAY" image/jpeg; pix '%s'; test=test -n "$DISPLAY" image/gif; pix '%s'; test=test -n "$DISPLAY" image/png; pix '%s'; test=test -n "$DISPLAY" diff --git a/mplayer/input.conf b/mplayer/input.conf new file mode 100644 index 0000000..18a7fea --- /dev/null +++ b/mplayer/input.conf @@ -0,0 +1,178 @@ +## +## 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 +# +## Use - to combine multiple keys into a key combination +## +#CTRL-. osd_show_property_text "Playing: ${filename}" diff --git a/mplayer/menu.conf b/mplayer/menu.conf new file mode 100644 index 0000000..635a2f2 --- /dev/null +++ b/mplayer/menu.conf @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Welcome to MPlayer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mplayer/mplayer.conf b/mplayer/mplayer.conf new file mode 100644 index 0000000..9e49dfb --- /dev/null +++ b/mplayer/mplayer.conf @@ -0,0 +1,133 @@ +# +# MPlayer configuration file +# +# Configuration files are read system-wide from /etc/mplayer/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. + + +################## +# video settings # +################## + +# Specify default video driver (see -vo help for a list). +# vo=xv,x11 + +# 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 # +################## + +# Use pulse, then alsa, then SDL video with the aalib subdriver by default. +ao=pulse,alsa,sdl:aalib + +# 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 + + +################## +# other settings # +################## + +stop-xscreensaver=yes + +# Joystick input is disabled because of issues on some laptops(thinkpad). +joystick=no + +# Pretend to be Window Media Player. +# Fixes playback when playlist and media file use the same URL. +#user-agent=NSPlayer/4.1.0.3856 + +# Drop frames to preserve audio/video sync. +#framedrop = yes + +# Specify your preferred skin here (skins are searched for in +# /usr/local/share/mplayer/skins/ and ~/.mplayer/skins/). +#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 + +################### +# DVDNAV Settings # +################### +#vc=ffmpeg12, + +# You can also include other configuration files. +#include = /path/to/the/file/you/want/to/include -- 2.39.5