GeeXboX

From WiiBrew
(Redirected from Geexbox)
Jump to navigation Jump to search
GeeXboX
Geexbox.gif
General
Author(s)farter
TypeMedia player
Version0.1beta3 IOS/MINI
LicenceMixed
Links
Download
Website
Source
Downloadable via the Homebrew Browser
Peripherals
Wiimote1.svg USB Keyboard Loads files from the Front SD slot USB mass storage device Bluetooth

GeeXboX is a media center program built on Wii Linux. It uses MPlayer with a graphical front end. It can play videos and music (with visualization) and display photo slideshows.

Specially added features in the Wii port are: bluetooth (remote control, obex file push, networking and audio partially working), USB storage, USB Ethernet, http/telnet/ftp server, netstreaming, image viewer, goom visuals for audio playback, .... Most of added features are fully or partially tested, some are not, yet.

Requirements

  • SD card (some SDHC also work, formatted in FAT/FAT32)

Optional

  • USB keyboard
  • Bluetooth mobile phone (MIDP 2.0-compatible with AT+CMER implementation)
  • USB ethernet adapter/PC-to-PC link cable (theoretically any model supported by linux 2.6.24.4 should work)
  • USB storage (flash disks, card readers, external enclosures, etc. Supports reading of nearly all major *nix/Win/Mac partition types and writing the majority of them except NTFS/UFS)

Installation

Note: The video is of an Old Demo, not the current build.







Homebrew Channel users just need to copy everything into the root directory of your SD card and select GeeXboX in the channel.

TP hack users have to copy or move apps/geexbox/boot.elf to the root directory of your SD card and start the hack.

Other homebrew loaders that support front SD might also work. Consult their documentation for how.

Regardless of the loader, the GEEXBOX file tree MUST reside in the root directory of SD card.

Controls

Wiimote

By default the wiimote is the remote control (To change, edit GEEXBOX/settings and change the value of 'REMOTE' accordingly). When the bootsplash progress bar is reaching its end, press '1' and '2' together. If the wiimote is found and connected, all four LEDs will light up and wiimote will rumble for 2 seconds. If not, press '1' and '2' to retry after LEDs stop flashing.

Wiimote.svg Action
Wiimote 1 Button+Wiimote 2 Button connect wiimote to GeexBox
Wiimote D-Pad navigate OSD menu/move image
Wiimote HOME Button OSD menu display/autozoom image
Wiimote A Button pause playback/start and pause/restart slide show
Wiimote B Button+Wiimote D-Pad navigate DVD menu
Wiimote B Button+Wiimote A Button select in DVD menu/view image in original size
Wiimote B Button+Wiimote HOME Button stop playback/quit slide show
Wiimote - Button/Wiimote + Button control volume/scale image
Wiimote B Button+Wiimote - Button/Wiimote + Button seek forward/backward during playback
Wiimote 1 Button/Wiimote 2 Button play previous/next item in playlist/slide show
Wiimote B Button+Wiimote 1 Button/Wiimote 2 Button unmount and mount front SD
Wiimote B Button+Wiimote A Button+Wiimote 1 Button/Wiimote 2 Button reboot or shutdown

(No, you don't have to point your wiimote at the sensor bar, which isn't powered on anyway.) Don't press the 'power' button on wiimote. Doing that will not shutdown GeeXboX and you will have to reconnect by pressing '1' and '2' again. To add or change button definitions, edit GEEXBOX/etc/lirc/lircd_wiimote.conf and lircrc_wiimote.

USB keyboard

