MPlayer
9 October 2005

Guides and documentation

Mplayer documentation, local version -- see mplayer-doc package

Mplayer's information on codecs http://www.mplayerhq.hu/DOCS/codecs.html
Re-synchronizing video and audio: /usr/share/doc/mplayer-doc/tech/encoding-tips.txt

Commands
  • gmplayer <filename>
  • gmplayer -dvd 5
  • mplayer -vc wmv8 (for asf and some wmv files)
    • get the windows dll codecs from marillat
  • Viewing a DVD iso from a hard disk
    • mplayer file.iso (no menus or chapters available)
    • xine dvd:/full-path/file.iso (for menus and chapters)
  • Play in framebuffer (try both)
    • mplayer -vo directfb *.xvid
    • mplayer -vo fbdev *.xvid
  • Dump DVD to file
    • mplayer -dvd title-number -dumpstream -dumpfile output.vob
  • Dump streaming media to file
    • mplayer -dumpstream <mrl>
    • mplayer -dumpstream mms://windowsmedia.dvlabs.com/adcritic/honda-cog.asf
    • mplayer rtsp://real.npr.na-central.speedera.net:80/real.npr.na-central/atc/20041124_atc_12.rm -dumpstream -dumpfile bittorrent.rm
  • Play files from audible.com
    • mplayer -cache 64 -playlist <URL>
This is extremely elegant -- the file is captured perfectly, instead of having to be viewed while buffering and sputtering.  The file name is not retained; the video is instead written to ./stream.dump. This can also be used to rip a DVD, but the main use is to make a perfect capture of streaming video. Rename stream.dump to a useful file name and play with xine or mplayer.
  • SSH DVD
    •  Use ssh to mount a DVD on cyberspace (mount /media/dvd)
    •  gmplayer -dvd 7 -framedrop (works fine, but no sound)
  • NFS DVD (doesn't work on encrypted DVDs)
    • gmplayer -dvd 7 -dvd-device /cyberspace/media/dvd
    • The problem is that libdvdread doesn't see the drive
The gmplayer loads the GUI . The sound is working great, but it goes slightly out of synch -- not sure what to do.. The parameters are set in ~/.mplayer/config -- see also the codec file in the same directory.

In response to mplayer startup messages, I issued the following as root:

    chmod 666 /dev/rtc
    echo 1024 > /proc/sys/dev/rtc/max-user-freq

As a reward, I got this from mplayer:

    Using Linux hardware RTC timing (1024Hz)

Software

Related local pages

Flags for compiling mplayer

Consider including these next time you compile mplayer (not done in years):

configure &&
--enable-gui &&
--enable-mad &&
--enable-3dfx &&
--enable-largefiles &&
--with-xanimlibdir &&
--with-xvidcore=/home/steen/mnt/giant/cvs/xvidcore/build/generic/libcore.a

Last time, I had to leave off before installing the VIVO codecs, as KDE started misbehaving.

Codecs

See also under avifile, and the help.txt file under /usr/cvs on both cyberspace and gubbio (largely gubbio).

Mplayer's information on codecs
http://www.mplayerhq.hu/DOCS/codecs.html

I got the codec dlls for a libc 6 system (which is what I have) from xanim, which also work for mplayer:
http://xanim.va.pubnix.com/xa_dlls.html

"XAnim is video codec family number 10, so you may want to use the -vfm 10 option to tell MPlayer to use them if possible."

They all got installed on gubbio and cyberspace in /usr/lib/xanim/mods

Specifically, I got:

Creative CYUV Video Decompression for AVI
CCITT H.261 Video Decompression for AVI
CCITT H.263 Video Decompression for AVI
Intel YVU9 and Indeo 3.2 Decompression for AVI and Quicktime
Intel Indeo 4.1 Decompression for AVI and Quicktime
Intel Indeo 5.0 Decompression for AVI and Quicktime
Radius Cinepak Video Decompression for AVI and Quicktime

See http://xanim.va.pubnix.com/linuxELFx86c6.html for details.


 

 

 

top

Debate
Evolution
CogSci

Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles


CogWeb