Difference between revisions of "MPlayerWii"

From WiiBrew
Jump to navigation Jump to search
m (→‎How to Build: minor reformatting)
Line 89: Line 89:
==Unofficial Versions==
==Unofficial Versions==
=== mplayerwii v0.03 Vader347 ===
=== mplayerwii v0.03 Vader347 ===
[http://www.flyupload.com/?fid=7086854 Vader347's version of mplayerwii v0.03] fixes the widescreen bug.  Vader347 claims that the only real change is one chunk of code (as recommended by pepsiman):  
[http://www.flyupload.com/?fid=7086854 Vader347's version of mplayerwii v0.03] fixes the widescreen bug.  Vader347 claims that the only real change is one chunk of code (as recommended by [[User:Pepsiman|Pepsiman]]):  
Line 104: Line 104:
===MPlayer - dvdlib edition===
===MPlayer - dvdlib edition===
© 2008 Team Twiizers
© 2008 Team Twiizers

Revision as of 15:02, 13 August 2008

Template:Infobox homebrewapp MPlayerWii is an audio/video player. It is a native port of the MPlayer media player. It will play almost any kind of audio file but still needs improvement on video playback.


Place video and audio files on the root folder of your SD card.

Button Action
Wiimote D-Pad Up Select a File [up]
Wiimote D-Pad Down Select a File [down]
Wiimote A Button Play a file
Wiimote HOME Button Return to Loader

Or when playing a file:

Button Action
Wiimote D-Pad Left Skip Backward
Wiimote D-Pad Right Skip Forward
Wiimote D-Pad Up Volume Up
Wiimote D-Pad Down Volume Down
Wiimote A Button Pause/Unpause
Wiimote HOME Button Return to File Select

File formats tested

  • Containers: AVI, WMV, MKV, MP3, FLV (Flash Video), MP4, M4V, QuickTime
  • Video codecs: Xvid, DivX, Windows Media, MPEG 1/2, H.264
  • Audio codecs: MP1/2/3, Windows Media, AAC

It should also work with other formats


  • Color banding



  • mount/unmount the SD card and/or USB drive so you can swap them out without reloading MPlayerWii
  • added USB read-ahead cache
  • added preliminary samba network share support
  • fixed startup crash when a usblan or usb keyboard is attached
  • added network streaming cache
  • added video scaling with the nunchuk (use joystick to move, Z button to stretch and C to reset)
  • added configuration file (put in the SD root folder)
  • new ascii logo by sensah


  • added USB storage support (USB reading is dead slow unfortunately, only good for MP3 files)
  • added volume controls (Up/Down buttons on the wiimote)
  • added wiimote buttons repeat during playback
  • added preliminary test network streaming (shoutcast and mms)
  • longer filename display in the file selection screen
  • fix for widescreen aspect ratio (uses the Wii display settings)
  • more audio playback fixes


  • added svenp's libfat patches (better read speed on SD cards)
  • added pause button (A button on the wiimote)
  • disabled MPlayer's error/status text during video playback
  • file list now displays 20 files instead of 10
  • improved audio playback code


  • Initial release. Full of bugs, audio sync code is awful and will probably crash often. Also, there's room for lots of speed improvements.


MPlayerWii was ported by rOn (aka fcorbier).


Unofficial Versions

mplayerwii v0.03 Vader347

Vader347's version of mplayerwii v0.03 fixes the widescreen bug. Vader347 claims that the only real change is one chunk of code (as recommended by Pepsiman):


rmode = VIDEO_GetPreferredMode(NULL);

if( CONF_GetAspectRatio() )
	rmode->viWidth = 678;
	rmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678)/2;


MPlayer - dvdlib edition

© 2008 Team Twiizers Template:Infobox homebrewapp


This is a native MPlayer Wii port. The main focus has been DVD-Video playback on modified and unmodified consoles. Although you can open and view various media files from SD card, this is largely untested. At this time it can not read files off data DVD's, just DVD-Video discs.


This application requires a valid and working DVDX stub install, please refer to its README for setup instructions. A DVD-Video disc, either pressed or with the DVD-ROM booktype, might also come in handy.


Just copy the "mplayer" folder into the "/apps" directory on your sd card and launch it via the HBC.


When launching this application you will be presented by a basic on screen menu. All options should be self-explanatory, here're some hints:

  • High bitrate video streams may lead to dropped frames. This really depends on the used DVD-Video. Some fullscreen movies seem to have the same issue.
  • Hiding the menu and disabling subtitles improves the performace a little.
  • Playing DVD's with libdvdnav is buggy and decreases performace (read: way more dropped frames)
  • Choosing a DTS audio track results in noise and breaks things.
  • Choosing non-playable files from SD makes it crash & burn.


You can use a wiimote or a gamecube pad to interact:

A - Pause
1/X - Toggle on screen menu
RIGHT - Seek 10s forward
LEFT - Seek 10s backward
UP - Seek 60s forward
DOWN - Seek 60s backward
+/R - Seek to the next chapter
-/L - Seek to the previous chapter
HOME/Z - Quit
When watching DVD's using libdvdnav:
2/Y - Modifier key for libdvdnav

Hold this key and use RIGHT / LEFT / UP / DOWN / A / B / 1/X to navigate.


This port was made possible by the following people:

DVDX stub 
libdvdcss port 
mplayer port 
12 stage TEV YUV12 GX voodoo 
menu loop animation 

This port is powered by devkitPPC and libogc. Thanks go out to the HBC beta team for testing!

How to Build

3 subversion repositories are required to build this port, the revisions used for this binary are:

  • libdvdread r1120
  • libdvdnav r1120
  • mplayer r27458
  1. get the repositories via:
    svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread libdvdread-trunk
    svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav-trunk
    svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer-trunk
  2. apply the patches
  3. edit libdvdread's and libdvdnav's config.mak and adjust SRC_PATH and SRC_PATH_BARE
  4. build libdvdread with `make`, then `make install`
  5. build libdvdnav with `make`, then `make install`
  6. build mplayer with `make`, test your build using `make upload`

Team Twiizers