Author Topic: How to make MSU-1 Video ROMS? a.k.a. Encode video for playback w/ SD2SNES.  (Read 4030 times)

0 Members and 1 Guest are viewing this topic.

Offline paranormative

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
I need help making my own MSU-1 video roms.

I just got my SD2SNES, and I am fasincated with the MSU-1 functionality, especially full motion video playback. It's blowing my mind, I would love to transcode some video for myself.

Trouble is I cannot find any docs/tutorials covering exactly how to do this. Although I've found threads which discuss video playback, and I've even seen a few passing references to a video encoding procedure, but so far I've not found the info I need to make my own MSU1 video roms.

I have found info on how to make MSU1 compatible audio by itself, but not much about audio+video.
https://www.youtube.com/watch?v=9pDXdaWS9-Q
http://helmet.kafuka.org//thepile/Wav2msu

I was able to find a few MSU-1 video roms made by other people:

Gangnam Style on SNES
https://www.youtube.com/watch?v=GrIGRyNS16g
Rom here:
www.mediafire.com/?piz9mh3cpds7u40

Bubblegum Crisis on SNES
https://www.youtube.com/watch?v=TxweRy1JBbU&t=40s

Akira Trailer MSU ROM
https://mega.nz/#!RlcUWbIZ!NSb2LGDXM3BDSa_S6chwpEA19w0nMskEIgFeAu6aGU0

(I've reached out to both of these channels on YouTube hoping for guidance, but haven't heard back.)

Searching forum posts I noticed Ikari himself released an example video player a while back (would love to see the source code for this project):
https://krikzz.com/forum/index.php?topic=2884.msg29007#msg29007

I tested Ikari's example player .sfc file in combination with the .pcm and .msu files from the Gangnam Style video rom, and it did work. But since it's all compiled code, I couldn't really learn much more from examining these files.

So I kept looking and found a thread discussing MSU1 spec as it relates to video playback:
http://forums.nesdev.com/viewtopic.php?p=125755

Sadly the spec mentioned appears to be offline now:
http://byuu.org/snes/msu1/specification/

The best lead I've had so far comes from the git repo hosting the source code for Super Road Blaster.
https://github.com/DocSchoko/SNES-SuperRoadBlaster

It's been slow going getting this code to compile, let alone figure out how to modify it to generate a .pcm and .msu file compatible with Ikari's example video player. Although I think I was able to identify a few key pieces of code:

Converting video to png with ffmpeg, snippet from Road Blaster.
https://github.com/DocSchoko/SNES-SuperRoadBlaster/blob/master/tools/xmlsceneparser.py:
Code: [Select]
os.system("ffmpeg -y -i %s -s 256x192 -pix_fmt rgb8 %s/video_%%06d.gfx_video.png -ss %s -t %s" % (options.get('videofile'), options.get('chapterfolder'), timestart, duration))
Super Blaster has tool to convert png to snes gfx. This gets compiled in a data file "gamename.msu".
https://github.com/DocSchoko/SNES-SuperRoadBlaster/blob/master/tools/msu1blockwriter.py

And audio:
Code: [Select]
os.system("ffmpeg -y -i %s -acodec pcm_s16le -ar 44100 -ac 2 %s/audio.sfx_video.wav -ss %s -t %s" % (options.get('videofile'), options.get('chapterfolder'), timestart, duration))
But this code still leaves a lot unclear. I don't even know what video format the video to png step is expecting to ingest.

Beyond what I found in the Super Road Blaster git repo, I also found some forum posts that refer to a video encoding procedure/tutorial/spec, but near as I can tell these resources have gone offline now. :-\

Here teamvb mentions a tutorial from zeld about making 224x144 resolution video for SD2SNES (so far I cannot find the tut referenced).
https://krikzz.com/forum/index.php?topic=2884.msg29282#msg29282

I even found a post where someone includes now defunct links to two tutorials for converting Video for msu:
http://s9.zetaboards.com/bszelda/topic/882278/3#post-246079

