Cinepak Movie Disc

Cinepak Movie Disc 2.0

This is a crude Cinepak Movie disc for the Sega Saturn. It is set up to act like a poormans DVD/Video CD by providing a simple title screen with music that the player will return to when it reaches the end of the the last video.

Simply place your CPK files, Title Screen background and music into the cd directory, then run build.bat and it will generate an ISO in the out directory.

This update adds support for ADX Audio. The following sample rates are supported:
  • 14700Hz
  • 16000Hz
  • 18000Hz
  • 22050Hz
  • 32000Hz
  • 38700Hz
  • 44100Hz.
The Title screen music has also been updated to now only support ADX Audio. The same sample rates are supported as well as ADX's built in loop functionality. If no loop points are set the ADX file will just repeat itself.

Finally I have also enabled dual cpu usage for Cinepak decoding. While all files I tested worked fine with one SH-2, there's a chance that on really busy high frame rate high audio quality videos you could get stuttering with the ADX Decoding enabled. So enabling dual CPU usage can help give a bit more wiggle room.

As before, the following caveats apply:
  • The max number of files you can have is 50. Which really that should be more than enough.
  • Videos can be any resolution as long as they don't exceed 320x240
  • Videos can be any frame rate as long as they don't exceed 30fps.
  • Try to keep your individual videos under 9000 frames. This is about 4-5 minutes at 30fps. Exceeding this could overflow the ring buffer and cause the video to not be able to play. Videos longer than this should be split into smaller pieces.
  • Audio can be 8-bit or 16-bit PCM in both stereo and mono at any sample rate as long as they don't exceed 44100Hz.
  • Mono and Stereo ADX Is supported with the following sample rates:
    • 14700Hz
    • 16000Hz
    • 18000Hz
    • 22050Hz
    • 32000Hz
    • 38700Hz
    • 44100Hz.
  • File names should be numbered in the order you want them to be played starting with 0. The names cannot exceed 11 characters and must have a .CPK extension.
    • The character length includes the extension
  • The player supports limited anamorphic scaling. To use this do the following:
    • Encode your video at 320x240 resolution (320x224 will kind of work as well) without any cropping.
    • If the desired aspect ratio is 16:9 put _169 in the file name.
    • If the desired aspect ratio is 2.35:1 put _235 in the file name.
    • You can also use _LB, but this is more of a special case I used for the Star Wars clip. The original video was 2.35:1 but I cropped it slightly on the sides to get it to 320x160, but then it needed a tad more vertical squishing to look right. If the others don't look right give this one a try.
    • Any other file will assume you want it displayed in the aspect ratio of it's resolution.
  • R will skip to the Next video, L will skip to the previous video. X restarts the current video, Z pauses the current video. Y will stop playback and return you to the title screen.
  • Audio for the title screen should be saved as an ADX File called TITLE.ADX. The same sample rates as previously stated are supported. ADX Looping is also supported. If no loop points are set the file will just repeat itself.
  • The Background for the title screen should be 320x240 at 24-bit RGB. Save it as a .TGA file in GIMP and then you will need to use the BGCON tool to convert it into an SBL friendly format. BGCON can be found in the resources section. Use the following commands in BGCON to convert the file over.
    • l <TGA FIle Name Here>
    • cd 24
    • im bitmap
    • of bin
    • rgbhi on
    • s TITLE.BG
  • To fit on a real CD you can fit about 45 minutes of video give or take. Using an ODE like the Satiator however you can build an image up to 1.35GB. Slightly larger might be possible but 1.4GB will not work. At this size you can fit about an hour and a half of video in a single disc image.
Back
Top