Mplayer

From MediaWiki

Jump to: navigation, search

Contents

Overview

mplayer

This is the port of mplayer, a project which has the effort to become a very stable and useful movie player and encoder.

It is based on the windows codec compilation and provides the ability to play many formats in a very good quality without much CPU comsumption.

Support for ffmpeg, quicktime and DVD are also included.

mplayerplug-in

A Mozilla plugin that uses MPlayer to play videos from websites.

Compile / Install

OS Environment

  • FreeBSD 6.1
  • ports-current

pkgtools.conf

[buffy] ~> grep mplayer /usr/local/etc/pkgtools.conf
'multimedia/mplayer' => 'WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION=yes
WITH_GTK2=yes WITH_RTC=yes WITH_ARTS=yes',

Install

[buffy] ~> sudo portinstall multimedia/mplayer multimedia/mplayer-fonts www/mplayer-plugin

Configuration

Mplayer

[buffy] ~> cd /usr/ports/multimedia/mplayer
[buffy] /usr/ports/multimedia/mplayer> make install-user

[buffy] ~> cat ~/.mplayer/config 
# Write your default config options here!
monitoraspect = 16:9

input.conf

219:~ shanu$ cat .mplayer/input.conf 
MOUSE_BTN0_DBL vo_fullscreen

Browser Plugins

[buffy] ~> cd .mozilla/plugins/
[buffy] ~/.mozilla/plugins> lndir /usr/X11R6/lib/browser_plugins/ .
[buffy] ~/.mozilla/plugins> ls
gxineplugin.so         mplayerplug-in-gmp.xpt mplayerplug-in-wmp.so
libflashplayer.so      mplayerplug-in-qt.so   mplayerplug-in-wmp.xpt
libjavaplugin_oji.so   mplayerplug-in-qt.xpt  mplayerplug-in.so
libmozsvgdec.so        mplayerplug-in-rm.so   mplayerplug-in.xpt
mplayerplug-in-gmp.so  mplayerplug-in-rm.xpt  nphelix.so
  • The mplayer browser plugins work only with mozilla

Mac OSX

Install for macports

port install mplayer

Resources

Personal tools