In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "MPlayerWii"

From WiiBrew
Jump to navigation Jump to search
('''MPlayer - dvdlib edition!''')
m (added icon)
Line 107: Line 107:
 
© 2008 Team Twiizers
 
© 2008 Team Twiizers
 
{{Infobox homebrewapp
 
{{Infobox homebrewapp
| image      = [[Image:Lines_MediaPlayer.png]]
+
| image      = [[Image:Mplayer-dvdlib-ed.png|128px]]
 
| title      = MPlayer - dvdlib edition
 
| title      = MPlayer - dvdlib edition
 
| desc        = Video/audio player
 
| desc        = Video/audio player

Revision as of 04:13, 13 August 2008

MPlayerWii
Lines MediaPlayer.png
General
Author(s)rOn
TypeMedia
Links
[[v0.04|Download]]
[[v0.04 sourcecode|Source]]
Peripherals
Wiimote1.svg Loads files from the Front SD slot USB mass storage device

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.

Usage

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

Bugs

  • Color banding

Changelog

v0.04

  • 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

v0.03

  • 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

v0.02

  • 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

v0.01

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

Credits

MPlayerWii was ported by rOn (aka fcorbier).

Website

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

MPlayer - dvdlib edition
Mplayer-dvdlib-ed.png
General
Author(s)Team Twiizers
TypeMedia
Links
[[rev 27458|Download]]
Source
Peripherals
Wiimote1.svg GameCube Controller DVD Drive Loads files from the Front SD slot

About

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.

Requirements

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.

Install

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

Run

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.

Controls

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

A - Pause
B - OSD
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.

Credits

This port was made possible by the following people:

dvdlib
Erant
DVDX stub
marcan
libdvdcss port
svpe
mplayer port
dhewg
12 stage TEV YUV12 GX voodoo
sepp256
menu loop animation
drmr

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:
  1. apply the patches
  2. edit libdvdread's and libdvdnav's config.mak and adjust SRC_PATH and SRC_PATH_BARE
  3. build libdvdread with `make`, then `make install`
  4. build libdvdnav with `make`, then `make install`
  5. build mplayer with `make`, test your build using `make upload`

Enjoy,
Team Twiizers