First link appears to be incorrect:
https://board.byuu.org/viewtopic.php?p=27472#p27472

Second link is entirely offline:
https://www.snesfreaks.com/forum/viewtopic.php?f=159&t=10031&start=60

I even *bumped* 2 older threads on this forum which mention video encoding/playback.

Msu1 video cracks up and sync problem on pal snes
https://krikzz.com/forum/index.php?topic=2884.0

SD2SNES MSU1 video playback?
https://krikzz.com/forum/index.php?topic=1070.msg10418

As you can see I've done my research, but so far it's not yielded the info I need to encode an MSU1 Video Rom, and I'm starting to run out of ideas.

Is anyone is able to help me identify a MSU video encoding procedure? I will gladly write up a tutorial on github.

Thanks
« Last Edit: January 25, 2018, 01:44 AM by paranormative »

Offline Condor

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Hi!

Have you also seen the Kate Beckinsale MSU1 video? You can Google for it, or I can dig up a copy if you're interested.

I too would like to figure out how to create my own SNES MSU1 video - it's been on my mind since I bought my SD2SNES a few years ago :).

I dabbled with video transcoding last year when I was trying to create a playable Video CD for the Sega Saturn with VCD card - I managed to create a playable VCD, but it was really a pain trying to find info on the web for it... more a matter of trial and error for that project.

I do hope you succeed in your quest!

Condor

Offline teamvb

  • Full Member
  • ***
  • Posts: 147
  • Karma: +3/-0
    • View Profile
it has been a very very long time since i encode my own msu1 video ,busy with life , download the zelda cd patch inside the zip ,there is a developer_tutorial.zip ,all the info u need is in there , i hope this help u

http://bszelda.zeldalegends.net/stuff/Con/zelda3_msu.zip
EVERDRIVE 64v3,SUPERDRIVE v2, SD2SNES rev F (mod to H),UFO PRO SD,GAME DOCTOR 7 128MB USB,TURBO EVERDRIVE v1,MEGA EVERDRIVE V2,EVERDRIVE MD V1,MASTER EVERDRIVE,FLASHKIT MD,EVERDRIVE N8/FAMICOM,EVERDRIVE GBA X5

Offline paranormative

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Awesome!

This tut is a little rough, but it does the trick.

I am working on automating all the steps as a script. Will post a link to the git repo w/ readme when it's completed.

Offline ErivandoXP

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +7/-0
    • View Profile
Awesome!

This tut is a little rough, but it does the trick.

I am working on automating all the steps as a script. Will post a link to the git repo w/ readme when it's completed.

I'll be waiting  ;D

Offline ErivandoXP

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +7/-0
    • View Profile
Today I finally learned how to create MSU-1 VideoClips.  :)

If anyone wants, I can create a step by step how I did it.

I followed the Conn's tutorial that came along with this file: http://bszelda.zeldalegends.net/stuff/Con/zelda3_msu.zip

My first MSU-1 videos:

YuYu Hakusho Into Jpn 61.4 MB
https://mega.nz/#!5Zt1FBrS!LAVrXyDr-0k4OAOjMY5b0GZBmLY16iL5E941J4KV5Fs

BadApple_3D 96.1 MB
https://mega.nz/#!dA1nEBIa!84aYzu16uoAWi5oBT5rYG3T-wKl2MSG0KZJe9RR3lyI

BadApple_Classic MSU 56.0 MB
https://mega.nz/#!lRtjVSoY!vYMCndFCV-ZNEiMwSeXL9W1XavyxQ2sqGuMsMv8ZaU4

Sonic_Mania Trailler 71.3 MB
https://mega.nz/#!tQEyFaAZ!5hglUky_Ib1Idb_x0nj93JlMmsYw4fEzn5QUKvIS-9A

Offline OneBagTravel

  • Sony KV-20FV300
  • Full Member
  • ***
  • Posts: 153
  • Karma: +17/-0
  • Has the Perrier gone straight to my head?
    • View Profile
    • OneBagTravel.com
