StreetFighter is an AVAnimator demo of AV sync, composition, and seamless looping
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Classes
MOVS
StreetFighter.xcodeproj
.gitignore
Fight.wav
Hadoken.wav
Icon.png
Kick.wav
License.txt
MainWindow.xib
Punch-fierce.wav
README.txt
RedButtonDownAlpha.png
RedButtonUpAlpha.png
RyuMvids.7z
RyuStance.png
SF2BlankaBackground.gif
StreetFighter-Info.plist
StreetFighterViewController.xib
StreetFighter_Prefix.pch
export.sh
main.m
sf2_blanka_theme_mono_qlow_22k.caf

README.txt

Note that License.txt applies to the source code include in Classes, but does
not include the Classes/LZMASDK files which are in the public domain. The
video and audio resources were downloaded off the internet, no claim of
ownership or license is made on these files.

The movie files were encoded to the .mvid format from the original .mov (Quicktime)
files. The .mvid file format stored pixel data in the format most optimal for
efficient display on iOS hardware. Multiple .mvid input files were then compressed
into a single archive using the 7zip library. The 7zip library compresses video data
much better than gzip, libz, or bzip2.

These instructions shows how to use the mvidmoviemaker command line util.

Commands to create RyuMvids.7z Archive:

Each .mvid file is larger than the corresponding .mov file, but smaller
once compressed with 7zip. In this simple example, compressing 4 movies
with 7zip saves about 60K. If many video files were included in the app
then the space savings would be much larger.

RyuMovs.zip : 263041 bytes (263 K)
RyuMovs.7z  : 215821 bytes (216 K)
RyuMvids.7z : 198946 bytes (199 K)

$ mvidmoviemaker RyuFireball.mov RyuFireball.mvid
wrote RyuFireball.mvid

$ mvidmoviemaker RyuHighKick.mov RyuHighKick.mvid
wrote RyuHighKick.mvid

$ mvidmoviemaker RyuStance.mov RyuStance.mvid
wrote RyuStance.mvid

$ mvidmoviemaker RyuStrongPunch.mov RyuStrongPunch.mvid
wrote RyuStrongPunch.mvid

$ 7za a -mx=9 RyuMvids.7z RyuFireball.mvid RyuHighKick.mvid RyuStance.mvid RyuStrongPunch.mvid

The contents of RyuMvids.7z can be listed like this:

$ 7za l RyuMvids.7z