Section 10: Downsampling
Many of you would like to know how to downsample audio and video files included on some of your retail games, so that they can fit as either CDR sized backups, or possibly as multi-game DVD-R backups. I don’t have the expertise to instruct on this matter… but will included pointers to files used, common web references, and any instructions I run into.
.BIK BINK Video is a common video tool used today for both PC, and XBOX video game development. They were nice enough to give us everything we need to play with their .BIK format files. Download : BINK Video RAD GAME TOOLS
.SFD files can also be manipulated using instructions found on Internet Convoy Documents
.XMV files.. clearly a version of Windows Media Video 2 format… No direct editor currenly exists… however.. the format is well documented by Zziggy00 of X-S
File Type : XMV
Duration : 73773 ms
Packet Size : 24576 byte
Stream Count : 2
Type : Audio
Format : ADPCM
Channel Count : 2
Samples Per Second: 44100
Bits Per Sample : 4
Type : Video
Format : WMV2
Size : 320 x 240
A tool from the XDK called XMVTOOL.EXE produces .XMV Files
Another huge quote from Zziggy00
-d <file name> - dumps the information about the file
-s - dump statistics about the resulting .XMV file
-p <size> - set the packet size in K, from 4-512 in multiples of 4
-t <time> - set the mimimum length of a packet in milliseconds
-i <file name> - add all streams from the input file to the .XMV
-ic <file name> - add and compress all streams from the input file
-v <file name> - add only the video stream from the file
-a <file name> - input only the first audio stream from the file
-ac <file name> - input and compress the first audio stream from the file
-o <file name> - name of the .xmv file to create
-d must be the only option on the command line. The difference between
-s and -d is that -s dumps the information about the .XMV file that would
be produced while -d shows information about the specific file.
Only one of -t or -p may be specified. Specifying neither defaults to a
minimum packet time of 100 ms.
-i, -v and -a can be used to build an XMV file out of multiple video and
audio files. Specifying more than one video stream will result in an
error. Multiple audio streams can be specified and they will be stored in
the XMV file in the same order that they appeared on the command line.
-ic and -ac will store compress the audio streams using ADPCM compression
and store it in the XMV file. These switches have no effect on the video
stream which will always be compressed.
Only one output file may be specified via -o. If the file is not defined
then the tool will display statistics about the file it would have created.
(i.e. no -o will automatically imply -s.)
This tool can import audio and video data from .XMV, .WMV, .WMA, .AVI and
.WAV files. Importing audio data from .WMV and .WMA files is currently
very slow and should be avoided if possible. The video can only be
imported from .WMV files created with the WMV8 video encoder.
Thanks to Zziggy00
we have enough info to produce our own files, use this tool to convert them so we can REPLACE existing files. This post has been edited by HSDEMONZ: Aug 22 2003, 03:36 AM