Homebrew WiiMC-SS - GameCube controller support and more

kaisersozeh

Well-Known Member
Member
Joined
Mar 21, 2018
Messages
260
Trophies
0
Location
Phobos
XP
1,054
Country
Antarctica
I get why it would be useful, the problem is that adding media is never very "ad hoc" in my experience. None of the media I have would play properly on the wii in its current form. Everything I get we'd need to convert first using handbrake. My kids are obsessed with a recent film they've been watching, so before a trip the other day I quickly converted it to my "WiiMC" preset on handbrake, then brought in the USB stick from the back of the minivan to copy it over. Once I was waiting for that to finish, it wouldn't have taken me much more effort to also find a cover and throw it in the directory, now that @Hakaisha has explained how it could work. That's about as ad-hoc as it gets for this platform unfortunately. At least, in my opinion! I don't have any sources of content ready to play on the Wii as is- if I did, that would be a different story (transfer and go).

As far as Einstein's mod on github- I took a look at it, I like some of the stuff he's doing, but there isn't anything in particular over WiiFlow Lite that makes me want to switch everything over yet. It's taken me long enough to get my minivan setup *just so*, why throw a wrench into it if there isn't anything specifically I need from another fork?
...I'll admit, I do have a laundry list of things I'd like to see WiiFlow do if I had a chance to get into the inner workings, and if a fork were to start offering some of them I'd consider it. For now, I like my setup, all I'm looking to do is get a better video player setup for now.
Its an additional, not an either/or. Im unfamiliar with handbrake, it's a format conversion tool?
To be clear, im not asking you to install it, Im asking for your input. How would you have an ideal install, what could be changed to include your needs without excluding others, wishlist features. And your thoughts on the comments so far. Im interested particularly because your needs cover a lot of angles.
 

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
Im unfamiliar with handbrake, it's a format conversion tool?
Yes- its an open source GUI based on, I believe FFMPEG. It does a phenomenal job transcoding between video formats and codecs, I use it professionally as well (I work in media production) when someone submits footage in a format that my NLE can't read properly. Just a great and free tool. The Wii's decoding power is kind of limited to today's standards, so almost anything you play on it needs to be resampled into a size and codec/bitrate it can handle. WiiMC works a lot better than Mplayer did, but it still can't handle most media as-is from my acquisition sources (especially since most media is starting in HD). I made a preset for settings I found worked well with WiiMC, and run everything through the application before putting it on the USB stick to play.

To be clear, im not asking you to install it, Im asking for your input. How would you have an ideal install, what could be changed to include your needs without excluding others, wishlist features. And your thoughts on the comments so far. Im interested particularly because your needs cover a lot of angles.

I'm flattered! I don't like to impose what I want on other people unless I think others will benefit from it as well, but I'll take another look and maybe make some requests. :)
 
  • Like
Reactions: kaisersozeh

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
Oh I didn't know about this bug. Here's another one recompiled with the lib : Wiimc Plugin2

Hmm. I set aside some time to try and get this setup running this afternoon, but so far I can't even get the plugin to show any titles. It gives a generic no titles/games found. Maybe I need to set the path somewhere that I'm missing?
 

Hakaisha

Well-Known Member
Member
Joined
Sep 17, 2014
Messages
236
Trophies
0
XP
1,456
Country
United States
Hmm. I set aside some time to try and get this setup running this afternoon, but so far I can't even get the plugin to show any titles. It gives a generic no titles/games found. Maybe I need to set the path somewhere that I'm missing?

If you have your plugin partition setting in WiiFlow Lite set to SD, it won't find your plugin's media on USB. To remedy this, you can go to WiiFlow Lite's partition settings and change the Plugin directory to USB. However, using this method will break your other plugins if their media is stored on the SD.

The more preferable method to fix this is to modify the WiiMC plugin's ini file. Simply open up the wiimc.ini in a text editor and add the line rompartition=1

Example:

[PLUGIN]
displayname=Wiimc
magic=57494d43
coverfolder=wiimc
dolfile=wiimc.dol
romdir=movies

rompartition=1
filetypes=.mp4|.avi|.mkv
consolecoverid=
covercolor=ffffff
bannersound=THX.ogg
arguments={device}1:/{path}/{name}


This will make the WiiMC plugin look for its media in the USB directory, instead of the SD directory.
 
Last edited by Hakaisha,
  • Like
Reactions: kaisersozeh

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
If you have your plugin partition setting in WiiFlow Lite set to SD, it won't find your plugin's media on USB. To remedy this, you can go to WiiFlow Lite's partition settings and change the Plugin directory to USB. However, using this method will break your other plugins if their media is stored on the SD.

