Giter Site home page Giter Site logo

mo2mp4's Introduction

mo2mp4

This is a hacky solution to convert Wii Mobiclip .mo files to .mp4 until if and when ffmpeg can read them. Despite its name, While ffmpeg can convert DS .mods and 3DS .moflex files to .mp4, it cannot handle Wii .mo files. This tool uses a combination of the Wii Mobiclip SDK and Gericom's MobiclipDecoder in order to convert to .mp4. (And it's not pretty at all...)

The Wii Mobiclip SDK can view Mobiclip files using MoSimulator, however there isn't a way to get frames that way. No one wants to record that with OBS.

Mobiclip Conversion Tool can do the opposite of this tool, and convert .mp4 to .mo.

To use this tool, you need to have the Mobiclip SDK and a license. The SDK can be found on MarioCube, and the license can be obtained on this page if you have a Nintendo Developer Account. You also have to have MoDump in the same directory as this program, and you launch MobiclipDecoder with one (1) .mo file in the folder.

Process

This is how the conversion from .mo to .mp4 happens:

  1. Open the .mo file with MobiclipDecoder, and dump all frames as PNGs. It reads whatever Mobiclip file is in the directory. This can take a while...
  2. Use MoDump from the Wii Mobiclip SDK to dump the audio into wav.
  3. Merge all the frames and the audio with ffmpeg, and clean the folder up afterwards.

This does not work with videos with Vorbis audio (Tremor library). Those were only used on the Nintendo Channel and Wii no Ma (they can load other audio formats too, but Nintendo stuck with using Vorbis for some reason, which is not in the Wii Mobiclip SDK).

Also, this script will break if you have more than one .mo in the directory. Since this tool was made in such a hurry, it's pretty flimsy.

Instead, make a script like this.

copy C:\Kirby\USA\Anime01.mo . && MobiclipDecoder.exe && del Anime01.mo
copy C:\Kirby\USA\Anime02.mo . && MobiclipDecoder.exe && del Anime02.mo
copy C:\Kirby\USA\Anime03.mo . && MobiclipDecoder.exe && del Anime03.mo

Compiling

I have no idea why you would want to compile this, but just replace Form1.cs in Gericom's MobiclipDecoder.

License

I don't think MobiclipDecoder has a license, so I don't really have a code license for this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.