Convert bin to mp4 without hosting a php server

Discussion in 'Wii U - Hacking & Backup Loaders' started by vgmoose, Apr 28, 2016.

  1. vgmoose
    OP

    vgmoose GBAtemp Regular

    Member
    229
    627
    Jan 31, 2016
    United States
    The current recommended way to make an mp4 file is to host a php server with wiiuhaxx.php, visit the URL in a browser, and save the page as an mp4. BUT...

    Another way is to run the php script from the bash terminal, with the script in the same directory as the codeXXX.bin:
    Code:
    php -r '$_REQUEST["sysver"]="550"; require_once("wiiuhaxx.php");' > output.mp4
    This requires php be installed, but doesn't need a running server! There's no real advantage is provided by this, but it might make things easier for a very small subset of people.
     
    Kafluke and pwsincd like this.
  2. Kafluke

    Kafluke GBAtemp Psycho!

    Member
    3,879
    1,885
    May 6, 2006
    United States
    Or you could just use this. No need for php to be installed.

    https://gbatemp.net/threads/tool-bin2mp4.417414/
     
  3. vgmoose
    OP

    vgmoose GBAtemp Regular

    Member
    229
    627
    Jan 31, 2016
    United States
    Yes, only a need for Windows or Wine to be installed. :P Like I said, it may only help a very small subset of people.
     
    Kafluke likes this.
  4. Kafluke

    Kafluke GBAtemp Psycho!

    Member
    3,879
    1,885
    May 6, 2006
    United States
    True but it's drag and drop and most people have at least one PC in their home.
     
  5. vgmoose
    OP

    vgmoose GBAtemp Regular

    Member
    229
    627
    Jan 31, 2016
    United States
    Well, for example, my use case for this is putting it in my Makefile so that an mp4 is automatically generated and uploaded to a static server (such as dropbox, google drive, or github pages).

    Another use case would be on a server where you don't want to configure php hosting, because you don't host other php things, but do want to be able to compile a Wii U project in a runnable form on it.

    So in terms of time saving on small things like that, it's nice to have another option available. However, that is a pretty cool program you linked, and it also has a command line usage for people compiling on Windows.
     
    Last edited by vgmoose, Apr 28, 2016
    Kafluke likes this.
  6. Kafluke

    Kafluke GBAtemp Psycho!

    Member
    3,879
    1,885
    May 6, 2006
    United States
    Yeah, it's a good one. It keeps getting buried and it's hard to find but every now and then I get a request for an mp4 and I use it.

    Keep up the great work. We appreciate your contribution to the scene!
     
    vgmoose likes this.
  7. Kakkoii

    Kakkoii Old fart

    Member
    621
    282
    Sep 14, 2007
    Canada
    My app that Kafluke posted works as a command line tool as well, it's in the description :)