The more preferable method to fix this is to modify the WiiMC plugin's ini file. Simply open up the wiimc.ini in a text editor and add the line rompartition=1

Example:

[PLUGIN]
displayname=Wiimc
magic=57494d43
coverfolder=wiimc
dolfile=wiimc.dol
romdir=movies

rompartition=1
filetypes=.mp4|.avi|.mkv
consolecoverid=
covercolor=ffffff
bannersound=THX.ogg
arguments={device}1:/{path}/{name}


This will make the WiiMC plugin look for its media in the USB directory, instead of the SD directory.

Woo! That worked! I now have a bunch of blank titles that start each movie.
What isn't working so far:
-The trick to try and bring in the boxcover art from the USB card. That doesn't seem to have done anything. All titles are blank.
-Resume function. Each file seems to start at the beginning rather than resume (a particular praise I had about WiiMC was its ability to resume where we left off)
-Home button brings up regular WiiMC gui. It must be pressed twice to exit back to menu/wiiflow. That one isn't such a big deal, but it would be nice if it recognized that we launched directly to a title and should return to the launcher if exited. Then again, its nice to be able to get to the other functions of WiiMC I guess. I could go either way on this one.
 
  • Like
Reactions: kaisersozeh

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
@dishe, @Hakaisha
Would you mind sharing you encoding preferences for use with WiiMC?

There was a thread here somewhere with recommended settings. I don't remember exactly what I ended up using, but I played with some until I got something that had a decent enough quality to playback speed ratio (ie is unlikely to skip frames). I have to double check the settings, that version of handbrake is on my other computer. I'm currently dealing with cover folders, so I'll have to check later. :)

--------------------- MERGED ---------------------------

Edit: Figured out my boxcover issue. It was a syntax error in the folder path. Whew. Figured it was something silly like that.

--------------------- MERGED ---------------------------

Edit: Also figured out the resume issue. I think it keeps a different set of resume data than it did before I launched titles from wiiflow. It seems that if I exit a title now and then come back to it, it will resume as expected. But a title I chose that I was in the middle of before changing my setup started over. I guess my resume data got reset or this setup has a new location to store it so it started over. Either way, no complaints, everything appears to be working.
If I had to nitpick, I'd say it seems to start kind of slowly (more of a lag before the video starts), but I'm not sure if the culprit is WiiMC or WiiFlow in this case.
 

Hakaisha

Well-Known Member
Member
Joined
Sep 17, 2014
Messages
236
Trophies
0
XP
1,456
Country
United States
I also think it would be great to have a version of the plugin that returns to WiiFlow with a home button press, @dishe. Maybe a future update of the plugin will have it? ^_^

@kaisersozeh , I use VidCoder (which is literally just Handbrake with a more detailed UI) to transcode my videos. Most of my videos in WiiFlow right now are H264 MKVs made from my own Blu-Rays. The settings I use are basically the same as what is detailed in this guide:

https://forums.afterdawn.com/threads/video-encoding-for-use-with-wiimc-original-wii.754213/

Out of every video encoding setup I've tried, this one has worked out the best for me and looks amazing. No blockiness or anything. The guide doesn't tell you this part, but I have found it's best to use these settings and set Constant Quality between 10 and 12.5. Usually 10 for shorter videos, and 12.5 for 2+ hour films. This usually will keep the larger films somewhere between 2-4GB, which is a huge requirement for a FAT32 formatted hard drive.

It takes a little while to set all of the settings, but it's worth it. You can save a profile of it and just do it automatically for every subsequent encoding session. I have several profiles made from it for different things like "4:3", 16:9", "Super Slim Ratios", "16:9 Short Videos", "4:3 short videos", etc.
 

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
I also think it would be great to have a version of the plugin that returns to WiiFlow with a home button press, @dishe. Maybe a future update of the plugin will have it? ^_^

@kaisersozeh , I use VidCoder (which is literally just Handbrake with a more detailed UI) to transcode my videos. Most of my videos in WiiFlow right now are H264 MKVs made from my own Blu-Rays. The settings I use are basically the same as what is detailed in this guide:

https://forums.afterdawn.com/threads/video-encoding-for-use-with-wiimc-original-wii.754213/