The default keyboard layout is qwerty. To change, edit GEEXBOX/settings and change the value of 'KEYMAP' accordingly. For more info on keyboard controls, view help in menu, consult GEEXBOX/etc/mplayer/input.conf or the GeeXboX site (http://www.geexbox.org/en/controls.html, some info is outdated though).

Bluetooth mobile phone

Not all bluetooth-enabled phones are usable. For an incomplete list of usable models, see http://anyremote.sourceforge.net/devices.html (GeeXboX for wii does not use anyremote though). Models listed as working in bluetooth AT mode should be usable. You have to specify the bluetooth MAC of your mobile in GEEXBOX/etc/bluez. When GeeXboX boots up and finds your mobile, you will be prompted for password. The default password is '0000'. Key definitions in this release are based on Benq-Siemens S68. To use other models or to customize key definitions, you many have to edit GEEXBOX/etc/lirc/lircd_bluemobile.conf and lircrc_bluemobile. Some (Sony)Ericsson models can also be used with the 'bte' driver (GEEXBOX/etc/lirc/lircd_bte.conf and lircrc_bte).

Gamecube Controller

GCN analog input is read, though NOT supported. For example, there is no way to get the menu back once it has been cleared from the screen and response to analog input is spotty and erratic.

Supported Formats

All audio/video formats supported by MPlayer (yes, rmvb included), with the exception of WMV9 audio.

Supported Media Sources

  • Front SD (to swap, use the Wiimote/OSD menu and follow the messages)
  • USB storage (hot swappable. Card readers must be disconnected before swapping cards)
  • Network shares (NFS/Plan 9 shares must be added manually before boot, uPnP shares are auto-discovered and mounted after boot, Samba/Windows shares can be used either way)
  • HTTP/UDP/RTP/RSTP network streams (Shoutcast, Icecast, LAN unicast, Multicast and VOD) (addresses manually defined before boot)

Customization

Customization requires manual editing of files in the GEEXBOX folder. It is probably better to edit files on harddisk and then copy them to SD card, as opposed to editing files on SD card directly. Windows users are also advised to use *nix-compatible editors such as UltraEdit, rather than Notepad or Wordpad. Please remember that corrupt or incorrectly modified file may cause boot failure!

Language and font

The default language is English. To change, edit GEEXBOX/settings and change the value of 'MENU_LANG' (for menu language) and 'SUB_CHARSET' (for subtitle language) accordingly. For some languages/charsets, for instance east Asian languages, you will have to provide necessary fonts for the settings to work. Consult GEEXBOX/etc/lang.conf for the correct font file name and make sure corresponding file is saved in GEEXBOX/usr/share/fonts. Alternatively, you can edit lang.conf to match the name of your font file. Please try not to use large size font files as they take up precious memory and affect playback quality.

Boot into console mode: edit GEEXBOX/settings and change the value of 'RUNLEVEL' to 'debug'. Enter "exit" in console to start GUI.

Themeing

The boot splash is hard coded into boot.elf and therefore not easily customizable for most users. To change the default background image/video, replace GEEXBOX/usr/share/mplayer/background.avi. Again, avoid using large file for your own good.

Other customizations

Bluetooth, obex, network, netstream, net shares and so on are customized by manually editing corresponding files in GEEXBOX/etc. Simple explanations are included for almost all the settings. You can also find more detailed help on some of these settings from http://www.geexbox.org/en/doc.html or by visiting the forum.

Extra Information

This is based on the GameCube Linux team's whiite-linux-0.1a and a recent devel version of GeeXboX. Whiite-linux-0.1a includes support for Wii USB host controller, however, support for native wifi and DVD is still missing, and USB host controller support is imperfect, making some USB-related functions unusable.

In short, this is a full-featured GeeXboX port. Nearly all GeeXboX features available in current mainstream GeeXboX devel version and within current Wii linux capabilities are incorporated, with added bluetooth and obex support.

USB performance

The Wii USB interface is supposedly 1.1, meaning the max speed is 12Mbps, or slightly over 1MB/s. So as of this release, front SD is probably still faster than any other storage media usable, including network shares, although not by that much. In addition, USB is resource-costly and current implementation of USB in linux for Wii is buggy. So don't expect performance of USB devices on Wii to be comparable to what you get on your PC. Nevertheless, USB 2.0 devices are still preferable.

Bluetooth

Bluetooth audio and networking only work partially in this release, most likely a result of imperfections in USB implementation. Bluetooth headphones can be connected but audio is broken. Telnet over bluetooth works, although some commands seem to hang the session. Http and ftp can't seem to get past the initial data transfer. Pushing files to Wii is working, although speed is slow. Pushing files from Wii to other devices is unstable. Sometimes small files get pushed successfully, sometimes transfer halts midway.

Network sources

If you want to use shoutcast/icecast etc., remember to set long blacklist or short white list in GEEXBOX/etc/netstream. Better still, just define a few netstreams pointing to the broadcasts you desire and disable shoutcast/icecast scan. The reason for this is because every broadcast url obtained by GeeXboX from scanning the server is saved in Wii memory as a playlist file. Thousands of such small files soon eat up all available space. For uPnP shares over lan, avoid exporting huge and complex directories.

Aspect ratio

By default, all video will scale to 640 pixel width while keeping the original aspect ratio. If the scaled height exceeds the screen height (for instance 480 pixel for NTSC Wii), the video won't play. This means for NTSC Wii, all video must have an aspect ratio of 4:3 (640:480) or greater. If your video happens to have the 'wrong' aspect ratio, you may consider editing the 'xy=640' option in /GEEXBOX/etc/mplayer/mplayer.conf. For details, consult MPlayer's online documentation at http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html.

Changelog

2010-02-28: 0.1.3b

  • Updated linux to 2.6.32.9
  • Updated ffmpeg to r21465
  • Updated MPlayer to r30437
  • Fixed compatibility with certain charset encodings

2009-12-25: 0.1.2b

  • Updated linux to 2.6.32.2
  • Fixed compatibility with multi-channel audio
  • Fixed issues with device mounting/unmounting

2009-10-16: 0.1.8a

  • Updated linux to 2.6.29.6
  • Updated MPlayer and ffmpeg to 2009-10-03 snapshots
  • Added fuseiso to handle more disc image formats
  • Fixed OSD and aspect ratio in FBI image viewer
  • Added compatibility with new HBC title ID

2009-04-23: 0.1.7a

  • Updated linux to 2.6.29.1
  • Support for reading exFAT partition
  • Fixed wiimote (re)connection

2009-03-21: 0.1.6a

  • Updated linux to 2.6.27.19
  • Updated MPlayer to r28852
  • Map seeking to arrow keys too
  • Fixed mounting usb storages at bootup
  • Fixed unmounting disc images

2009-03-14: 0.1.5a

  • Updated linux to 2.6.24.7
  • Support for SDHC (partial)
  • Updated MPlayer to r28184
  • Fixed boot from SD cards with no partition table
  • Support for SD cards with multi-partitions
  • Use built-in unrar
  • Dropped support for non-open binary codecs
  • Disabled most playback-unrelated services by default

2008-10-18: 0.1.4a

  • Reverted libswscale to fix GOOM audio visual rendering
  • Improved GOOM audio visual performance
  • Improved performance in lowering subtitle mode
  • Made lowering subtitles work with DVD-VIDEO
  • Made lowering subtitles work with on-the-fly aspect ratio change
  • Support for optional mounting .nrg (DVD only) and .iso image file
  • Display CPU version number in OPTIONS -> INFO
  • Updated GCC to 4.3.2

2008-10-01: 0.1.3a

  • Implementation of optional 'vsync' to improve screen tearing in certain cases
  • Support for on-the-fly aspect ratio change
  • Fixed DVD-VIDEO aspect ratio error when switching between menu and movie
  • Disabled libass to fix lagging and freezing caused by text subtitles
  • Disabled colored spu to fix DVD-VIDEO/vobsub subtitile display
  • Support for vobsub subtitles in rar archive format
  • Support for optionally lowering subtitles into blackbars
  • Fixed subtitle charset conversion
  • Updated to MPlayer r27630

2008-08-08: 0.1.2a

  • Simplified wiimote connection and reconnection
  • Auto-repeat wiimote commands when buttons are held down
  • Updated Kernel patch
  • Updated to MPlayer svn snapshot 2008-08-06

2008-07-30: 0.1.1a

  • NTSC/PAL autodection (supposed to work)
  • Improved support for widescreen mode
  • Aspect ratio software compensation support
  • Improved Wiimote connection/reconnection routine
  • User-friendlier handling of boot failure

2008-07-17: 0.1a

  • Based on whiite-linux-0.1a which has USB host controller enabled
  • USB and network related functions of GeeXboX are therefore included in this release
  • Fixed keypressing and OSD color bug in previous version

2008-06-24: Prototype release

Bugs and Support

Please note that GeeXBox Wii is not an official GeeXBox port and is considered an "unofficial hack".

Please use the sourceforge tracker to report issues. Additionally, you may find this forum thread useful for support.

Unofficial Versions

Builds from independent developers go here. Diffs must be included since the GeeXboX code is GPL.

0.1Alpha04 modified by Tulkas

Tulkas made some minor modifications to add support of additional filesystem types and also accidentally fixed a loading bug.

Download:MediaFire
Diffs and further info: [1]