Usage
#Playing ISO DVD with mplayer mplayer -dvd-device movie.iso dvd://1 #Play DVD on the G: drive mplayer -fs dvd:// -dvd-device G: # At runtime, press # to change language #Play mediafile in loop mplayer -loop 0 mediafile #Play at a specific interval of a video mplayer -ss 1:33:28 -endpos 1:50:15 -loop 0 <file>
- http://wiki.archlinux.org/index.php/DVD
- http://forums.debian.net/viewtopic.php?t=30795&highlight=&sid=cb160b6162717a3e00783d228945f1e3
- http://forums.debian.net/viewtopic.php?t=17783
- http://bamos.github.io/2014/07/05/mpv-shell-rc/ (Improving mpv as a music player with Bash/Zsh shell functions)
Install Codecs
- Download Windows x86 xxxx from http://www.mplayerhq.hu/design7/dload.html
- Create a codecs folder
mkdir /usr/lib/codecs
- Decompress the download archive and copy all files to /usr/lib/codecs
unzip windows-essential-20071007.zip cd windows-essential-20071007 cp * /usr/lib/codecs
Example of config file
If you use gmplayer, you can do it the preferences dialog, if not you should edit ~/.mplayer/config. The settings for the config file are: subfont-autoscale and subfont-text-scale. Check the man pages (http://tivo-mplayer.sourceforge.net/docs/mplayer-man.html) for the values they can take. As an example here's the part about subtitles in my config file: #========== # Subtitles #========== # VobSubs #======== # Align VobSubs (-1: as they want to align themselves) spualign=-1 # Anti-alias VobSubs (4: best and slowest) spuaa=4 # Default VobSub language to select slang=fi,fin,en,eng # Text-based subtitles #===================== # Find subtitle files (1: load all subs containing movie name) sub-fuzziness=1 # Font font=/home/osmo/.fonts/sapientsans/Sapi005.ttf # Font encoding subfont-encoding=unicode # Subtitle file encoding utf8=yes # Resample the font alphamap (10: bold black outline) ffactor=10 # Subtitle position (100: as low as possible) subpos=100 # Subtitle alignment at its position (2: bottom) subalign=2 # Font size (2: proportional to movie width) subfont-autoscale=2 # Font blur radius (default: 2) subfont-blur=1.0 # font outline thickness (default: 2) subfont-outline=1.0 # Autoscale coefficient of the subtitle (default: 5) subfont-text-scale=4.0 # OSD #==== # Autoscale coefficient of the OSD elements (default: 6) subfont-osd-scale=4.2
http://kevin.deldycke.com/tag/mplayer/
To check:
/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv -ao alsa -zoom -nokeepaspect -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 83886090 -monitorpixelaspect 1 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -aid 1 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 0 -nocache -ss 1275 -osdlevel 0 -vf-add screenshot -vf-add eq2,hue -channels 2 -af scaletempo -softvol -softvol-max 110 /media/some_videos_dvd/funny_video.avi
http://ubuntuforums.org/showthread.php?t=1154431
#Squeeze echo "deb http://www.debian-multimedia.org squeeze main non-free" >>/etc/apt/sources.list aptitude update aptitude -y install w32codecs libdvdcss2 mplayer