Out of every video encoding setup I've tried, this one has worked out the best for me and looks amazing. No blockiness or anything. The guide doesn't tell you this part, but I have found it's best to use these settings and set Constant Quality between 10 and 12.5. Usually 10 for shorter videos, and 12.5 for 2+ hour films. This usually will keep the larger films somewhere between 2-4GB, which is a huge requirement for a FAT32 formatted hard drive.

It takes a little while to set all of the settings, but it's worth it. You can save a profile of it and just do it automatically for every subsequent encoding session. I have several profiles made from it for different things like "4:3", 16:9", "Super Slim Ratios", "16:9 Short Videos", "4:3 short videos", etc.
Ok, I actually don't like that guide. I remember it now. I work in video for a living and I found some of the choices odd, which is why I decided to play with it on my own to find good settings. I forgot all about this until now, LoL.

For standard def video you should not need files that are that big. Also the framerate should match the source not be constant 23.97 for content which is not 24p (tv shows vs movies). So many little things I don't agree with. I have to double check in the morning, but I'm pretty sure I have some 2 hour films encoded in under a gig.
 
  • Like
Reactions: Hakaisha

Hakaisha

Well-Known Member
Member
Joined
Sep 17, 2014
Messages
236
Trophies
0
XP
1,456
Country
United States
That's really interesting, @dishe. I'd love to try out your settings, if you can ever find time to type them out. While I do enjoy the quality I'm getting with my current settings, I'm always open to better methods and more hard drive space. ^_^
 

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
Is it normal is in Spanish and doesn't have the picture viewer?
LOL- I actually noticed when using the plugin to launch a movie and exiting to the WiiMC menu from within the player that it looked different... the language had been set to Spanish and the color theme appeared different as well I think. Also, it seems to have a different set of resume data from within the player vs launching from the plugin. Like, movies that I was in the middle of when using the player's GUI won't have the resume location remembered when I launch from the plugin, and vice versa. Its like there's a different set of application parameters when using the plugin. Strange, right?
 

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
That's really interesting, @dishe. I'd love to try out your settings, if you can ever find time to type them out. While I do enjoy the quality I'm getting with my current settings, I'm always open to better methods and more hard drive space. ^_^

Ok, so here's the presets I'm using, but keep in mind that video encoding is not an exact science, so feel free to modify tweaks for the sort of video you're using. Animated content, for example an episode of the Simpsons, have far less detail in the frame to preserve and can get away with more compression without visible artifacts. A film with a lot of fast movement like a Marvel superhero movie you need to keep up with the action. I'll note what settings are worth changing where applicable in my opinion. I'm using Handbrake for the encode.

On the first tab, under picture:
- Manually enter 720 as the width. Since the height could change depending on aspect ratio, its important to just keep the width at DV size and click "KEEP ASPECT RATIO" to let it figure out the height. Even with a preset, since resolution is variable, you must enter this each time and let it do its calculation for height since it could change.
-Anamorphic, set to none.
-Modulus is set to 2

Filters tab:
Leave everything off.

Video tab:
Codec: H.264 (x.264)
Framerate: Same as source, and variable (not constant). This is important, as not all content has the same frame rate, and re-timing it can cause juddering frames and audio sync problems. Unless its an HFR video at 60fps or something, you should not need to change it from whatever the original source is (and even then, it shouldn't be 23.98 as 60 isn't easily divided into that. If anything it should be 30, but I say leave original framerate). It always bothered me that the guides said to set it manually to 23.98 because it will only work correctly on 24p content, and potentially make anything else look bad. If the content originally was 23.98, leaving it as "same as source" would preserve it anyway.
Encoder Preset: If you have a fast computer, feel free to turn this as far to the right as you wish, as it will spend more time processing at the result of better quality in the same file size. For me, I keep it about 75% to the right as I don't want it to take so long to encode, and at some point the difference is negligible. But if you don't mind leaving it for a while and walking away, or have super fast hardware, feel free to slide it all the way to the right to be slowest- just don't blame me if it takes all night. :)
Encoder tune: None, but check "Fast Decode". This makes a big difference, as the Wii has trouble keeping up with the decode if this is not checked.
Encoder profile: Main (Note: I did have some decent experience with setting it to high as long as fast decode was on, but it could choke on complicated scenes, so main is safer).
Encoder level: 4.0
Avg bitrate: 1,000 kbps, check both 2-pass encoding and turbo first pass. Multi pass encoding is a great way to to get smaller file sizes at good quality, I could explain why but its outside the scope of this post. You can also turn up or down the bitrate if you want depending on the sort of video we're dealing with and how much definition you want in the picture. I find that 1,000 kbps is a good middle ground to start with, and can leave it there if you don't know what else to set it to.