How meta would it be to watch Super Mario Bro's Super Show episodes on a Super Nintendo??
Travel light & smart. SFC using HD Retrovision component cables.

Offline Alvis

  • Jr. Member
  • **
  • Posts: 81
  • Karma: +5/-0
    • View Profile
To be fair, that's an NES-era show. Would make more sense to watch the Super Mario World cartoon.

Offline D2DEZEL

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Hello, everyone I am new here. I am very interested in fmv videos I would like to know how to make fmv videos.
I made a file online with all the video that I could find on the internet here is the link: https://drive.google.com/folderview?id=1UdtkUQhpqe4RfaEj7jrxwH6qSZp0B-p6

Offline kogami

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
I realized these videos a few years ago now, besides in your file some of my videos are present ^^

http://kogami.free.fr/MSU1/Akira_Trailer_1988_(224x144).zip
http://kogami.free.fr/MSU1/AMV_Gimme_More_(224x144).zip
http://kogami.free.fr/MSU1/Bubblegum_Crisis.zip
http://kogami.free.fr/MSU1/City_Hunter_Opening_(168x144_Correct_Ratio_4-3).zip
http://kogami.free.fr/MSU1/Dragon_Ball_Z_Ending_Speciad_Baddack_(224x144).zip
http://kogami.free.fr/MSU1/Ergo_Proxy_Opening_(224x144).zip
http://kogami.free.fr/MSU1/FMA_Opening_3_(192x126_Correct_Ratio_16-9).zip
http://kogami.free.fr/MSU1/FMA_Opening_3_(224x126_16-9).zip
http://kogami.free.fr/MSU1/Mister_Ajikko_Ending_(168x144).zip
http://kogami.free.fr/MSU1/Mister_Ajikko_Opening_(168x144).zip
http://kogami.free.fr/MSU1/Touhou_Bad_Apple!!_PV_(168x144).zip
http://kogami.free.fr/MSU1/Touhou_Bad_Apple!!_PV_(224x144).zip
http://kogami.free.fr/MSU1/Yu_Yu_Hakusho_Ending_1_(168x144).zip
http://kogami.free.fr/MSU1/Yu_Yu_Hakusho_Ending_2_(168x144).zip
http://kogami.free.fr/MSU1/Yu_Yu_Hakusho_Ending_3_(168x144).zip
http://kogami.free.fr/MSU1/Yu_Yu_Hakusho_Ending_4_(168x144).zip
http://kogami.free.fr/MSU1/Yu_Yu_Hakusho_Ending_5_(168x144).zip
http://kogami.free.fr/MSU1/Yu_Yu_Hakusho_Opening_2_(168x144).zip

It's not very complicated to make even this Super Nintendo compatible video, you just need the right tools

-msu1conv (only work 00000001.tga 256 couleur)
http://sd2snes.de/files/msu1conv.exe

change headers 0x02 - 0x04

29.97fps -> 02 02 01 (2:2 pulldown)
23.976fps -> 02 03 01 (3:2 pulldown)
14.985fps -> 04 04 01
11.988fps -> 04 06 01

-wav2msu (commd line "wav2msu.exe piste_audio.wav demo-0.pcm")
http://helmet.kafuka.org/wav2msu.rar

-Player Video
https://sd2snes.de/files/msu1-dmafix/msu1vid.sfc
« Last Edit: January 08, 2019, 07:27 PM by kogami »

Offline D2DEZEL

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Great I will try. For the videos do you mind if I put them also in the folder on google drive?
« Last Edit: January 08, 2019, 07:44 PM by D2DEZEL »

Offline kogami

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile


Offline D2DEZEL

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
it is not the same format and there is a bug at the beginning

Offline kogami

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Quote
Or is that original video yours?

Yes it's my personal video

it is not the same format and there is a bug at the beginning

http://kogami.free.fr/MSU1/Sonic_CD_Opening_(168x144)_Fix_v2.zip
« Last Edit: January 09, 2019, 05:07 PM by kogami »