Talk:MPlayer TT

From WiiBrew
Jump to: navigation, search

Applying Patches

The patches for libdvdread and libdvdnav work fine as long as I obtain the correct versions. On the other hand, I can't get the mplayer patch to work at all. I'm using patch < mplayer-gekko.diff. I get complaints like the following:

Patching file config.h
can't find file to patch at input line 1606
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: stream/stream_dvd.c
|===================================================================
|--- stream/stream_dvd.c (revision 27458)
|+++ stream/stream_dvd.c (working copy)
--------------------------
File to patch: stream/stream_dvd.c
patching file stream/stream_dvd.c
can't find file to patch at input line 1628
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: stream/stream.c
|===================================================================
|--- stream/stream.c (revision 27458)
|+++ stream/stream.c (working copy)
--------------------------
File to patch:

At which point I give up.

Your problem is the patch level. Try supplying it with the -p option, e.g., patch -p0 < /path/to/patch or if that doesn't work, patch -p1 < /path/to/patch. That said, the diff is very crudly done and contains generated files as well as pure source files, so applying it to the svn trunk and building that is not as easy as it should be. It would be very nice if this could be cleaned up. --SimonKagstrom 09:16, 17 January 2009 (UTC)


Zoom option for widescreen dvds

For some reason, when I view widescreen versions of dvds, they only go as wide as the "full screen" version of the same video. The result is that the viewable area is greatly reduced; the video is shrunk proportionately and not squeezed. Is there a way to zoom in so the width of a "full screen" dvd is extended to the widescreen width?

Read files from DVD

As it's said, it's not possible right now to read files from a DVD. Is it due to the DVD lib and so it never will be possible or is it just not implemented yet? Elmarsupio
Erant's dvdlib allows raw access to DVDs. what's missing is a devoptab device to access files within an iso9660/udf filesystem - just like libfat offers for FAT filesystems on SD cards. such a device can be built upon the dvdlib, so yes it's totally possible - there just isn't one atm :P dhewg 15:53, 13 August 2008 (UTC)


Installing

I installed DVDX the normal way using HBC, then executed MPlayer and loop.mov played. What do I need to do now? The controller doesn’t seem to work, inserting a DVD doesn’t change anything, the menu doesn’t pop up.
When you put the mplayer folder for the homebrew channel in the apps folder you renamed it. The app paths are hard coded. Rename your other mplayer folders and leave this one as mplayer.
Where does the di folder go in order to enable DVD playback? Blackprince97 00:34, 14 August 2008 (UTC)
Inside the /apps folder, like any other homebrew. You only need to run it once, you can delete it afterward. Felix
so do I rename the installer.dol to boot.dol? Cause it's not showing up on the homebrew channel menu. 03:29, 14 August 2008 (UTC)
Yes you need to rename installer.dol to boot.dol and place it in root/apps/****/ Pebls123 05:17, 14 August 2008 (UTC)


Compiling

ES_LaunchTitleBackground is not in libogc es.c/h yet. cvs only has ES_LaunchTitle? --CarstenK 05:39, 14 August 2008 (UTC)
To build libdi, you need the Git branch of libogc that we maintain. Fetch the repository from git://hackmii.com/home/ogcgit/libogc and run make and make install. If you’re under Windows, you can use msysgit.


Bugs

A bug that needs to be fixed in this build is that which makes widescreen xvid avis give a "CODE DUMP" error.

All fullscreen avi files work, however. I know this is a problem in this program, because the same file works in older implementations of mplayer on wii such as MFEwii. Please fix this. -- jmaeshawn 24 August 2008

New Qs

I'm not a MPlayer guru (yet), but I noticed a lot of config options pertaining to network support in the source (specifically, cfg-common-opts.h). This port obviously doesn't use the stream directive ala MPlayerWii. Is there a different method or is streaming disabled? --Sli 07
42, 17 August 2008 (UTC)
Sorry for the silly question, but I am new to the scene and very interested in porting other GNU projects to the Wii. I am having issues building from sources. I have installed git's libogc, libdvdread & libdvdnav from svn, both patches applied (libdvdnav-gekko.diff y libdvdread-gekko.diff). I succesfully built & installed libdi in $DEVKITPRO/libogc/lib/wii/libdi.a.
After that, I try to libdvdread. I understand that further changes are needed to either configure2 / Makefile / config.mak, because building with just make, will target Linux but what I want is cross compiling with devkitpro. What I am missing? I've trying to recreate libdvdread's Makefile by issuing:
./configure2 \
--cc=/usr/local/devkitPro/devkitPPC/bin/powerpc-gekko-gcc \


--prefix=/usr/local/devkitPro/ \
--extra-cflags=-I/usr/local/devkitPro/libogc/include \
--extra-ldflags=-L/usr/local/devkitPro/libogc/lib/wii
But complains about missing headers, such as dlfcn.h not included in libogc. Because these Makefiles aren't the usual devkitpro's, I am a little bit lost. Thanks in advance.

-- Alienmind 22 August 2008

I didn't compile libdvdread myself, but it's not part of libogc. Grep will tell you it's here: libdvdread-trunk/msvc/include/dlfcn.h Maybe follow up this Q in the forums. CarstenK 03:32, 8 September 2008 (UTC)

deinterlace

I take it mplayer doesn't have deinterlace enabled or as an option yet, eh? Is this on the way? It'd really be the last thing to make this fully usable for me.

format

Does this allow one to play NTSC and PAL DVDs? User:Xlegs 13:31 9/28/08


New query: Wondering if this supports letter boxing? Right now the actors look really skinny since they are squashed into a square instead of letterbox. I did not see anywhere to change this in the Wii GUI or in the actual files.

Media Options

I'd love to see some details on the main page about whether mplayer supports any of the following:

 * compressed video from data DVDs (ie. burn a bunch of AVIs to a DVD)
 * streamed compressed video, ie. AVIs streamed from a media streamer over the network.  More specifically for this, I'd love to hear some ideas on software (linux and/or XP) that I could use to stream AVIs to mplayer if this does work.  I'm giving VLC a try now to see what happens, but it will take me a bit to get it built.  If I figure anything out, I will update the main page, otherwise I'd love to hear from others.

Playing from SD Card has video limit time?

I always have this problem, movie is fine the first hour, but like 7 more minutes later it crashes and stops, i tried different video files and even tried the MPlayerWii, with the same results also, its just as if there is a limit maybe in size or time becuase it always stops in the same point. What could me wrong, i loaded from the homebrew channel v1.0.1.

documentation

where can i go to learn how to use it? for example, my wii and TV are upstairs, used by my non-technical wife. my computer is downstairs. when she wants to watch something, i've been carrying the SD card downstairs and transferring the AVI to it, then carrying it back upstairs where she uses mplayer on the wii to watch it

how can i set it up so that she can access my computer over the network from the wii upstairs so that i don't have to physically copy everything to the SD card?