Audio tab:
Mine is set to AAC at 160kbps, mixdown is Dolby Prologic II.

That should be it! Using these exact settings, I just rendered my copy of The Greatest Showman down to 877MB. And while it is clearly standard definition down from the 1080p source, it looks at least as clear as a DVD in my opinion!
 

SuperrSonic

Well-Known Member
OP
Member
Joined
Dec 9, 2011
Messages
807
Trophies
1
XP
2,296
Country
Puerto Rico
-Home button brings up regular WiiMC gui. It must be pressed twice to exit back to menu/wiiflow. That one isn't such a big deal, but it would be nice if it recognized that we launched directly to a title and should return to the launcher if exited. Then again, its nice to be able to get to the other functions of WiiMC I guess. I could go either way on this one.
I also think it would be great to have a version of the plugin that returns to WiiFlow with a home button press
Just released an update that adds this.
LOL- I actually noticed when using the plugin to launch a movie and exiting to the WiiMC menu from within the player that it looked different...
I changed the order of the languages, so if your settings.xml had it set to 1 (English) it would use the wrong language. Clearing the settings file would not work either because the default value is taken from the system settings. It's fixed now.
 
  • Like
Reactions: Hakaisha

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
Just released an update that adds this.

I changed the order of the languages, so if your settings.xml had it set to 1 (English) it would use the wrong language. Clearing the settings file would not work either because the default value is taken from the system settings. It's fixed now.

Cool thanks! So how does one get to the wiimc menu if they want to change something now?
 

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
Another feature that I just realized I'd want (based on our actual usage with my family) is the ability to start a file over the beginning rather than resume. We're using only the wii remote as a controller and not using a sensor bar, so the entire UI is button based for us. I can't click on the timeline to start it back at the beginning, I'd have to keep pressing back to get to the opening again, its a bit of a pain if we're near the end of the video. I could jump to the end so it stops and then starts over at the beginning, but in this particular case, there were a lot of credits at the end of a film, and it just felt like it was taking forever to start it over.
I'm using the wiiflo plugin linked in an earlier post by @Wiimpathy, so I'm launching titles from outside the UI. I'm not sure if there's a good way to do this, perhaps a feature like hold down the back arrow for 3+ seconds, or perhaps a button combo like A+back arrow to start over from the beginning? Or maybe there's already a way that I'm not aware of?
Thanks for the awesome application!
 
  • Like
Reactions: Tarmfot

nashismo

Well-Known Member
Member
Joined
Jun 5, 2013
Messages
520
Trophies
1
Age
43
Location
Home sweet Home (Mi casita)
XP
1,269
Country
Chile
Mate, this is working wonderfull I just have one request, could you add DVD menu support?

What I mean is that I have never been able to move within a DVD interface. This would be great for Interactive Movie/Games, and last but not least, an angle button, yes I know, mostly porn DVD's used this button, but, nonetheless I have plenty of movies that use it, it would be great!

I play my DVD movies through a home network, so NTFS support doesn't matter to me.

Well, no matter please let me know if you could ever do this ;)

Cheers and thanks for everything.
 

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
Ok, so here's the presets I'm using, but keep in mind that video encoding is not an exact science, so feel free to modify tweaks for the sort of video you're using.
...
Audio tab:
Mine is set to AAC at 160kbps, mixdown is Dolby Prologic II.

Hey, so a little update on these settings and anyone else using Handbrake or Vidcoder... I was about to blame WiiMC for having bad audio decoding. I can't believe this was under my radar for so long, but apparently Handbrake and other applications forked from its code (vidcoder, etc) have a problem with their default AAC encoder. Complex audio scapes like rain fall or music would sound muddy, or almost an under-water compressed effect.

