WiiMC-SS - GameCube controller support and more

Discussion in 'Wii - Emulation and Homebrew' started by SuperrSonic, May 2, 2017.

  1. kaisersozeh

    kaisersozeh GBAtemp Regular

    Member
    5
    Mar 21, 2018
    Antarctica
    Phobos
    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.
     
  2. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    United States
    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.

    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. :)
     
    kaisersozeh likes this.
  3. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    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?
     
  4. Hakaisha

    Hakaisha GBAtemp Regular

    Member
    5
    Sep 17, 2014
    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.
     
    Last edited by Hakaisha, Jun 5, 2018
    kaisersozeh likes this.
  5. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    United States
    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.
     
    kaisersozeh likes this.
  6. kaisersozeh

    kaisersozeh GBAtemp Regular

    Member
    5
    Mar 21, 2018
    Antarctica
    Phobos
    @dishe, @Hakaisha
    Would you mind sharing you encoding preferences for use with WiiMC?
    EDIT: Any user who's explored this, please share you findings, thanks!
     
    Last edited by kaisersozeh, Jun 5, 2018
    Hakaisha likes this.
  7. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    United States
    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. :)

    — Posts automatically merged - Please don't double post! —

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

    — Posts automatically merged - Please don't double post! —

    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 and kaisersozeh like this.
  8. Hakaisha

    Hakaisha GBAtemp Regular

    Member
    5
    Sep 17, 2014
    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.
     
    kaisersozeh likes this.
  9. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    United States
    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.
     
    Hakaisha likes this.
  10. Hakaisha

    Hakaisha GBAtemp Regular

    Member
    5
    Sep 17, 2014
    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. ^_^
     
  11. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    United States
    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?
     
  12. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    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. 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!
     
    Tarmfot and Hakaisha like this.
  13. SuperrSonic
    OP

    SuperrSonic GBAtemp Advanced Fan

    Member
    7
    Dec 9, 2011
    Puerto Rico
    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.
     
    Hakaisha likes this.
  14. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    United States
    Cool thanks! So how does one get to the wiimc menu if they want to change something now?
     
  15. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    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!
     
    Tarmfot likes this.
  16. nashismo

    nashismo GBAtemp Regular

    Member
    4
    Jun 5, 2013
    Chile
    Home sweet Home (Mi casita)
    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.
     
  17. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    United States
    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!
     
    cvskid likes this.
  18. SuperrSonic
    OP

    SuperrSonic GBAtemp Advanced Fan

    Member
    7
    Dec 9, 2011
    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.

    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.

    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.
     
    Hakaisha and DarthDub like this.
  19. dishe

    dishe GBAtemp Regular

    Member
    2
    Apr 11, 2018
    United States
    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.
    So you're saying I should try Vorbis then? :)
     
  20. Extrems

    Extrems GBAtemp Regular

    Member
    6
    Jan 17, 2013
    Canada
    Quebec, Canada
    FFmpeg's is the fastest by far, with libtremor being the slowest.
     
    SuperrSonic likes this.
Loading...