diff --git a/multimedia/video/mplayer/actions.py b/multimedia/video/mplayer/actions.py new file mode 100644 index 0000000000..e9a08baf62 --- /dev/null +++ b/multimedia/video/mplayer/actions.py @@ -0,0 +1,54 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pythonmodules + +pisitools.flags.sub("-O[\ds]+", "-O3") + +def setup(): + autotools.rawConfigure('\ + --prefix=/usr \ + --confdir=/usr/share/mplayer \ + --enable-dynamic-plugins \ + --enable-menu \ + --datadir=/usr/share/mplayer \ + --charset=UTF-8 \ + --language=en \ + --enable-gui') + +def build(): + autotools.make() + +def install(): + autotools.install("prefix=%(D)s/usr \ + BINDIR=%(D)s/usr/bin \ + LIBDIR=%(D)s/usr/lib \ + CONFDIR=%(D)s/usr/share/mplayer \ + DATADIR=%(D)s/usr/share/mplayer \ + MANDIR=%(D)s/usr/share/man" % {"D": get.installDIR()}) + + # set the default skin for gui + shelltools.copytree("/var/pisi/mplayer2-1.3.0-1/work/mplayer-1.2_pre37124/default_skin", "%s/usr/share/mplayer/skins/default" % get.installDIR()) + + # codecs conf, not something user will interact with + pisitools.insinto("/usr/share/mplayer", "etc/codecs.conf") + + # example dvb conf + pisitools.insinto("/usr/share/mplayer", "etc/dvb-menu.conf") + + # just for fast access to conf + pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf") + pisitools.dosym("/etc/mencoder.conf", "/usr/share/mplayer/mencoder.conf") + + # install docs, tools, examples + pisitools.dodoc("AUTHORS", "Changelog", "README", "LICENSE") + pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "TOOLS") + pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "DOCS/tech") + pythonmodules.fixCompiledPy("/usr/share/doc") diff --git a/multimedia/video/mplayer/files/bash_completion b/multimedia/video/mplayer/files/bash_completion new file mode 100644 index 0000000000..8c49069188 --- /dev/null +++ b/multimedia/video/mplayer/files/bash_completion @@ -0,0 +1,340 @@ +#-*- mode: shell-script;-*- + +# mplayer(1) bash completion support +# this file is maintained within mplayer package + +if type mplayer &> /dev/null ; then + +_mplayer_options_list() +{ + cur=${cur%\\} + COMPREPLY=( $( $1 $2 help 2> /dev/null | \ + sed -e '1,/^Available/d' | awk '{print $1}' | \ + sed -e 's/:$//' -e 's/^'${2#-}'$//' -e 's/<.*//' | \ + grep "^$cur" ) ) +} + +_mplayer() +{ + local cmd cur prev skinsdir IFS=$' \t\n' i j k=0 + + COMPREPLY=() + cmd=${COMP_WORDS[0]} + cur=${COMP_WORDS[COMP_CWORD]} + prev=${COMP_WORDS[COMP_CWORD-1]} + + case "$prev" in + -@(ac|afm|vc|vfm|ao|vo|vop|fstype)) + _mplayer_options_list mplayer $prev + return 0 + ;; + -@(oac|ovc|of)) + _mplayer_options_list mencoder $prev + return 0 + ;; + -audiofile) + _filedir '@(mp3|MP3|mpg|MPG|ogg|OGG|wav|WAV|mid|MID)' + return 0 + ;; + -font) + _filedir '@(desc|ttf)' + return 0 + ;; + -sub) + _filedir '@(srt|SRT|sub|SUB|txt|TXT|utf|UTF|rar|RAR|mpsub|smi|js|ass|ASS|ssa|SSA)' + return 0 + ;; + -vobsub) + _filedir '@(idx|IDX|ifo|IFO|sub|SUB)' + IFS=$'\t\n' + COMPREPLY=( $( for i in ${COMPREPLY[@]}; do + if [ -f $i -a -r $i ]; then + echo ${i%.*} + else + echo $i + fi + done ) ) + IFS=$' \t\n' + return 0 + ;; + -ifo) + _filedir '@(ifo|IFO)' + return 0 + ;; + -cuefile) + _filedir '@(bin|BIN|cue|CUE)' + return 0 + ;; + -skin) + # if you don't have installed mplayer in /usr/local you + # may want to set the MPLAYER_SKINS_DIR global variable + if [ -n "$MPLAYER_SKINS_DIR" ]; then + skinsdir=$MPLAYER_SKINS_DIR + else + skinsdir=/usr/share/mplayer/skins + fi + + IFS=$'\t\n' + for i in ~/.mplayer/Skin $skinsdir; do + if [ -d $i -a -r $i ]; then + for j in $( compgen -d $i/$cur ); do + COMPREPLY[$k]=${j#$i/} + k=$((++k)) + done + fi + done + IFS=$' \t\n' + return 0 + ;; + -@(mixer|@(cdrom|dvd)-device|dvdauth|fb|zrdev)) + cur=${cur:=/dev/} + _filedir + return 0 + ;; + -@(edl?(out)|lircconf|menu-cfg|playlist|csslib|dumpfile)| \ + -@(subfile|vobsub|aofile|fbmodeconfig|include|o|dvdkey)| \ + -passlogfile) + _filedir + return 0 + ;; + -@(auto@(q|sync)|loop|menu-root|speed|sstep|aid|alang)| \ + -@(?(@(audio|sub)-)demuxer|bandwidth|cache|chapter)| \ + -@(dvd?(angle)|fps|frames|mc|passwd|user|sb|srate|ss|vcd)| \ + -@(vi?(d|vo)|ffactor|sid|slang|spu@(align|aa|gauss))| \ + -@(vobsubid|delay|bpp|brightness|contrast|dfbopts|display)| \ + -@(fbmode|geometry|guiwid|hue|icelayer|screen[wh]|wid)| \ + -@(monitor@(aspect|-@(dotclock|[hv]freq))|panscan|saturation)| \ + -@(xineramascreen|zr@(crop|norm|quality|[xy]doff|[vh]dec))| \ + -@(aspect|pp|x|y|xy|z|stereo|audio-@(density|delay|preload))| \ + -@(endpos|osdlevel|ffourcc|sws|channels|skiplimit|format)| \ + -@(ofps|aa@(driver|@(osd|sub)color)|vobsubout?(i@(ndex|d)))| \ + -sub@(-bg-@(alpha|color)|cp|delay|fps|pos|align|width)| \ + -sub@(font-@(blur|outline|autoscale|encoding|@(osd|text)-scale))) + return 0 + ;; + -lavdopts) + COMPREPLY=( $( compgen -W 'ec er= bug= idct= gray' \ + -- $cur ) ) + return 0 + ;; + -lavcopts) + COMPREPLY=( $( compgen -W 'vcodec= vqmin= vqscale= \ + vqmax= mbqmin= mbqmax= vqdiff= \ + vmax_b_frames= vme= vhq v4mv \ + keyint= vb_strategy= vpass= \ + aspect= vbitrate= vratetol= \ + vrc_maxrate= vrc_minrate= \ + vrc_buf_size= vb_qfactor= vi_qfactor= \ + vb_qoffset= vi_qoffset= vqblur= \ + vqcomp= vrc_eq= vrc_override= \ + vrc_init_cplx= vqsquish= vlelim= \ + vcelim= vstrict= vdpart vpsize= gray \ + vfdct= idct= lumi_mask= dark_mask= \ + tcplx_mask= scplx_mask= naq ildct \ + format= pred qpel precmp= cmp= \ + subcmp= predia= dia= trell last_pred= \ + preme= subq= psnr mpeg_quant aic umv' \ + -- $cur ) ) + return 0 + ;; + -ssf) + COMPREPLY=( $( compgen -W 'lgb= cgb= ls= cs= chs= \ + cvs=' -- $cur ) ) + return 0 + ;; + -jpeg) + COMPREPLY=( $( compgen -W 'noprogressive progressive \ + nobaseline baseline optimize= \ + smooth= quality= outdir=' -- $cur ) ) + return 0 + ;; + -xvidopts) + COMPREPLY=( $( compgen -W 'dr2 nodr2' -- $cur ) ) + return 0 + ;; + -xvidencopts) + COMPREPLY=( $( compgen -W 'pass= bitrate= \ + fixed_quant= me_quality= 4mv \ + rc_reaction_delay_factor= \ + rc_averaging_period= rc_buffer= \ + quant_range= min_key_interval= \ + max_key_interval= mpeg_quant \ + mod_quant lumi_mask hintedme \ + hintfile debug keyframe_boost= \ + kfthreshold= kfreduction=' -- $cur ) ) + return 0 + ;; + -divx4opts) + COMPREPLY=( $( compgen -W 'br= key= deinterlace q= \ + min_quant= max_quant= rc_period= \ + rc_reaction_period= crispness= \ + rc_reaction_ratio= pass= vbrpass= \ + help' -- $cur ) ) + return 0 + ;; + -info) + COMPREPLY=( $( compgen -W 'name= artist= genre= \ + subject= copyright= srcform= \ + comment= help' -- $cur ) ) + return 0 + ;; + -lameopts) + COMPREPLY=( $( compgen -W 'vbr= abr cbr br= q= aq= \ + ratio= vol= mode= padding= fast \ + preset= help' -- $cur ) ) + return 0 + ;; + -rawaudio) + COMPREPLY=( $( compgen -W 'on channels= rate= \ + samplesize= format=' -- $cur ) ) + return 0 + ;; + -rawvideo) + COMPREPLY=( $( compgen -W 'on fps= sqcif qcif cif \ + 4cif pal ntsc w= h= y420 yv12 yuy2 \ + y8 format= size=' -- $cur ) ) + return 0 + ;; + -aop) + COMPREPLY=( $( compgen -W 'list= delay= format= fout= \ + volume= mul= softclip' -- $cur ) ) + return 0 + ;; + -dxr2) + COMPREPLY=( $( compgen -W 'ar-mode= iec958-encoded \ + iec958-decoded mute ucode= 75ire bw \ + color interlaced macrovision= norm= \ + square-pixel ccir601-pixel cr-left= \ + cr-right= cr-top= cr-bot= ck-rmin= \ + ck-gmin= ck-bmin= ck-rmax= ck-gmax= \ + ck-bmax= ck-r= ck-g= ck-b= \ + ignore-cache= ol-osd= olh-cor= \ + olw-cor= olx-cor= oly-cor= overlay \ + overlay-ratio= update-cache' -- $cur )) + return 0 + ;; + -tv) + COMPREPLY=( $( compgen -W 'on noaudio driver= device= \ + input= freq= outfmt= width= height= \ + buffersize= norm= channel= chanlist= \ + audiorate= forceaudio alsa amode= \ + forcechan= adevice= audioid= volume= \ + bass= treble= balance= fps= \ + channels= immediatemode=' -- $cur ) ) + return 0 + ;; + -mf) + COMPREPLY=( $( compgen -W 'on w= h= fps= type=' \ + -- $cur ) ) + return 0 + ;; + -cdda) + COMPREPLY=( $( compgen -W 'speed= paranoia= \ + generic-dev= sector-size= overlap= \ + toc-bias toc-offset= skip noskip' \ + -- $cur ) ) + return 0 + ;; + -input) + COMPREPLY=( $( compgen -W 'conf= ar-delay ar-rate \ + keylist cmdlist js-dev file' -- $cur ) ) + return 0 + ;; + -af) + COMPREPLY=( $( compgen -W 'resample resample= \ + channels channels= format format= \ + volume volume= delay delay= pan \ + pan= sub sub= surround surround=' \ + -- $cur ) ) + return 0 + ;; + -af-adv) + COMPREPLY=( $( compgen -W 'force= list=' -- $cur ) ) + return 0 + ;; + esac + + case "$cur" in + -*) + COMPREPLY=( $( compgen -W '-aid -alang -audio-demuxer \ + -audiofile -cdrom-device -cache -nocache -cdda \ + -channels -chapter -csslib -demuxer \ + -dvd -dvd-device -dvdangle -dvdauth \ + -dvdkey -dvdnav -forceidx -fps -frames \ + -hr-mp3-seek -idx -mc -mf -ni -nobps \ + -passwd -rawaudio -rtsp-stream-over-tcp\ + -skipopening -sb -srate -ss -tv -user \ + -vcd -vid -vivo -ifo -ffactor -font \ + -noautosub -nooverlapsub -sid -slang \ + -sub -subcc -subcp -sub-demuxer \ + -subdelay -subfont-autoscale \ + -subfont-blur -subfont-encoding \ + -subfont-osd-scale -subfont-outline \ + -subfont-text-scale -subfps -subfile \ + -subpos -unicode -utf8 -vobsub \ + -vobsubid -ac -afm -aspect -flip \ + -lavdopts -noaspect -nosound -pp -ssf \ + -stereo -sws -vc -vfm -vop -xvidopts\ + -xy -zoom -bandwidth -cuefile \ + -noextbased -rawvideo -overlapsub \ + -sub-bg-alpha -sub-bg-color -subalign \ + -subwidth -sub-no-text-pp -spualign \ + -spuaa -spugauss -pphelp -verbose -v \ + -noni -noidx -nohr-mp3-seek -extbased \ + -bps -oldpp -nozoom -noflip -nounicode \ + -noutf8' -- $cur ) ) + # add mplayer specific options + [[ "$cmd" == @(?(g)mplayer) ]] && COMPREPLY=( ${COMPREPLY[@]} \ + $(compgen -W '-autoq -autosync -benchmark \ + -framedrop -h -help -hardframedrop \ + -identify -input -lircconf -loop \ + -nojoystick -nolirc -nortc -playlist \ + -quiet -really-quiet -rnd -sdp -skin \ + -slave -softsleep -speed -sstep \ + -use-stdin -dumpaudio -dumpfile \ + -dumpstream -dumpvideo -dumpmicrodvdsub\ + -dumpmpsub -dumpsrtsub -dumpjacosub \ + -dumpsami -dumpsub -osdlevel -af \ + -af-adv -ao -aofile -aop -delay -mixer -mixer-channel \ + -nowaveheader -bpp -brightness \ + -contrast -display -double -dr -dxr2 \ + -fb -fbmode -fbmodeconfig -forcexv -fs \ + -geometry -hue -icelayer -jpeg \ + -monitor-dotclock -monitor-hfreq \ + -monitor-vfreq -monitoraspect \ + -nograbpointer -noslices -panscan \ + -rootwin -saturation -screenw -screenh \ + -stop-xscreensaver -vm -vo -vsync -wid \ + -xineramascreen -z -zrbw -zrcrop \ + -zrdev -zrfd -zrhelp -zrnorm -zrquality \ + -zrvdec -zrhdec -zrxdoff -zrydoff -y \ + -edl -edlout -enqueue -fixed-vo \ + -menu -menu-root -menu-cfg -shuffle \ + -format -aahelp -dfbopts -fstype \ + -guiwid -nokeepaspect -x --help \ + -aaosdcolor -aasubcolor -aadriver \ + -aaextended -aaeight' -- $cur) ) + # add mencoder specific options + [[ "$cmd" = mencoder ]] && COMPREPLY=( ${COMPREPLY[@]} \ + $(compgen -W '-audio-density -audio-delay \ + -audio-preload -divx4opts -endpos \ + -ffourcc -include -info -lameopts \ + -lavcopts -noskip -o -oac -ofps -ovc \ + -passlogfile -skiplimit -vobsubout \ + -vobsuboutindex -vobsuboutid \ + -xvidencopts -of --verbose' -- $cur) ) + ;; + *) + _filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gmv]|OG[GMV]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|ape|APE|m2v|M2V|m2p|M2Pdv|DV|rmvb|RMVB|mid|MID|ts|TS|3gp|mpc|MPC|flac|FLAC|264|26l|26L|302|3g2|3G2|ac3|AC3|amv|AMV|asx|ASX|avs|AVS|cif|CIF|dif|DIF|dts|DTS|fla|FLA|flc|FLC|flv|FLV|gxf|GXF|h261|H261|h263|H263|h264|H264|h26l|H26L|it|IT|m2a|M2A|m3u|M3U|m4v|M4V|midi|MIDI|mjpeg|MJPEG|mjpg|MJPG|mod|MOD|mp2|MP2|mpe|MPE|mxf|MXF|nsa|NSA|nsv|NSV|nut|NUT|pls|PLS|qcif|QCIF|s3m|S3M|shn|SHN|smil|SMIL|swf|SWF|tta|TTA|vivo|VIVO|vqf|VQF|xm|XM|y4m|Y4M|yuv4|YUV4)' + ;; + esac + + return 0 +} +complete $filenames -F _mplayer mplayer mencoder gmplayer kplayer + +fi + +### Local Variables: +### mode: shell-script +### End: diff --git a/multimedia/video/mplayer/files/extensions b/multimedia/video/mplayer/files/extensions new file mode 100644 index 0000000000..1fd7d8a5d8 --- /dev/null +++ b/multimedia/video/mplayer/files/extensions @@ -0,0 +1,76 @@ +264 +26l +302 +3gp +3g2 +aac +ac3 +ape +asf +asx +avi +avs +cif +dat +dif +dts +dv +fla +flac +flc +fli +flv +gxf +h261 +h263 +h264 +h26l +it +m2a +m2p +m2v +m3u +m4v +mid +midi +mjpeg +mjpg +mkv +mod +mov +mp2 +mp3 +mp4 +mpc +mpe +mpeg +mpg +mxf +nsa +nsv +nut +ogg +ogm +pls +qcif +qt +ra +ram +rm +rmvb +s3m +shn +smil +swf +tta +viv +vivo +vob +vqf +wav +wma +wmv +xm +y4m +yuv +yuv4 diff --git a/multimedia/video/mplayer/files/hwaccel-vaapi/readme b/multimedia/video/mplayer/files/hwaccel-vaapi/readme new file mode 100644 index 0000000000..0e3e4928d2 --- /dev/null +++ b/multimedia/video/mplayer/files/hwaccel-vaapi/readme @@ -0,0 +1,2 @@ +this is a better way to patch since it uses ffmpeg IMGFMT_IS_HWACCEL but it has font problem with ass + diff --git a/multimedia/video/mplayer/files/input.conf b/multimedia/video/mplayer/files/input.conf new file mode 100644 index 0000000000..54ad29a4f8 --- /dev/null +++ b/multimedia/video/mplayer/files/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 +[ 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}" 2500 # display filename in osd +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 +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 + +## +## 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 +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. +## +## 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 + +F1 menu up + +## +## DVDNAV +## Requires dvdnav:// +## + +# these are old style keys +# KP8 dvdnav 1 # DVDNav UP +# KP2 dvdnav 2 # DVDNav DOWN +# KP4 dvdnav 3 # DVDNav LEFT +# KP6 dvdnav 4 # DVDNav RIGHT +# KP5 dvdnav 5 # DVDNav MENU +# KP_ENTER dvdnav 6 # DVDNav SELECT (ok) +# KP7 dvdnav 7 # DVDNav PREVIOUS menu (in the order chapter->title->root) +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 diff --git a/multimedia/video/mplayer/files/mencoder.conf b/multimedia/video/mplayer/files/mencoder.conf new file mode 100644 index 0000000000..7fec312b06 --- /dev/null +++ b/multimedia/video/mplayer/files/mencoder.conf @@ -0,0 +1,316 @@ +# +# Mencoder configuration file +# +# Configuration files are read system-wide from /etc/mencoder.conf +# and per user from ~/.mplayer/mencoder.conf, 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. + + +#################### +# default settings # +#################### + +# Some font enhancements using fontconfig as default +fontconfig = 1 +subcp = cp1254 +spuaa = 4 +subfont-text-scale = 3 +font = "Dejavu Sans Condensed" + +############ +# profiles # +############ + +[yuy2] + profile-desc="RAW uncompressed YUY2" + mf=fps=25 + oac=copy=yes + ovc=raw=yes + vf=format=yuy2 + +[mpeg1] + profile-desc="MPEG-1 Video MP2 Audio" + of=mpeg=1 + mpegopts=format=mpeg1:tsaf=1:muxrate=2000 + oac=lavc=1 + ovc=lavc=1 + lavcopts=acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3 + +[mpeg2] + profile-desc="MPEG-2 Video MP2 Audio - Slow because Full Encoding" + lavdopts=threads=2 + vf=pp=md,harddup + ovc=lavc=1 + oac=lavc=1 + lavcopts=vcodec=mpeg2video:vqscale=1:acodec=mp2:abitrate=320:threads=2 + of=lavf=1 + lavfopts=format=dvd + +[mpeg4] + profile-desc="MPEG4 video" + ovc=lavc=1 + oac=mp3lame=1 + lameopts=preset=standard + lavcopts=vcodec=mpeg4:vbitrate=1200 + +[mpeg4-hq] + profile-desc="MPEG4 video HQ" + profile=mpeg4 + lavcopts=mbd=2:trell=yes:v4mv=yes + +[x264] + profile-desc="x264 video MP3 audio" + ovc=x264=1 + x264encopts=subq=5:frameref=2:b_pyramid=1:weight_b=1:nr=500 + oac=mp3lame=1 + lameopts=preset=standard + +[x264-hq] + profile-desc="x264 video MP3 audio HQ" + lavdopts=threads=2 + ovc=x264=1 + x264encopts=subq=6:partitions=all:8x8dct=yes:me=umh:frameref=5:bframes=3:b_pyramid=yes:weight_b=yes:threads=auto + ofps=25 + alang=it + oac=mp3lame=yes + lameopts=vbr=3:br=128 + +[xvid] + profile-desc="MPEG4 (XviD) video MP3 audio" + ovc=xvid=yes + xvidencopts=bitrate=1200:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg + ofps=25 + oac=mp3lame=yes + lameopts=vbr=3:br=128 + +[xvid-hq] + profile-desc="MPEG4 (XviD) video MP3 audio HQ" + ovc=xvid=yes + xvidencopts=bitrate=5000:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg + ofps=25 + oac=mp3lame=yes + lameopts=vbr=3:br=192 + +[xvid-cartoon] + profile-desc="MPEG4 (XviD) video MP3 audio Cartoon optimised" + ovc=xvid=yes + xvidencopts=bitrate=1200:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg:cartoon=yes + ofps=25 + oac=mp3lame=yes + lameopts=vbr=3:br=128 + +[divx] + profile-desc="MPEG4 (DivX) video MP3 audio" + ovc=lavc=yes + lavcopts=mbd=2:trell=yes:v4mv=yes:vbitrate=1200:autoaspect=yes:acodec=mp3:abitrate=128 + # this is for compatibility with divx players, hint to use with other profiles + ffourcc=DX50 + ofps=25 + oac=mp3lame=yes + lameopts=vbr=3:br=128 + +[wmv] + profile-desc="WMV Good Quality" + lavdopts=threads=2 + vf=pp=md,harddup + ovc=lavc=1 + oac=lavc=1 + lavcopts=vcodec=wmv2:vqscale=4:acodec=wmav2:abitrate=128 + of=lavf=yes + +[lameaudio] + profile-desc="Lame Audio" + oac=mp3lame=1 + srate=48000 + lameopts=abr=yes:br=128 + +[hd-1080p] + profile-desc="HD 1080p video AC3 audio" + ovc=xvid=1 + vf=pp=l5,crop=1920:1056 + xvidencopts=vhq=4:bvhq=1:nogmc=1:me_quality=6:chroma_me=1:chroma_opt=1:min_iquant=1:min_pquant=1:fixed_quant=5 + oac=lavc=1 + lavcopts=acodec=ac3:abitrate=384 + +[dvrms2xvid] + profile-desc="Convert DVRMS to XviD" + profile=lameaudio + quiet=1 + demuxer=35 + sws=2 + vfm=ffmpeg + vf=pp=md,scale=624:352 + ovc=xvid=1 + xvidencopts=threads=2:bitrate=900:vhq=1:max_bframes=2 + lavdopts=threads=2 + noodml=1 + forceidx=1 + ffourcc=DX50 + +[dvd] + profile-desc="MPEG2 (PAL DVD) video AC3 audio" + ovc=lavc=yes + lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:autoaspect=yes + of=mpeg=yes + mpegopts=format=dvd:tsaf=yes + vf=scale=720:576,harddup + ofps=25 + srate=48000 + af=lavcresample=48000 + oac=lavc=yes + +[dvdi] + profile-desc="MPEG2 (PAL DVD interlaced source) video AC3 audio" + ovc=lavc=yes + lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:autoaspect=yes:ildct=yes:ilme=yes + of=mpeg=yes + mpegopts=format=dvd:tsaf=yes + vf=scale=720:576,harddup + ofps=25 + srate=48000 + af=lavcresample=48000 + oac=lavc=yes + +[dvd-wide] + profile-desc="MPEG2 (PAL DVD wide screen source) video AC3 audio" + ovc=lavc=yes + lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192 + of=mpeg=yes + mpegopts=format=dvd:tsaf=yes + vf=scale=720:-2,expand=720:576,harddup + ofps=25 + srate=48000 + af=lavcresample=48000 + oac=lavc=yes + +[dvd-16_9] + profile-desc="MPEG2 (PAL DVD 16/9) video AC3 audio" + ovc=lavc=yes + lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 + of=mpeg=yes + mpegopts=format=dvd:tsaf=yes + vf=scale=720:576,harddup + ofps=25 + srate=48000 + af=lavcresample=48000 + oac=lavc=yes + +[webcam] + profile-desc="Webcam capture with MJPEG/nosound" + oac=pcm=1 + ovc=lavc=1 + lavcopts=vcodec=mjpeg + tv=driver=v4l:input=0:width=320:height=240:device=/dev/video0:outfmt=uyvy:fps=24 + vf=pp=hb:a/vb:a,hqdn3d,mirror + nosound=1 + +[webcam-v4l2] + profile-desc="Webcam capture with MJPEG/nosound (V4L2)" + oac=pcm=1 + ovc=lavc=1 + lavcopts=vcodec=mjpeg + tv=driver=v4l2:input=0:width=320:height=240:device=/dev/video0:outfmt=uyvy:fps=24 + vf=pp=hb:a/vb:a,hqdn3d,mirror + nosound=1 + +[tv] + profile-desc="TV capture with MP3 audio" + tv=driver=v4l:normid=4:width=640:height=480:chanlist=europe-west + tv=alsa=yes:adevice=hw.1,1:audiorate=32000 + srate=32000 + vf=crop=624:464:0:8,pp=lb,denoise3d,decimate + oac=mp3lame=1 + ovc=lavc=1 + lavcopts=vqscale=5 + lameopts=q=6 + +[tv-v4l2] + profile-desc="TV capture with MP3 audio (V4L2)" + tv=driver=v4l2:normid=4:width=640:height=480:chanlist=europe-west + tv=alsa=yes:adevice=hw.1,1:audiorate=32000 + srate=32000 + vf=crop=624:464:0:8,pp=lb,denoise3d,decimate + oac=mp3lame=1 + ovc=lavc=1 + lavcopts=vqscale=5 + lameopts=q=6 + +[psp] + profile-desc="PSP H264/AAC (AVC/AAC)" + sws=9 + vf=pullup,softskip,scale=368:208,harddup,unsharp=l3x3:0.7 + ofps=30000/1001 + ovc=x264=1 + x264encopts=bitrate=650:global_header:partitions=all:trellis=1:vbv_maxrate=768:vbv_bufsize=2000:level_idc=30 + oac=faac=1 + faacopts=br=128:mpeg=4:object=2:raw=yes + of=lavf=1 + lavfopts=format=psp + +[psp-lavc] + profile-desc="PSP H264/AAC (AVC/AAC) with FFmpeg" + vf=hqdn3d,scale=368:208 + af=lavcresample=48000 + ofps=30000/1001 + ovc=lavc=1 + oac=lavc=1 + lavcopts=aglobal=1:vglobal=1:vcodec=libx264:acodec=libfaac:vbitrate=320:abitrate=97:coder=1 + of=lavf=1 + lavfopts=format=psp + +[psp-fast] + profile-desc="PSP MPEG4/AAC Medium Quality" + lavdopts=threads=2 + vf=pp=md,scale=368:208,harddup + af=lavcresample=24000 + ofps=30000/1001 + ovc=lavc=1 + oac=lavc=1 + lavcopts=aglobal=1:vglobal=1:vcodec=mpeg4:acodec=libfaac:vbitrate=500 + of=lavf=1 + lavfopts=format=psp + +[youtube] + profile-desc="YouTube output" + ovc=lavc=1 + oac=lavc=1 + vf-add=scale=320:200 + vf-add=expand=320:240 + lavcopts=vhq=yes:vcodec=mpeg4:vrc_buf_size=1835:vrc_maxrate=350:vbitrate=350:v4mv=yes:aspect=4/3:trell=yes:cbp=yes + ffourcc=XVID + +[pda-z-napisami] + profile-desc="PDA" + ovc=lavc=1 + lavcopts=vcodec=mpeg4:vbitrate=300 + oac=mp3lame=1 + lameopts=preset=112 + vf=scale=320:-3 + af=resample=44100:0:0 + +[mswin] + profile-desc="MS Win compatible MPEG1 video MPEG2 audio" + of=mpeg=1 + mpegopts=format=mpeg1:tsaf=1 + oac=lavc=1 + lavcopts=acodec=mp2:abitrate=192 + ovc=lavc=1 + lavcopts=vcodec=mpeg1video:trell=1:autoaspect=1 + vf=hqdn3d=2:1:2 + +[treo650] + profile-desc="Treo 650 compatible" + aspect=4:3 + ovc=lavc=1 + lavcopts=vcodec=mpeg4:mbd=2:turbo=yes:vbitrate=300:aspect=4/3:acodec=libmp3lame:abitrate=96 + oac=lavc=1 + vf-pre=pp=lb + vf=scale=320:200 + af=volnorm=1 + diff --git a/multimedia/video/mplayer/files/menu.conf b/multimedia/video/mplayer/files/menu.conf new file mode 100644 index 0000000000..ccbde1402b --- /dev/null +++ b/multimedia/video/mplayer/files/menu.conf @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Welcome to MPlayer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/multimedia/video/mplayer/files/midentify b/multimedia/video/mplayer/files/midentify new file mode 100644 index 0000000000..07a3c7b06b --- /dev/null +++ b/multimedia/video/mplayer/files/midentify @@ -0,0 +1,14 @@ +#!/bin/sh +# +# A wrapper for mplayer -identify to easily get info of a file +# + +if [ -z "$1" ]; then + echo "Usage: midentify [ ...]" + exit 1 +fi + +mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null | + grep IDENTIFY | + sed -n -e 's/.*ID_/ID_/' -e 's/[]()|&;<>`'"'"'\\!$" []/\\&/g;p' + diff --git a/multimedia/video/mplayer/files/mplayer.conf b/multimedia/video/mplayer/files/mplayer.conf new file mode 100644 index 0000000000..b36ece001c --- /dev/null +++ b/multimedia/video/mplayer/files/mplayer.conf @@ -0,0 +1,278 @@ +# +# MPlayer configuration file +# +# Configuration files are read system-wide from /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. + + +################## +# video settings # +################## + +# Specify default video driver (see -vo help for a list). +#vo=xv +vo=xv,x11 + +# Init once for multiple inputs, has many advantages +fixed-vo=1 + +# Specify vdpau codecs when using -vo vdpau. +# [vo.vdpau] +# vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau, + +# 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 +fs=no + +# Choose where the video will start, default is to let WM handle it +geometry=50%:50% + +# 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 + +# Some example postprocessing filters, from less quality to more complex pp +# vf=pp=ac/l5 +# vf=pp=lb,denoise3d,decimate +# vf=pp=hb:a/vb:a/dr:a/al:a + + +################## +# 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 +# ao = alsa:noblock,oss +ao=pulse,alsa:noblock,oss + +# Specify the mixer device. +#mixer = /dev/mixer + +# Output audio to S/PDIF +# #ao=alsa:device=spdif +# #ac=hwac3,hwdts,hwmpa, + +# Resample the sound to 44100Hz with the lavcresample audio filter. +#af=lavcresample=44100 + +# Use this if your soundcard produces too low volume +# warning, may cause distortion depending on input and speaker +# af=volume=10.1:0,volnorm=1 + +# Add advanced audio filters +# 0 is full automatic, 5 is automatic and use float where possible +# af-adv=force=0 +# af-adv=force=5 + + +################## +# input settings # +################## + +# Let MPlayer grab mouse movements +# Useful if you want to use OSD menu with mouse or dvdnav +# mouse-movements = 1 + +# Ignore keyboard events, useful if you don't want anything pressed +# on your keyboard affect what you are watching (babies, cats etc.) +# noconsolecontrols = 1 + +# Ignore mouse events +# nomouseinput = 1 + +nojoystick = 1 + +################## +# other settings # +################## + +# Drop frames to preserve audio/video sync. +#framedrop = yes +framedrop = yes + +# Doublebuffering can help remove flicker from subtitles/OSD. +# double=yes +double = 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 + +# Some font enhancements +fontconfig = 1 +embeddedfonts = 1 +subfont-autoscale = 3 +subfont-osd-scale = 3 +subcp = cp1254 +spuaa = 4 +font = "Dejavu Sans Condensed" + +# enable ass for flexibility and better rendering +ass = 1 +ass-color = FFFFFF00 +ass-use-margins = 1 +# use this to make empty space below video for subtitles +# ass-bottom-margin = 64 + +# 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 + +# Default to Turkish for subtitles +slang = tr,en +alang = tr,en + +# Enable menu +menu = 1 + +# Enable screenshot grabbing +# vf = screenshot + +# Stop Xscreensaver by default +stop-xscreensaver = 1 + +# enable color output in console +msgcolor = 1 + +# enable module info color +msgmodule = 1 + +# 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" + + +############################ +# extension based settings # +############################ + +# You can define options for case insensitive file extensions +# [extension.flv] +# correct-pts = 1 + +#[extension.mkv] +#nocorrect-pts = 1 + +########################### +# protocol based settings # +########################### + +[protocol.http] +cache = 256 + +[protocol.http_proxy] +cache = 256 + +[protocol.mmst] +cache = 256 + +[protocol.mms] +cache = 256 + +[protocol.rtp] +cache = 256 + +[protocol.rtsp] +cache = 256 + +[protocol.icyx] +cache = 256 + +[protocol.dvdnav] +vc=ffmpeg12, +mouse-movements=yes +nocache=yes + + +# enable rar subs (both normal and vobsub) in runtime +unrarexec = /usr/bin/unrar + +# Print input name (without path) and duration in terminal window caption +# playing-msg = "\e]0;MPlayer - ${filename}?(length: - ${length})\x07" + +# You can also include other configuration files. +#include = /path/to/the/file/you/want/to/include + +########################### +# Generic profiles # +########################### + +[2chto6ch] +af=pan=6:1:0:.4:0:.6:2:0:1:0:.4:.6:2 +channels=6 + + diff --git a/multimedia/video/mplayer/files/mplayer.desktop b/multimedia/video/mplayer/files/mplayer.desktop new file mode 100644 index 0000000000..4e8f71bd54 --- /dev/null +++ b/multimedia/video/mplayer/files/mplayer.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=MPlayer +Name[tr]=MPlayer +Name[de]=MPlayer +Name[es]=MPlayer +Name[fr]=MPlayer +Name[it]=MPlayer +GenericName=Multimedia Player +GenericName[tr]=Medya Oynatıcı +GenericName[de]=Multimedia Player +GenericName[es]=Reproductor multimedia +GenericName[fr]=Lecteur multimedia +GenericName[it]=Lettore multimediale +Icon=mplayer +Exec=gmplayer -really-quiet 1> /dev/null 2>&1 %U +Terminal=false +Categories=GTK;Application;AudioVideo;Audio;Video;Player;TV; +MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-theora;video/x-matroska;video/x-flv;video/avi;video/mp4;video/x-ogm;video/3gpp; diff --git a/multimedia/video/mplayer/files/mplayer.png b/multimedia/video/mplayer/files/mplayer.png new file mode 100644 index 0000000000..a4d8e78a6d Binary files /dev/null and b/multimedia/video/mplayer/files/mplayer.png differ diff --git a/multimedia/video/mplayer/files/test-webcam b/multimedia/video/mplayer/files/test-webcam new file mode 100644 index 0000000000..af536039cf --- /dev/null +++ b/multimedia/video/mplayer/files/test-webcam @@ -0,0 +1,54 @@ +#!/bin/bash +# a tiny script to test webcams using mplayer +# options are self explanatory :) + +DEVICE="video0" +AUDIO=":noaudio" +FILTER="-vf-add pp=hb:a/vb:a,hqdn3d,mirror" +V4L="" +EXTRA="" +WIDTH="640" +HEIGHT="480" +RESOLUTION="-x 800 -y 600" +FPS="" + +for x in $*; do + case "${x}" in + video[0-9]*) + DEVICE="${x}" + ;; + -v4l2) + V4L=":driver=v4l2" + FPS="-fps 60" + ;; + -v4l) + V4L=":driver=v4l" + FPS="-fps 60" + ;; + -audio) + AUDIO="" + ;; + -w[0-9]*) + WIDTH=`echo "${x}"|cut -c 4-` + ;; + -h[0-9]*) + HEIGHT=`echo "${x}"|cut -c 4-` + ;; + -forcefps) + FPS="-fps 30" + ;; + -nores) + RESOLUTION="" + ;; + -nofilter) + FILTER="" + ;; + *) + EXTRA="$EXTRA ${x}" + ;; + esac +done + +# main +mplayer tv:// -tv device=/dev/$DEVICE:width=$WIDTH:height=$HEIGHT$V4L$AUDIO $RESOLUTION $FILTER $FPS $EXTRA + diff --git a/multimedia/video/mplayer/files/tr-locale-fix.patch b/multimedia/video/mplayer/files/tr-locale-fix.patch new file mode 100644 index 0000000000..f1053aa81b --- /dev/null +++ b/multimedia/video/mplayer/files/tr-locale-fix.patch @@ -0,0 +1,65 @@ +diff -Nur mplayer-old/libmpcodecs/dec_audio.c mplayer/libmpcodecs/dec_audio.c +--- mplayer-old/libmpcodecs/dec_audio.c 2010-05-27 19:02:33.346258636 +0300 ++++ mplayer/libmpcodecs/dec_audio.c 2010-05-27 19:02:41.915422106 +0300 +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + + #include "config.h" + #include "mp_msg.h" +@@ -143,6 +144,9 @@ + static int init_audio(sh_audio_t *sh_audio, char *codecname, char *afm, + int status, stringset_t *selected) + { ++ char *locale_data = setlocale(LC_CTYPE, ""); ++ setlocale(LC_CTYPE, "C"); ++ + unsigned int orig_fourcc = sh_audio->wf ? sh_audio->wf->wFormatTag : 0; + int force = 0; + if (codecname && codecname[0] == '+') { +@@ -231,8 +235,10 @@ + continue; // try next... + } + // Yeah! We got it! ++ setlocale(LC_CTYPE, locale_data); + return 1; + } ++ setlocale(LC_CTYPE, locale_data); + return 0; + } + +diff -Nur mplayer-old/libmpcodecs/dec_video.c mplayer/libmpcodecs/dec_video.c +--- mplayer-old/libmpcodecs/dec_video.c 2010-05-27 19:02:33.342258404 +0300 ++++ mplayer/libmpcodecs/dec_video.c 2010-05-27 19:04:23.349261664 +0300 +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + + #include "mp_msg.h" + #include "help_mp.h" +@@ -204,6 +205,10 @@ + static int init_video(sh_video_t *sh_video, char *codecname, char *vfm, + int status, stringset_t *selected) + { ++ ++ char *locale_data = setlocale(LC_CTYPE, ""); ++ setlocale(LC_CTYPE, "C"); ++ + int force = 0; + unsigned int orig_fourcc = + sh_video->bih ? sh_video->bih->biCompression : 0; +@@ -320,8 +325,10 @@ + } + // Yeah! We got it! + sh_video->initialized = 1; ++ setlocale(LC_CTYPE, locale_data); + return 1; + } ++ setlocale(LC_CTYPE, locale_data); + return 0; + } + diff --git a/multimedia/video/mplayer/mplayer/actions.py b/multimedia/video/mplayer/mplayer/actions.py new file mode 100644 index 0000000000..a9deecf9d0 --- /dev/null +++ b/multimedia/video/mplayer/mplayer/actions.py @@ -0,0 +1,65 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pythonmodules + +pisitools.flags.sub("-O[\ds]+", "-O3") + +def setup(): + autotools.rawConfigure('\ + --prefix=/usr \ + --confdir=/usr/share/mplayer \ + --enable-dynamic-plugins \ + --enable-menu \ + --datadir=/usr/share/mplayer \ + --charset=UTF-8 \ + --language=en \ + --enable-gui') + #autotools.configure() + + # stuff that fail hede=yes check, but working with hede=auto + # do not use: autodetect is fine --enable-cdparanoia and --enable-libcdio + # --enable-directfb \ + # + # not ready + # --enable-live \ + # + # Maybe used + # --disable-ffmpeg_so \ + +def build(): + autotools.make() + +def install(): + autotools.install("prefix=%(D)s/usr \ + BINDIR=%(D)s/usr/bin \ + LIBDIR=%(D)s/usr/lib \ + CONFDIR=%(D)s/usr/share/mplayer \ + DATADIR=%(D)s/usr/share/mplayer \ + MANDIR=%(D)s/usr/share/man" % {"D": get.installDIR()}) + + # set the default skin for gui + shelltools.copytree("/var/pisi/mplayer2-1.3.0-1/work/mplayer-1.2_pre37124/default_skin", "%s/usr/share/mplayer/skins/default" % get.installDIR()) + + # codecs conf, not something user will interact with + pisitools.insinto("/usr/share/mplayer", "etc/codecs.conf") + + # example dvb conf + pisitools.insinto("/usr/share/mplayer", "etc/dvb-menu.conf") + + # just for fast access to conf + pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf") + pisitools.dosym("/etc/mencoder.conf", "/usr/share/mplayer/mencoder.conf") + + # install docs, tools, examples + pisitools.dodoc("AUTHORS", "Changelog", "README", "LICENSE") + pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "TOOLS") + pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "DOCS/tech") + pythonmodules.fixCompiledPy("/usr/share/doc") diff --git a/multimedia/video/mplayer/mplayer/files/bash_completion b/multimedia/video/mplayer/mplayer/files/bash_completion new file mode 100644 index 0000000000..8c49069188 --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/bash_completion @@ -0,0 +1,340 @@ +#-*- mode: shell-script;-*- + +# mplayer(1) bash completion support +# this file is maintained within mplayer package + +if type mplayer &> /dev/null ; then + +_mplayer_options_list() +{ + cur=${cur%\\} + COMPREPLY=( $( $1 $2 help 2> /dev/null | \ + sed -e '1,/^Available/d' | awk '{print $1}' | \ + sed -e 's/:$//' -e 's/^'${2#-}'$//' -e 's/<.*//' | \ + grep "^$cur" ) ) +} + +_mplayer() +{ + local cmd cur prev skinsdir IFS=$' \t\n' i j k=0 + + COMPREPLY=() + cmd=${COMP_WORDS[0]} + cur=${COMP_WORDS[COMP_CWORD]} + prev=${COMP_WORDS[COMP_CWORD-1]} + + case "$prev" in + -@(ac|afm|vc|vfm|ao|vo|vop|fstype)) + _mplayer_options_list mplayer $prev + return 0 + ;; + -@(oac|ovc|of)) + _mplayer_options_list mencoder $prev + return 0 + ;; + -audiofile) + _filedir '@(mp3|MP3|mpg|MPG|ogg|OGG|wav|WAV|mid|MID)' + return 0 + ;; + -font) + _filedir '@(desc|ttf)' + return 0 + ;; + -sub) + _filedir '@(srt|SRT|sub|SUB|txt|TXT|utf|UTF|rar|RAR|mpsub|smi|js|ass|ASS|ssa|SSA)' + return 0 + ;; + -vobsub) + _filedir '@(idx|IDX|ifo|IFO|sub|SUB)' + IFS=$'\t\n' + COMPREPLY=( $( for i in ${COMPREPLY[@]}; do + if [ -f $i -a -r $i ]; then + echo ${i%.*} + else + echo $i + fi + done ) ) + IFS=$' \t\n' + return 0 + ;; + -ifo) + _filedir '@(ifo|IFO)' + return 0 + ;; + -cuefile) + _filedir '@(bin|BIN|cue|CUE)' + return 0 + ;; + -skin) + # if you don't have installed mplayer in /usr/local you + # may want to set the MPLAYER_SKINS_DIR global variable + if [ -n "$MPLAYER_SKINS_DIR" ]; then + skinsdir=$MPLAYER_SKINS_DIR + else + skinsdir=/usr/share/mplayer/skins + fi + + IFS=$'\t\n' + for i in ~/.mplayer/Skin $skinsdir; do + if [ -d $i -a -r $i ]; then + for j in $( compgen -d $i/$cur ); do + COMPREPLY[$k]=${j#$i/} + k=$((++k)) + done + fi + done + IFS=$' \t\n' + return 0 + ;; + -@(mixer|@(cdrom|dvd)-device|dvdauth|fb|zrdev)) + cur=${cur:=/dev/} + _filedir + return 0 + ;; + -@(edl?(out)|lircconf|menu-cfg|playlist|csslib|dumpfile)| \ + -@(subfile|vobsub|aofile|fbmodeconfig|include|o|dvdkey)| \ + -passlogfile) + _filedir + return 0 + ;; + -@(auto@(q|sync)|loop|menu-root|speed|sstep|aid|alang)| \ + -@(?(@(audio|sub)-)demuxer|bandwidth|cache|chapter)| \ + -@(dvd?(angle)|fps|frames|mc|passwd|user|sb|srate|ss|vcd)| \ + -@(vi?(d|vo)|ffactor|sid|slang|spu@(align|aa|gauss))| \ + -@(vobsubid|delay|bpp|brightness|contrast|dfbopts|display)| \ + -@(fbmode|geometry|guiwid|hue|icelayer|screen[wh]|wid)| \ + -@(monitor@(aspect|-@(dotclock|[hv]freq))|panscan|saturation)| \ + -@(xineramascreen|zr@(crop|norm|quality|[xy]doff|[vh]dec))| \ + -@(aspect|pp|x|y|xy|z|stereo|audio-@(density|delay|preload))| \ + -@(endpos|osdlevel|ffourcc|sws|channels|skiplimit|format)| \ + -@(ofps|aa@(driver|@(osd|sub)color)|vobsubout?(i@(ndex|d)))| \ + -sub@(-bg-@(alpha|color)|cp|delay|fps|pos|align|width)| \ + -sub@(font-@(blur|outline|autoscale|encoding|@(osd|text)-scale))) + return 0 + ;; + -lavdopts) + COMPREPLY=( $( compgen -W 'ec er= bug= idct= gray' \ + -- $cur ) ) + return 0 + ;; + -lavcopts) + COMPREPLY=( $( compgen -W 'vcodec= vqmin= vqscale= \ + vqmax= mbqmin= mbqmax= vqdiff= \ + vmax_b_frames= vme= vhq v4mv \ + keyint= vb_strategy= vpass= \ + aspect= vbitrate= vratetol= \ + vrc_maxrate= vrc_minrate= \ + vrc_buf_size= vb_qfactor= vi_qfactor= \ + vb_qoffset= vi_qoffset= vqblur= \ + vqcomp= vrc_eq= vrc_override= \ + vrc_init_cplx= vqsquish= vlelim= \ + vcelim= vstrict= vdpart vpsize= gray \ + vfdct= idct= lumi_mask= dark_mask= \ + tcplx_mask= scplx_mask= naq ildct \ + format= pred qpel precmp= cmp= \ + subcmp= predia= dia= trell last_pred= \ + preme= subq= psnr mpeg_quant aic umv' \ + -- $cur ) ) + return 0 + ;; + -ssf) + COMPREPLY=( $( compgen -W 'lgb= cgb= ls= cs= chs= \ + cvs=' -- $cur ) ) + return 0 + ;; + -jpeg) + COMPREPLY=( $( compgen -W 'noprogressive progressive \ + nobaseline baseline optimize= \ + smooth= quality= outdir=' -- $cur ) ) + return 0 + ;; + -xvidopts) + COMPREPLY=( $( compgen -W 'dr2 nodr2' -- $cur ) ) + return 0 + ;; + -xvidencopts) + COMPREPLY=( $( compgen -W 'pass= bitrate= \ + fixed_quant= me_quality= 4mv \ + rc_reaction_delay_factor= \ + rc_averaging_period= rc_buffer= \ + quant_range= min_key_interval= \ + max_key_interval= mpeg_quant \ + mod_quant lumi_mask hintedme \ + hintfile debug keyframe_boost= \ + kfthreshold= kfreduction=' -- $cur ) ) + return 0 + ;; + -divx4opts) + COMPREPLY=( $( compgen -W 'br= key= deinterlace q= \ + min_quant= max_quant= rc_period= \ + rc_reaction_period= crispness= \ + rc_reaction_ratio= pass= vbrpass= \ + help' -- $cur ) ) + return 0 + ;; + -info) + COMPREPLY=( $( compgen -W 'name= artist= genre= \ + subject= copyright= srcform= \ + comment= help' -- $cur ) ) + return 0 + ;; + -lameopts) + COMPREPLY=( $( compgen -W 'vbr= abr cbr br= q= aq= \ + ratio= vol= mode= padding= fast \ + preset= help' -- $cur ) ) + return 0 + ;; + -rawaudio) + COMPREPLY=( $( compgen -W 'on channels= rate= \ + samplesize= format=' -- $cur ) ) + return 0 + ;; + -rawvideo) + COMPREPLY=( $( compgen -W 'on fps= sqcif qcif cif \ + 4cif pal ntsc w= h= y420 yv12 yuy2 \ + y8 format= size=' -- $cur ) ) + return 0 + ;; + -aop) + COMPREPLY=( $( compgen -W 'list= delay= format= fout= \ + volume= mul= softclip' -- $cur ) ) + return 0 + ;; + -dxr2) + COMPREPLY=( $( compgen -W 'ar-mode= iec958-encoded \ + iec958-decoded mute ucode= 75ire bw \ + color interlaced macrovision= norm= \ + square-pixel ccir601-pixel cr-left= \ + cr-right= cr-top= cr-bot= ck-rmin= \ + ck-gmin= ck-bmin= ck-rmax= ck-gmax= \ + ck-bmax= ck-r= ck-g= ck-b= \ + ignore-cache= ol-osd= olh-cor= \ + olw-cor= olx-cor= oly-cor= overlay \ + overlay-ratio= update-cache' -- $cur )) + return 0 + ;; + -tv) + COMPREPLY=( $( compgen -W 'on noaudio driver= device= \ + input= freq= outfmt= width= height= \ + buffersize= norm= channel= chanlist= \ + audiorate= forceaudio alsa amode= \ + forcechan= adevice= audioid= volume= \ + bass= treble= balance= fps= \ + channels= immediatemode=' -- $cur ) ) + return 0 + ;; + -mf) + COMPREPLY=( $( compgen -W 'on w= h= fps= type=' \ + -- $cur ) ) + return 0 + ;; + -cdda) + COMPREPLY=( $( compgen -W 'speed= paranoia= \ + generic-dev= sector-size= overlap= \ + toc-bias toc-offset= skip noskip' \ + -- $cur ) ) + return 0 + ;; + -input) + COMPREPLY=( $( compgen -W 'conf= ar-delay ar-rate \ + keylist cmdlist js-dev file' -- $cur ) ) + return 0 + ;; + -af) + COMPREPLY=( $( compgen -W 'resample resample= \ + channels channels= format format= \ + volume volume= delay delay= pan \ + pan= sub sub= surround surround=' \ + -- $cur ) ) + return 0 + ;; + -af-adv) + COMPREPLY=( $( compgen -W 'force= list=' -- $cur ) ) + return 0 + ;; + esac + + case "$cur" in + -*) + COMPREPLY=( $( compgen -W '-aid -alang -audio-demuxer \ + -audiofile -cdrom-device -cache -nocache -cdda \ + -channels -chapter -csslib -demuxer \ + -dvd -dvd-device -dvdangle -dvdauth \ + -dvdkey -dvdnav -forceidx -fps -frames \ + -hr-mp3-seek -idx -mc -mf -ni -nobps \ + -passwd -rawaudio -rtsp-stream-over-tcp\ + -skipopening -sb -srate -ss -tv -user \ + -vcd -vid -vivo -ifo -ffactor -font \ + -noautosub -nooverlapsub -sid -slang \ + -sub -subcc -subcp -sub-demuxer \ + -subdelay -subfont-autoscale \ + -subfont-blur -subfont-encoding \ + -subfont-osd-scale -subfont-outline \ + -subfont-text-scale -subfps -subfile \ + -subpos -unicode -utf8 -vobsub \ + -vobsubid -ac -afm -aspect -flip \ + -lavdopts -noaspect -nosound -pp -ssf \ + -stereo -sws -vc -vfm -vop -xvidopts\ + -xy -zoom -bandwidth -cuefile \ + -noextbased -rawvideo -overlapsub \ + -sub-bg-alpha -sub-bg-color -subalign \ + -subwidth -sub-no-text-pp -spualign \ + -spuaa -spugauss -pphelp -verbose -v \ + -noni -noidx -nohr-mp3-seek -extbased \ + -bps -oldpp -nozoom -noflip -nounicode \ + -noutf8' -- $cur ) ) + # add mplayer specific options + [[ "$cmd" == @(?(g)mplayer) ]] && COMPREPLY=( ${COMPREPLY[@]} \ + $(compgen -W '-autoq -autosync -benchmark \ + -framedrop -h -help -hardframedrop \ + -identify -input -lircconf -loop \ + -nojoystick -nolirc -nortc -playlist \ + -quiet -really-quiet -rnd -sdp -skin \ + -slave -softsleep -speed -sstep \ + -use-stdin -dumpaudio -dumpfile \ + -dumpstream -dumpvideo -dumpmicrodvdsub\ + -dumpmpsub -dumpsrtsub -dumpjacosub \ + -dumpsami -dumpsub -osdlevel -af \ + -af-adv -ao -aofile -aop -delay -mixer -mixer-channel \ + -nowaveheader -bpp -brightness \ + -contrast -display -double -dr -dxr2 \ + -fb -fbmode -fbmodeconfig -forcexv -fs \ + -geometry -hue -icelayer -jpeg \ + -monitor-dotclock -monitor-hfreq \ + -monitor-vfreq -monitoraspect \ + -nograbpointer -noslices -panscan \ + -rootwin -saturation -screenw -screenh \ + -stop-xscreensaver -vm -vo -vsync -wid \ + -xineramascreen -z -zrbw -zrcrop \ + -zrdev -zrfd -zrhelp -zrnorm -zrquality \ + -zrvdec -zrhdec -zrxdoff -zrydoff -y \ + -edl -edlout -enqueue -fixed-vo \ + -menu -menu-root -menu-cfg -shuffle \ + -format -aahelp -dfbopts -fstype \ + -guiwid -nokeepaspect -x --help \ + -aaosdcolor -aasubcolor -aadriver \ + -aaextended -aaeight' -- $cur) ) + # add mencoder specific options + [[ "$cmd" = mencoder ]] && COMPREPLY=( ${COMPREPLY[@]} \ + $(compgen -W '-audio-density -audio-delay \ + -audio-preload -divx4opts -endpos \ + -ffourcc -include -info -lameopts \ + -lavcopts -noskip -o -oac -ofps -ovc \ + -passlogfile -skiplimit -vobsubout \ + -vobsuboutindex -vobsuboutid \ + -xvidencopts -of --verbose' -- $cur) ) + ;; + *) + _filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gmv]|OG[GMV]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|ape|APE|m2v|M2V|m2p|M2Pdv|DV|rmvb|RMVB|mid|MID|ts|TS|3gp|mpc|MPC|flac|FLAC|264|26l|26L|302|3g2|3G2|ac3|AC3|amv|AMV|asx|ASX|avs|AVS|cif|CIF|dif|DIF|dts|DTS|fla|FLA|flc|FLC|flv|FLV|gxf|GXF|h261|H261|h263|H263|h264|H264|h26l|H26L|it|IT|m2a|M2A|m3u|M3U|m4v|M4V|midi|MIDI|mjpeg|MJPEG|mjpg|MJPG|mod|MOD|mp2|MP2|mpe|MPE|mxf|MXF|nsa|NSA|nsv|NSV|nut|NUT|pls|PLS|qcif|QCIF|s3m|S3M|shn|SHN|smil|SMIL|swf|SWF|tta|TTA|vivo|VIVO|vqf|VQF|xm|XM|y4m|Y4M|yuv4|YUV4)' + ;; + esac + + return 0 +} +complete $filenames -F _mplayer mplayer mencoder gmplayer kplayer + +fi + +### Local Variables: +### mode: shell-script +### End: diff --git a/multimedia/video/mplayer/mplayer/files/cdio-includes.patch b/multimedia/video/mplayer/mplayer/files/cdio-includes.patch new file mode 100644 index 0000000000..f71472812b --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/cdio-includes.patch @@ -0,0 +1,43 @@ +Index: configure +=================================================================== +--- configure (revision 35421) ++++ configure (working copy) +@@ -5968,8 +5968,8 @@ + cat > $TMPC << EOF + #include + #include +-#include +-#include ++#include ++#include + int main(void) { + void *test = cdda_verbose_set; + printf("%s\n", CDIO_VERSION); +Index: gui/win32/interface.c +=================================================================== +--- gui/win32/interface.c (revision 35421) ++++ gui/win32/interface.c (working copy) +@@ -24,7 +24,7 @@ + #include "config.h" + + #if defined(CONFIG_LIBCDIO) +-#include ++#include + #elif defined(CONFIG_CDDA) + #include + #endif +Index: stream/stream_cdda.c +=================================================================== +--- stream/stream_cdda.c (revision 35421) ++++ stream/stream_cdda.c (working copy) +@@ -21,8 +21,8 @@ + #include + #include + #else +-#include +-#include ++#include ++#include + #endif + #include + #include diff --git a/multimedia/video/mplayer/mplayer/files/extensions b/multimedia/video/mplayer/mplayer/files/extensions new file mode 100644 index 0000000000..1fd7d8a5d8 --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/extensions @@ -0,0 +1,76 @@ +264 +26l +302 +3gp +3g2 +aac +ac3 +ape +asf +asx +avi +avs +cif +dat +dif +dts +dv +fla +flac +flc +fli +flv +gxf +h261 +h263 +h264 +h26l +it +m2a +m2p +m2v +m3u +m4v +mid +midi +mjpeg +mjpg +mkv +mod +mov +mp2 +mp3 +mp4 +mpc +mpe +mpeg +mpg +mxf +nsa +nsv +nut +ogg +ogm +pls +qcif +qt +ra +ram +rm +rmvb +s3m +shn +smil +swf +tta +viv +vivo +vob +vqf +wav +wma +wmv +xm +y4m +yuv +yuv4 diff --git a/multimedia/video/mplayer/mplayer/files/hwaccel-vaapi/readme b/multimedia/video/mplayer/mplayer/files/hwaccel-vaapi/readme new file mode 100644 index 0000000000..0e3e4928d2 --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/hwaccel-vaapi/readme @@ -0,0 +1,2 @@ +this is a better way to patch since it uses ffmpeg IMGFMT_IS_HWACCEL but it has font problem with ass + diff --git a/multimedia/video/mplayer/mplayer/files/input.conf b/multimedia/video/mplayer/mplayer/files/input.conf new file mode 100644 index 0000000000..54ad29a4f8 --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/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 +[ 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}" 2500 # display filename in osd +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 +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 + +## +## 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 +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. +## +## 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 + +F1 menu up + +## +## DVDNAV +## Requires dvdnav:// +## + +# these are old style keys +# KP8 dvdnav 1 # DVDNav UP +# KP2 dvdnav 2 # DVDNav DOWN +# KP4 dvdnav 3 # DVDNav LEFT +# KP6 dvdnav 4 # DVDNav RIGHT +# KP5 dvdnav 5 # DVDNav MENU +# KP_ENTER dvdnav 6 # DVDNav SELECT (ok) +# KP7 dvdnav 7 # DVDNav PREVIOUS menu (in the order chapter->title->root) +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 diff --git a/multimedia/video/mplayer/mplayer/files/mencoder.conf b/multimedia/video/mplayer/mplayer/files/mencoder.conf new file mode 100644 index 0000000000..7fec312b06 --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/mencoder.conf @@ -0,0 +1,316 @@ +# +# Mencoder configuration file +# +# Configuration files are read system-wide from /etc/mencoder.conf +# and per user from ~/.mplayer/mencoder.conf, 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. + + +#################### +# default settings # +#################### + +# Some font enhancements using fontconfig as default +fontconfig = 1 +subcp = cp1254 +spuaa = 4 +subfont-text-scale = 3 +font = "Dejavu Sans Condensed" + +############ +# profiles # +############ + +[yuy2] + profile-desc="RAW uncompressed YUY2" + mf=fps=25 + oac=copy=yes + ovc=raw=yes + vf=format=yuy2 + +[mpeg1] + profile-desc="MPEG-1 Video MP2 Audio" + of=mpeg=1 + mpegopts=format=mpeg1:tsaf=1:muxrate=2000 + oac=lavc=1 + ovc=lavc=1 + lavcopts=acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3 + +[mpeg2] + profile-desc="MPEG-2 Video MP2 Audio - Slow because Full Encoding" + lavdopts=threads=2 + vf=pp=md,harddup + ovc=lavc=1 + oac=lavc=1 + lavcopts=vcodec=mpeg2video:vqscale=1:acodec=mp2:abitrate=320:threads=2 + of=lavf=1 + lavfopts=format=dvd + +[mpeg4] + profile-desc="MPEG4 video" + ovc=lavc=1 + oac=mp3lame=1 + lameopts=preset=standard + lavcopts=vcodec=mpeg4:vbitrate=1200 + +[mpeg4-hq] + profile-desc="MPEG4 video HQ" + profile=mpeg4 + lavcopts=mbd=2:trell=yes:v4mv=yes + +[x264] + profile-desc="x264 video MP3 audio" + ovc=x264=1 + x264encopts=subq=5:frameref=2:b_pyramid=1:weight_b=1:nr=500 + oac=mp3lame=1 + lameopts=preset=standard + +[x264-hq] + profile-desc="x264 video MP3 audio HQ" + lavdopts=threads=2 + ovc=x264=1 + x264encopts=subq=6:partitions=all:8x8dct=yes:me=umh:frameref=5:bframes=3:b_pyramid=yes:weight_b=yes:threads=auto + ofps=25 + alang=it + oac=mp3lame=yes + lameopts=vbr=3:br=128 + +[xvid] + profile-desc="MPEG4 (XviD) video MP3 audio" + ovc=xvid=yes + xvidencopts=bitrate=1200:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg + ofps=25 + oac=mp3lame=yes + lameopts=vbr=3:br=128 + +[xvid-hq] + profile-desc="MPEG4 (XviD) video MP3 audio HQ" + ovc=xvid=yes + xvidencopts=bitrate=5000:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg + ofps=25 + oac=mp3lame=yes + lameopts=vbr=3:br=192 + +[xvid-cartoon] + profile-desc="MPEG4 (XviD) video MP3 audio Cartoon optimised" + ovc=xvid=yes + xvidencopts=bitrate=1200:autoaspect=yes:chroma_opt=yes:vhq=4:bvhq=1:quant_type=mpeg:cartoon=yes + ofps=25 + oac=mp3lame=yes + lameopts=vbr=3:br=128 + +[divx] + profile-desc="MPEG4 (DivX) video MP3 audio" + ovc=lavc=yes + lavcopts=mbd=2:trell=yes:v4mv=yes:vbitrate=1200:autoaspect=yes:acodec=mp3:abitrate=128 + # this is for compatibility with divx players, hint to use with other profiles + ffourcc=DX50 + ofps=25 + oac=mp3lame=yes + lameopts=vbr=3:br=128 + +[wmv] + profile-desc="WMV Good Quality" + lavdopts=threads=2 + vf=pp=md,harddup + ovc=lavc=1 + oac=lavc=1 + lavcopts=vcodec=wmv2:vqscale=4:acodec=wmav2:abitrate=128 + of=lavf=yes + +[lameaudio] + profile-desc="Lame Audio" + oac=mp3lame=1 + srate=48000 + lameopts=abr=yes:br=128 + +[hd-1080p] + profile-desc="HD 1080p video AC3 audio" + ovc=xvid=1 + vf=pp=l5,crop=1920:1056 + xvidencopts=vhq=4:bvhq=1:nogmc=1:me_quality=6:chroma_me=1:chroma_opt=1:min_iquant=1:min_pquant=1:fixed_quant=5 + oac=lavc=1 + lavcopts=acodec=ac3:abitrate=384 + +[dvrms2xvid] + profile-desc="Convert DVRMS to XviD" + profile=lameaudio + quiet=1 + demuxer=35 + sws=2 + vfm=ffmpeg + vf=pp=md,scale=624:352 + ovc=xvid=1 + xvidencopts=threads=2:bitrate=900:vhq=1:max_bframes=2 + lavdopts=threads=2 + noodml=1 + forceidx=1 + ffourcc=DX50 + +[dvd] + profile-desc="MPEG2 (PAL DVD) video AC3 audio" + ovc=lavc=yes + lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:autoaspect=yes + of=mpeg=yes + mpegopts=format=dvd:tsaf=yes + vf=scale=720:576,harddup + ofps=25 + srate=48000 + af=lavcresample=48000 + oac=lavc=yes + +[dvdi] + profile-desc="MPEG2 (PAL DVD interlaced source) video AC3 audio" + ovc=lavc=yes + lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:autoaspect=yes:ildct=yes:ilme=yes + of=mpeg=yes + mpegopts=format=dvd:tsaf=yes + vf=scale=720:576,harddup + ofps=25 + srate=48000 + af=lavcresample=48000 + oac=lavc=yes + +[dvd-wide] + profile-desc="MPEG2 (PAL DVD wide screen source) video AC3 audio" + ovc=lavc=yes + lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192 + of=mpeg=yes + mpegopts=format=dvd:tsaf=yes + vf=scale=720:-2,expand=720:576,harddup + ofps=25 + srate=48000 + af=lavcresample=48000 + oac=lavc=yes + +[dvd-16_9] + profile-desc="MPEG2 (PAL DVD 16/9) video AC3 audio" + ovc=lavc=yes + lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:trell=yes:mbd=2:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 + of=mpeg=yes + mpegopts=format=dvd:tsaf=yes + vf=scale=720:576,harddup + ofps=25 + srate=48000 + af=lavcresample=48000 + oac=lavc=yes + +[webcam] + profile-desc="Webcam capture with MJPEG/nosound" + oac=pcm=1 + ovc=lavc=1 + lavcopts=vcodec=mjpeg + tv=driver=v4l:input=0:width=320:height=240:device=/dev/video0:outfmt=uyvy:fps=24 + vf=pp=hb:a/vb:a,hqdn3d,mirror + nosound=1 + +[webcam-v4l2] + profile-desc="Webcam capture with MJPEG/nosound (V4L2)" + oac=pcm=1 + ovc=lavc=1 + lavcopts=vcodec=mjpeg + tv=driver=v4l2:input=0:width=320:height=240:device=/dev/video0:outfmt=uyvy:fps=24 + vf=pp=hb:a/vb:a,hqdn3d,mirror + nosound=1 + +[tv] + profile-desc="TV capture with MP3 audio" + tv=driver=v4l:normid=4:width=640:height=480:chanlist=europe-west + tv=alsa=yes:adevice=hw.1,1:audiorate=32000 + srate=32000 + vf=crop=624:464:0:8,pp=lb,denoise3d,decimate + oac=mp3lame=1 + ovc=lavc=1 + lavcopts=vqscale=5 + lameopts=q=6 + +[tv-v4l2] + profile-desc="TV capture with MP3 audio (V4L2)" + tv=driver=v4l2:normid=4:width=640:height=480:chanlist=europe-west + tv=alsa=yes:adevice=hw.1,1:audiorate=32000 + srate=32000 + vf=crop=624:464:0:8,pp=lb,denoise3d,decimate + oac=mp3lame=1 + ovc=lavc=1 + lavcopts=vqscale=5 + lameopts=q=6 + +[psp] + profile-desc="PSP H264/AAC (AVC/AAC)" + sws=9 + vf=pullup,softskip,scale=368:208,harddup,unsharp=l3x3:0.7 + ofps=30000/1001 + ovc=x264=1 + x264encopts=bitrate=650:global_header:partitions=all:trellis=1:vbv_maxrate=768:vbv_bufsize=2000:level_idc=30 + oac=faac=1 + faacopts=br=128:mpeg=4:object=2:raw=yes + of=lavf=1 + lavfopts=format=psp + +[psp-lavc] + profile-desc="PSP H264/AAC (AVC/AAC) with FFmpeg" + vf=hqdn3d,scale=368:208 + af=lavcresample=48000 + ofps=30000/1001 + ovc=lavc=1 + oac=lavc=1 + lavcopts=aglobal=1:vglobal=1:vcodec=libx264:acodec=libfaac:vbitrate=320:abitrate=97:coder=1 + of=lavf=1 + lavfopts=format=psp + +[psp-fast] + profile-desc="PSP MPEG4/AAC Medium Quality" + lavdopts=threads=2 + vf=pp=md,scale=368:208,harddup + af=lavcresample=24000 + ofps=30000/1001 + ovc=lavc=1 + oac=lavc=1 + lavcopts=aglobal=1:vglobal=1:vcodec=mpeg4:acodec=libfaac:vbitrate=500 + of=lavf=1 + lavfopts=format=psp + +[youtube] + profile-desc="YouTube output" + ovc=lavc=1 + oac=lavc=1 + vf-add=scale=320:200 + vf-add=expand=320:240 + lavcopts=vhq=yes:vcodec=mpeg4:vrc_buf_size=1835:vrc_maxrate=350:vbitrate=350:v4mv=yes:aspect=4/3:trell=yes:cbp=yes + ffourcc=XVID + +[pda-z-napisami] + profile-desc="PDA" + ovc=lavc=1 + lavcopts=vcodec=mpeg4:vbitrate=300 + oac=mp3lame=1 + lameopts=preset=112 + vf=scale=320:-3 + af=resample=44100:0:0 + +[mswin] + profile-desc="MS Win compatible MPEG1 video MPEG2 audio" + of=mpeg=1 + mpegopts=format=mpeg1:tsaf=1 + oac=lavc=1 + lavcopts=acodec=mp2:abitrate=192 + ovc=lavc=1 + lavcopts=vcodec=mpeg1video:trell=1:autoaspect=1 + vf=hqdn3d=2:1:2 + +[treo650] + profile-desc="Treo 650 compatible" + aspect=4:3 + ovc=lavc=1 + lavcopts=vcodec=mpeg4:mbd=2:turbo=yes:vbitrate=300:aspect=4/3:acodec=libmp3lame:abitrate=96 + oac=lavc=1 + vf-pre=pp=lb + vf=scale=320:200 + af=volnorm=1 + diff --git a/multimedia/video/mplayer/mplayer/files/menu.conf b/multimedia/video/mplayer/mplayer/files/menu.conf new file mode 100644 index 0000000000..ccbde1402b --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/menu.conf @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Welcome to MPlayer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/multimedia/video/mplayer/mplayer/files/midentify b/multimedia/video/mplayer/mplayer/files/midentify new file mode 100644 index 0000000000..07a3c7b06b --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/midentify @@ -0,0 +1,14 @@ +#!/bin/sh +# +# A wrapper for mplayer -identify to easily get info of a file +# + +if [ -z "$1" ]; then + echo "Usage: midentify [ ...]" + exit 1 +fi + +mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null | + grep IDENTIFY | + sed -n -e 's/.*ID_/ID_/' -e 's/[]()|&;<>`'"'"'\\!$" []/\\&/g;p' + diff --git a/multimedia/video/mplayer/mplayer/files/mplayer.conf b/multimedia/video/mplayer/mplayer/files/mplayer.conf new file mode 100644 index 0000000000..b36ece001c --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/mplayer.conf @@ -0,0 +1,278 @@ +# +# MPlayer configuration file +# +# Configuration files are read system-wide from /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. + + +################## +# video settings # +################## + +# Specify default video driver (see -vo help for a list). +#vo=xv +vo=xv,x11 + +# Init once for multiple inputs, has many advantages +fixed-vo=1 + +# Specify vdpau codecs when using -vo vdpau. +# [vo.vdpau] +# vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau, + +# 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 +fs=no + +# Choose where the video will start, default is to let WM handle it +geometry=50%:50% + +# 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 + +# Some example postprocessing filters, from less quality to more complex pp +# vf=pp=ac/l5 +# vf=pp=lb,denoise3d,decimate +# vf=pp=hb:a/vb:a/dr:a/al:a + + +################## +# 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 +# ao = alsa:noblock,oss +ao=pulse,alsa:noblock,oss + +# Specify the mixer device. +#mixer = /dev/mixer + +# Output audio to S/PDIF +# #ao=alsa:device=spdif +# #ac=hwac3,hwdts,hwmpa, + +# Resample the sound to 44100Hz with the lavcresample audio filter. +#af=lavcresample=44100 + +# Use this if your soundcard produces too low volume +# warning, may cause distortion depending on input and speaker +# af=volume=10.1:0,volnorm=1 + +# Add advanced audio filters +# 0 is full automatic, 5 is automatic and use float where possible +# af-adv=force=0 +# af-adv=force=5 + + +################## +# input settings # +################## + +# Let MPlayer grab mouse movements +# Useful if you want to use OSD menu with mouse or dvdnav +# mouse-movements = 1 + +# Ignore keyboard events, useful if you don't want anything pressed +# on your keyboard affect what you are watching (babies, cats etc.) +# noconsolecontrols = 1 + +# Ignore mouse events +# nomouseinput = 1 + +nojoystick = 1 + +################## +# other settings # +################## + +# Drop frames to preserve audio/video sync. +#framedrop = yes +framedrop = yes + +# Doublebuffering can help remove flicker from subtitles/OSD. +# double=yes +double = 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 + +# Some font enhancements +fontconfig = 1 +embeddedfonts = 1 +subfont-autoscale = 3 +subfont-osd-scale = 3 +subcp = cp1254 +spuaa = 4 +font = "Dejavu Sans Condensed" + +# enable ass for flexibility and better rendering +ass = 1 +ass-color = FFFFFF00 +ass-use-margins = 1 +# use this to make empty space below video for subtitles +# ass-bottom-margin = 64 + +# 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 + +# Default to Turkish for subtitles +slang = tr,en +alang = tr,en + +# Enable menu +menu = 1 + +# Enable screenshot grabbing +# vf = screenshot + +# Stop Xscreensaver by default +stop-xscreensaver = 1 + +# enable color output in console +msgcolor = 1 + +# enable module info color +msgmodule = 1 + +# 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" + + +############################ +# extension based settings # +############################ + +# You can define options for case insensitive file extensions +# [extension.flv] +# correct-pts = 1 + +#[extension.mkv] +#nocorrect-pts = 1 + +########################### +# protocol based settings # +########################### + +[protocol.http] +cache = 256 + +[protocol.http_proxy] +cache = 256 + +[protocol.mmst] +cache = 256 + +[protocol.mms] +cache = 256 + +[protocol.rtp] +cache = 256 + +[protocol.rtsp] +cache = 256 + +[protocol.icyx] +cache = 256 + +[protocol.dvdnav] +vc=ffmpeg12, +mouse-movements=yes +nocache=yes + + +# enable rar subs (both normal and vobsub) in runtime +unrarexec = /usr/bin/unrar + +# Print input name (without path) and duration in terminal window caption +# playing-msg = "\e]0;MPlayer - ${filename}?(length: - ${length})\x07" + +# You can also include other configuration files. +#include = /path/to/the/file/you/want/to/include + +########################### +# Generic profiles # +########################### + +[2chto6ch] +af=pan=6:1:0:.4:0:.6:2:0:1:0:.4:.6:2 +channels=6 + + diff --git a/multimedia/video/mplayer/mplayer/files/mplayer.desktop b/multimedia/video/mplayer/mplayer/files/mplayer.desktop new file mode 100644 index 0000000000..4e8f71bd54 --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/mplayer.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=MPlayer +Name[tr]=MPlayer +Name[de]=MPlayer +Name[es]=MPlayer +Name[fr]=MPlayer +Name[it]=MPlayer +GenericName=Multimedia Player +GenericName[tr]=Medya Oynatıcı +GenericName[de]=Multimedia Player +GenericName[es]=Reproductor multimedia +GenericName[fr]=Lecteur multimedia +GenericName[it]=Lettore multimediale +Icon=mplayer +Exec=gmplayer -really-quiet 1> /dev/null 2>&1 %U +Terminal=false +Categories=GTK;Application;AudioVideo;Audio;Video;Player;TV; +MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-theora;video/x-matroska;video/x-flv;video/avi;video/mp4;video/x-ogm;video/3gpp; diff --git a/multimedia/video/mplayer/mplayer/files/mplayer.png b/multimedia/video/mplayer/mplayer/files/mplayer.png new file mode 100644 index 0000000000..a4d8e78a6d Binary files /dev/null and b/multimedia/video/mplayer/mplayer/files/mplayer.png differ diff --git a/multimedia/video/mplayer/mplayer/files/test-webcam b/multimedia/video/mplayer/mplayer/files/test-webcam new file mode 100644 index 0000000000..af536039cf --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/test-webcam @@ -0,0 +1,54 @@ +#!/bin/bash +# a tiny script to test webcams using mplayer +# options are self explanatory :) + +DEVICE="video0" +AUDIO=":noaudio" +FILTER="-vf-add pp=hb:a/vb:a,hqdn3d,mirror" +V4L="" +EXTRA="" +WIDTH="640" +HEIGHT="480" +RESOLUTION="-x 800 -y 600" +FPS="" + +for x in $*; do + case "${x}" in + video[0-9]*) + DEVICE="${x}" + ;; + -v4l2) + V4L=":driver=v4l2" + FPS="-fps 60" + ;; + -v4l) + V4L=":driver=v4l" + FPS="-fps 60" + ;; + -audio) + AUDIO="" + ;; + -w[0-9]*) + WIDTH=`echo "${x}"|cut -c 4-` + ;; + -h[0-9]*) + HEIGHT=`echo "${x}"|cut -c 4-` + ;; + -forcefps) + FPS="-fps 30" + ;; + -nores) + RESOLUTION="" + ;; + -nofilter) + FILTER="" + ;; + *) + EXTRA="$EXTRA ${x}" + ;; + esac +done + +# main +mplayer tv:// -tv device=/dev/$DEVICE:width=$WIDTH:height=$HEIGHT$V4L$AUDIO $RESOLUTION $FILTER $FPS $EXTRA + diff --git a/multimedia/video/mplayer/mplayer/files/tr-locale-fix.patch b/multimedia/video/mplayer/mplayer/files/tr-locale-fix.patch new file mode 100644 index 0000000000..f1053aa81b --- /dev/null +++ b/multimedia/video/mplayer/mplayer/files/tr-locale-fix.patch @@ -0,0 +1,65 @@ +diff -Nur mplayer-old/libmpcodecs/dec_audio.c mplayer/libmpcodecs/dec_audio.c +--- mplayer-old/libmpcodecs/dec_audio.c 2010-05-27 19:02:33.346258636 +0300 ++++ mplayer/libmpcodecs/dec_audio.c 2010-05-27 19:02:41.915422106 +0300 +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + + #include "config.h" + #include "mp_msg.h" +@@ -143,6 +144,9 @@ + static int init_audio(sh_audio_t *sh_audio, char *codecname, char *afm, + int status, stringset_t *selected) + { ++ char *locale_data = setlocale(LC_CTYPE, ""); ++ setlocale(LC_CTYPE, "C"); ++ + unsigned int orig_fourcc = sh_audio->wf ? sh_audio->wf->wFormatTag : 0; + int force = 0; + if (codecname && codecname[0] == '+') { +@@ -231,8 +235,10 @@ + continue; // try next... + } + // Yeah! We got it! ++ setlocale(LC_CTYPE, locale_data); + return 1; + } ++ setlocale(LC_CTYPE, locale_data); + return 0; + } + +diff -Nur mplayer-old/libmpcodecs/dec_video.c mplayer/libmpcodecs/dec_video.c +--- mplayer-old/libmpcodecs/dec_video.c 2010-05-27 19:02:33.342258404 +0300 ++++ mplayer/libmpcodecs/dec_video.c 2010-05-27 19:04:23.349261664 +0300 +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + + #include "mp_msg.h" + #include "help_mp.h" +@@ -204,6 +205,10 @@ + static int init_video(sh_video_t *sh_video, char *codecname, char *vfm, + int status, stringset_t *selected) + { ++ ++ char *locale_data = setlocale(LC_CTYPE, ""); ++ setlocale(LC_CTYPE, "C"); ++ + int force = 0; + unsigned int orig_fourcc = + sh_video->bih ? sh_video->bih->biCompression : 0; +@@ -320,8 +325,10 @@ + } + // Yeah! We got it! + sh_video->initialized = 1; ++ setlocale(LC_CTYPE, locale_data); + return 1; + } ++ setlocale(LC_CTYPE, locale_data); + return 0; + } + diff --git a/multimedia/video/mplayer/mplayer/pspec.xml b/multimedia/video/mplayer/mplayer/pspec.xml new file mode 100644 index 0000000000..083e606239 --- /dev/null +++ b/multimedia/video/mplayer/mplayer/pspec.xml @@ -0,0 +1,228 @@ + + + + + mplayer + http://www.mplayerhq.hu/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + mplayer + app:gui + app:console + Media Player for Linux + MPlayer is a movie player that can run on many platforms. It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native codecs. + http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz + http://source.pisilinux.org/1.0/MPlayer_default_skin-0.1.tar.gz + + gsm-devel + atk-devel + lzo-devel + gtk2-devel + faac-devel + lirc-devel + xvid-devel + lame-devel + mesa-devel + x264-devel + enca-devel + aalib-devel + samba-devel + cairo-devel + pango-devel + libva-devel + speex-devel + faad2-devel + libdv-devel + libXv-devel + libmad-devel + giflib-devel + libdca-devel + libogg-devel + libnut-devel + a52dec-devel + mpg123-devel + openal-devel + libvpx-devel + libass-devel + libmng-devel + libsdl-devel + fribidi-devel + twolame-devel + libXvMC-devel + live555-devel + libcaca-devel + libXext-devel + libopus-devel + libvdpau-devel + rtmpdump-devel + libmpeg2-devel + alsa-lib-devel + openjpeg-devel + DirectFB-devel + libtheora-devel + libmpcdec-devel + libbluray-devel + libvorbis-devel + libdvdnav-devel + fontconfig-devel + libXrender-devel + ladspa-sdk-devel + libdvdread-devel + libXxf86vm-devel + libXinerama-devel + libXxf86dga-devel + libmatroska-devel + libcrystalhd-devel + schroedinger-devel + opencore-amr-devel + libXScrnSaver-devel + libjpeg-turbo-devel + pulseaudio-libs-devel + libcdio-paranoia-devel + jack-audio-connection-kit-devel + lzo-devel + zlib-devel + bzip2 + cdparanoia-devel + yasm-devel + gnutls-devel + libX11-devel + libmng-devel + libpng-devel + libcdio-devel + ncurses-devel + freetype-devel + + + + tr-locale-fix.patch + + + + + mplayer + mplayer + app:console + + gsm + gtk2 + xvid + lirc + enca + faac + lame + x264 + mesa + faad2 + samba + libdv + speex + aalib + libXv + libmad + libass + libdca + openal + giflib + mpg123 + libsdl + libvpx + a52dec + libogg + libnut + libopus + libXvMC + libcaca + twolame + libXext + DirectFB + openjpeg + alsa-lib + libvdpau + rtmpdump + libmpeg2 + libbluray + libdvdnav + libtheora + libvorbis + fribidi + fontconfig + libXxf86vm + libdvdread + gdk-pixbuf + libXxf86dga + libXinerama + opencore-amr + schroedinger + libcrystalhd + libjpeg-turbo + libXScrnSaver + pulseaudio-libs + libcdio-paranoia + jack-audio-connection-kit + lzo + zlib + bzip2 + gnutls + libX11 + libmng + libpng + libcdio + ncurses + freetype + + + /etc + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/man + /usr/share/mplayer + /usr/share/pixmaps + + + mplayer.png + mplayer.conf + mencoder.conf + input.conf + menu.conf + extensions + test-webcam + midentify + bash_completion + + + + + mplayer-gui + mplayer + app:gui + MPlayer gui + mplayer-gui is the default graphical frontend of MPlayer. + + mplayer + + + /usr/bin/gmplayer + /usr/share/applications + /usr/share/mplayer/skins + /usr/share/icons + + + mplayer.desktop + + + + + + 2018-04-15 + 1.3.0 + First Release. + Stefan Gronewold + groni@pisilinux.org + + + diff --git a/multimedia/video/mplayer/mplayer/translations.xml b/multimedia/video/mplayer/mplayer/translations.xml new file mode 100644 index 0000000000..fa411709bc --- /dev/null +++ b/multimedia/video/mplayer/mplayer/translations.xml @@ -0,0 +1,14 @@ + + + + mplayer + Linux için ses ve görüntü oynatıcı + MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA dosyalarını çalabilen ve farklı platformaların kütüphanelerini de kullanarak ses ve görüntü dosyaları oynatmaya yarayan uygulama. + + + + mplayer-gui + MPlayer arayüzü + mplayer-gui, MPlayer öntanımlı grafik arayüzünü içerir. + + diff --git a/multimedia/video/mplayer/pspec.xml b/multimedia/video/mplayer/pspec.xml new file mode 100644 index 0000000000..083e606239 --- /dev/null +++ b/multimedia/video/mplayer/pspec.xml @@ -0,0 +1,228 @@ + + + + + mplayer + http://www.mplayerhq.hu/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + mplayer + app:gui + app:console + Media Player for Linux + MPlayer is a movie player that can run on many platforms. It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native codecs. + http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz + http://source.pisilinux.org/1.0/MPlayer_default_skin-0.1.tar.gz + + gsm-devel + atk-devel + lzo-devel + gtk2-devel + faac-devel + lirc-devel + xvid-devel + lame-devel + mesa-devel + x264-devel + enca-devel + aalib-devel + samba-devel + cairo-devel + pango-devel + libva-devel + speex-devel + faad2-devel + libdv-devel + libXv-devel + libmad-devel + giflib-devel + libdca-devel + libogg-devel + libnut-devel + a52dec-devel + mpg123-devel + openal-devel + libvpx-devel + libass-devel + libmng-devel + libsdl-devel + fribidi-devel + twolame-devel + libXvMC-devel + live555-devel + libcaca-devel + libXext-devel + libopus-devel + libvdpau-devel + rtmpdump-devel + libmpeg2-devel + alsa-lib-devel + openjpeg-devel + DirectFB-devel + libtheora-devel + libmpcdec-devel + libbluray-devel + libvorbis-devel + libdvdnav-devel + fontconfig-devel + libXrender-devel + ladspa-sdk-devel + libdvdread-devel + libXxf86vm-devel + libXinerama-devel + libXxf86dga-devel + libmatroska-devel + libcrystalhd-devel + schroedinger-devel + opencore-amr-devel + libXScrnSaver-devel + libjpeg-turbo-devel + pulseaudio-libs-devel + libcdio-paranoia-devel + jack-audio-connection-kit-devel + lzo-devel + zlib-devel + bzip2 + cdparanoia-devel + yasm-devel + gnutls-devel + libX11-devel + libmng-devel + libpng-devel + libcdio-devel + ncurses-devel + freetype-devel + + + + tr-locale-fix.patch + + + + + mplayer + mplayer + app:console + + gsm + gtk2 + xvid + lirc + enca + faac + lame + x264 + mesa + faad2 + samba + libdv + speex + aalib + libXv + libmad + libass + libdca + openal + giflib + mpg123 + libsdl + libvpx + a52dec + libogg + libnut + libopus + libXvMC + libcaca + twolame + libXext + DirectFB + openjpeg + alsa-lib + libvdpau + rtmpdump + libmpeg2 + libbluray + libdvdnav + libtheora + libvorbis + fribidi + fontconfig + libXxf86vm + libdvdread + gdk-pixbuf + libXxf86dga + libXinerama + opencore-amr + schroedinger + libcrystalhd + libjpeg-turbo + libXScrnSaver + pulseaudio-libs + libcdio-paranoia + jack-audio-connection-kit + lzo + zlib + bzip2 + gnutls + libX11 + libmng + libpng + libcdio + ncurses + freetype + + + /etc + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/man + /usr/share/mplayer + /usr/share/pixmaps + + + mplayer.png + mplayer.conf + mencoder.conf + input.conf + menu.conf + extensions + test-webcam + midentify + bash_completion + + + + + mplayer-gui + mplayer + app:gui + MPlayer gui + mplayer-gui is the default graphical frontend of MPlayer. + + mplayer + + + /usr/bin/gmplayer + /usr/share/applications + /usr/share/mplayer/skins + /usr/share/icons + + + mplayer.desktop + + + + + + 2018-04-15 + 1.3.0 + First Release. + Stefan Gronewold + groni@pisilinux.org + + + diff --git a/multimedia/video/mplayer/translations.xml b/multimedia/video/mplayer/translations.xml new file mode 100644 index 0000000000..fa411709bc --- /dev/null +++ b/multimedia/video/mplayer/translations.xml @@ -0,0 +1,14 @@ + + + + mplayer + Linux için ses ve görüntü oynatıcı + MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA dosyalarını çalabilen ve farklı platformaların kütüphanelerini de kullanarak ses ve görüntü dosyaları oynatmaya yarayan uygulama. + + + + mplayer-gui + MPlayer arayüzü + mplayer-gui, MPlayer öntanımlı grafik arayüzünü içerir. + + diff --git a/pisi-index.xml b/pisi-index.xml index ca21621e8d..0ba0bf0d40 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -149792,6 +149792,462 @@ Bu Skype SILK codec ve Xiph.Org 's Celt codec teknolojisi dahil RFC 6716 ol + + + mplayer + http://www.mplayerhq.hu/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + app:gui + app:console + multimedia.video + Media Player for Linux + Linux için ses ve görüntü oynatıcı + MPlayer is a movie player that can run on many platforms. It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native codecs. + MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA dosyalarını çalabilen ve farklı platformaların kütüphanelerini de kullanarak ses ve görüntü dosyaları oynatmaya yarayan uygulama. + mplayer + http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz + http://source.pisilinux.org/1.0/MPlayer_default_skin-0.1.tar.gz + + gsm-devel + atk-devel + lzo-devel + gtk2-devel + faac-devel + lirc-devel + xvid-devel + lame-devel + mesa-devel + x264-devel + enca-devel + aalib-devel + samba-devel + cairo-devel + pango-devel + libva-devel + speex-devel + faad2-devel + libdv-devel + libXv-devel + libmad-devel + giflib-devel + libdca-devel + libogg-devel + libnut-devel + a52dec-devel + mpg123-devel + openal-devel + libvpx-devel + libass-devel + libmng-devel + libsdl-devel + fribidi-devel + twolame-devel + libXvMC-devel + live555-devel + libcaca-devel + libXext-devel + libopus-devel + libvdpau-devel + rtmpdump-devel + libmpeg2-devel + alsa-lib-devel + openjpeg-devel + DirectFB-devel + libtheora-devel + libmpcdec-devel + libbluray-devel + libvorbis-devel + libdvdnav-devel + fontconfig-devel + libXrender-devel + ladspa-sdk-devel + libdvdread-devel + libXxf86vm-devel + libXinerama-devel + libXxf86dga-devel + libmatroska-devel + libcrystalhd-devel + schroedinger-devel + opencore-amr-devel + libXScrnSaver-devel + libjpeg-turbo-devel + pulseaudio-libs-devel + libcdio-paranoia-devel + jack-audio-connection-kit-devel + lzo-devel + zlib-devel + bzip2 + cdparanoia-devel + yasm-devel + gnutls-devel + libX11-devel + libmng-devel + libpng-devel + libcdio-devel + ncurses-devel + freetype-devel + + + tr-locale-fix.patch + + multimedia/video/mplayer/pspec.xml + + + mplayer + app:console + mplayer + + gsm + gtk2 + xvid + lirc + enca + faac + lame + x264 + mesa + faad2 + samba + libdv + speex + aalib + libXv + libmad + libass + libdca + openal + giflib + mpg123 + libsdl + libvpx + a52dec + libogg + libnut + libopus + libXvMC + libcaca + twolame + libXext + DirectFB + openjpeg + alsa-lib + libvdpau + rtmpdump + libmpeg2 + libbluray + libdvdnav + libtheora + libvorbis + fribidi + fontconfig + libXxf86vm + libdvdread + gdk-pixbuf + libXxf86dga + libXinerama + opencore-amr + schroedinger + libcrystalhd + libjpeg-turbo + libXScrnSaver + pulseaudio-libs + libcdio-paranoia + jack-audio-connection-kit + lzo + zlib + bzip2 + gnutls + libX11 + libmng + libpng + libcdio + ncurses + freetype + + + /etc + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/man + /usr/share/mplayer + /usr/share/pixmaps + + + mplayer.png + mplayer.conf + mencoder.conf + input.conf + menu.conf + extensions + test-webcam + midentify + bash_completion + + + + mplayer-gui + MPlayer gui + MPlayer arayüzü + mplayer-gui is the default graphical frontend of MPlayer. + mplayer-gui, MPlayer öntanımlı grafik arayüzünü içerir. + app:gui + mplayer + + mplayer + + + /usr/bin/gmplayer + /usr/share/applications + /usr/share/mplayer/skins + /usr/share/icons + + + mplayer.desktop + + + + + 2018-04-15 + 1.3.0 + First Release. + Stefan Gronewold + groni@pisilinux.org + + + + + + mplayer + http://www.mplayerhq.hu/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + app:gui + app:console + unknown + Media Player for Linux + Linux için ses ve görüntü oynatıcı + MPlayer is a movie player that can run on many platforms. It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native codecs. + MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA dosyalarını çalabilen ve farklı platformaların kütüphanelerini de kullanarak ses ve görüntü dosyaları oynatmaya yarayan uygulama. + mplayer + http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz + http://source.pisilinux.org/1.0/MPlayer_default_skin-0.1.tar.gz + + gsm-devel + atk-devel + lzo-devel + gtk2-devel + faac-devel + lirc-devel + xvid-devel + lame-devel + mesa-devel + x264-devel + enca-devel + aalib-devel + samba-devel + cairo-devel + pango-devel + libva-devel + speex-devel + faad2-devel + libdv-devel + libXv-devel + libmad-devel + giflib-devel + libdca-devel + libogg-devel + libnut-devel + a52dec-devel + mpg123-devel + openal-devel + libvpx-devel + libass-devel + libmng-devel + libsdl-devel + fribidi-devel + twolame-devel + libXvMC-devel + live555-devel + libcaca-devel + libXext-devel + libopus-devel + libvdpau-devel + rtmpdump-devel + libmpeg2-devel + alsa-lib-devel + openjpeg-devel + DirectFB-devel + libtheora-devel + libmpcdec-devel + libbluray-devel + libvorbis-devel + libdvdnav-devel + fontconfig-devel + libXrender-devel + ladspa-sdk-devel + libdvdread-devel + libXxf86vm-devel + libXinerama-devel + libXxf86dga-devel + libmatroska-devel + libcrystalhd-devel + schroedinger-devel + opencore-amr-devel + libXScrnSaver-devel + libjpeg-turbo-devel + pulseaudio-libs-devel + libcdio-paranoia-devel + jack-audio-connection-kit-devel + lzo-devel + zlib-devel + bzip2 + cdparanoia-devel + yasm-devel + gnutls-devel + libX11-devel + libmng-devel + libpng-devel + libcdio-devel + ncurses-devel + freetype-devel + + + tr-locale-fix.patch + + multimedia/video/mplayer/mplayer/pspec.xml + + + mplayer + app:console + mplayer + + gsm + gtk2 + xvid + lirc + enca + faac + lame + x264 + mesa + faad2 + samba + libdv + speex + aalib + libXv + libmad + libass + libdca + openal + giflib + mpg123 + libsdl + libvpx + a52dec + libogg + libnut + libopus + libXvMC + libcaca + twolame + libXext + DirectFB + openjpeg + alsa-lib + libvdpau + rtmpdump + libmpeg2 + libbluray + libdvdnav + libtheora + libvorbis + fribidi + fontconfig + libXxf86vm + libdvdread + gdk-pixbuf + libXxf86dga + libXinerama + opencore-amr + schroedinger + libcrystalhd + libjpeg-turbo + libXScrnSaver + pulseaudio-libs + libcdio-paranoia + jack-audio-connection-kit + lzo + zlib + bzip2 + gnutls + libX11 + libmng + libpng + libcdio + ncurses + freetype + + + /etc + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/man + /usr/share/mplayer + /usr/share/pixmaps + + + mplayer.png + mplayer.conf + mencoder.conf + input.conf + menu.conf + extensions + test-webcam + midentify + bash_completion + + + + mplayer-gui + MPlayer gui + MPlayer arayüzü + mplayer-gui is the default graphical frontend of MPlayer. + mplayer-gui, MPlayer öntanımlı grafik arayüzünü içerir. + app:gui + mplayer + + mplayer + + + /usr/bin/gmplayer + /usr/share/applications + /usr/share/mplayer/skins + /usr/share/icons + + + mplayer.desktop + + + + + 2018-04-15 + 1.3.0 + First Release. + Stefan Gronewold + groni@pisilinux.org + + + vo-aacenc diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index 1522b5e253..40098e7d17 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -c018c40200d0713af415751df1707bfe06a18c47 \ No newline at end of file +844efca36ab361b4d367d9000b4e07c13f7c0e99 \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index f197620c08..ae2d9302d7 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index d48ca2b126..9c1090815f 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -3e8ef7c8bfb53592113c05d5375ae07f76da42e1 \ No newline at end of file +b4330daea8276e0e0e394325123cbe104ce657ba \ No newline at end of file