Turns out, these applications and likely others under the GPL open source license have had to drop the FDK-AAC encoder due to licensing conflicts (more on that here: https://forum.handbrake.fr/viewtopic.php?f=33&t=34143 ). It has been using a sub-par "experimental" AAC encoder ever since.
I honestly blamed my HDMI adapter at first when I tried playing a video with music on my home setup in WiiMC, but then when it still existed in my car setup which uses analog RCA inputs, I thought maybe WiiMC's decoder was at fault. Turns out neither was the issue- it was a bad encoding.

The good news is, while they can't officially distribute Handbrake with the superior FDK-AAC library, you can compile it for free at home from the source and get a library file that includes it. I haven't had a chance to try this yet, seems a little complicated since I have very little compilation experience, but I wanted to share my findings in the mean time.

Meanwhile, I suppose I don't have to use AAC at all, I just do because I figured it would have the most compatibility with WiiMC (since AVC/AAC is the most widely accepted standard). Some video gurus suggested switching to vorbis or opus, but I'm not sure how supported those formats are in WiiMC and/or the Wii's limited hardware decoding resources. I'd love to get an opinion on that if anyone has one!
 
  • Like
Reactions: cvskid

SuperrSonic

Well-Known Member
OP
Member
Joined
Dec 9, 2011
Messages
807
Trophies
1
XP
2,296
Country
Puerto Rico
Latest version has a rendering change that should fix tearing in 60fps videos usually visible when it's not full speed.

Also two new settings:
-Change the cache size to 2MB, this helps avoid a possible slowdown during the first few seconds of the video, but is not recommended if your video is huge in terms of file size.
-Option to disable libass rendering, it will instead use osd, which is considerably faster, although has less ass support, is fixed to one specific screen position, and can't be corrected for anamorphic videos.

Due to the way these settings work they can only be changed by editing the settings.xml file. I also made minor changes to prevent avoidable slowdown that happens if you call the menu during a paused video and then resume the video, and when changing the audio track (it will rewind now). Avoiding these slowdowns will maintain audio/video sync.

could you add DVD menu support?
DVD menu is already supported officially, and have no plans to touch anything related to that.
I've mapped switching angles to the GC controller's R trigger in the latest release, I don't have any test vids but it did cause a little pause so it must be doing something, try it if you have a gc controller and I can see about adding a combo or something so that it works on other controller schemes.

Meanwhile, I suppose I don't have to use AAC at all, I just do because I figured it would have the most compatibility with WiiMC (since AVC/AAC is the most widely accepted standard). Some video gurus suggested switching to vorbis or opus, but I'm not sure how supported those formats are in WiiMC and/or the Wii's limited hardware decoding resources. I'd love to get an opinion on that if anyone has one!
There's no opus decoders in WiiMC. There are three vorbis decoders in WiiMC, libtremor, libvorbis, and ffmpeg's native decoder, it currently uses the ffmpeg one. I tried awhile back to use the fastest one but got diminishing results so I kept using the same one.

Vorbis is supposed to be one of the faster lossy codecs, the netflix and youtube apps use it at 128 kbps, and turbografx VC uses it at very low bitrates. AAC-LC files encoded with ffmpeg sound good enough, you should have luck with any of the popular codecs really, I usually never re-encode audio.
 

dishe

Well-Known Member
Member
Joined
Apr 11, 2018
Messages
134
Trophies
0
Age
44
XP
231
Country
United States
AAC-LC files encoded with ffmpeg sound good enough, you should have luck with any of the popular codecs really, I usually never re-encode audio.
I don't like to re-encode audio either, but in this case the encoder introduced sync issues 2 our of 3 times I just used a pass through of the original. It really shouldn't have, I'm not sure why it happened, but encoding seems to keep it consistently working in sync. Meanwhile, AAC-LC and HE aren't options in many of the GUI based encoders like handbrake and their various forks anymore, due to the library being no longer considered open-source compliant. That's how I ended up in this mess. There's a generic plain 'ol AAC encoder that was marked "experimental" until recently, and while it has improved a bit it still isn't as good as the FDK library was. BTW, this only applies to Linux and Windows users, as the Mac versions of these GNU encoders use Core Audio for encoding, which is fine.
Vorbis is supposed to be one of the faster lossy codecs, the netflix and youtube apps use it at 128 kbps, and turbografx VC uses it at very low bitrates.
...
There's no opus decoders in WiiMC. There are three vorbis decoders in WiiMC, libtremor, libvorbis, and ffmpeg's native decoder, it currently uses the ffmpeg one. I tried awhile back to use the fastest one but got diminishing results so I kept using the same one.

So you're saying I should try Vorbis then? :)
 

Extrems

GameCube Wizard
Member
Joined
Jan 17, 2013
Messages
429
Trophies
1
Location
Quebec, Canada
Website
www.extremscorner.org
XP
2,971
Country
Canada
There's no opus decoders in WiiMC. There are three vorbis decoders in WiiMC, libtremor, libvorbis, and ffmpeg's native decoder, it currently uses the ffmpeg one. I tried awhile back to use the fastest one but got diminishing results so I kept using the same one.
FFmpeg's is the fastest by far, with libtremor being the slowest.
 
  • Like
Reactions: SuperrSonic

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: The cybertruck is a death trap.