Mixing audio into a Bink file
Mixing audio is the process of interleaving little bits of sound data into each video frame. Normally, you won't have to perform this task, because Bink will compress the audio track of an AVI or QuickTime automatically as it compresses the video frames. You only need to use the mixer when you want to replace or add another audio track to a Bink file.
Bink supports any number of audio tracks in a Bink video file, but it can currently only play one audio track for each movie (you can play two movies each with their own sound track, though). Bink's support for any number of audio tracks is a handy feature because you can put multiple languages in one Bink file and select between them at runtime.
To mix audio into a Bink file, just highlight a Bink file and an audio file to mix in (hold down the Control key while clicking your mouse to highlight more than one file at a time). Once the files are selected, click the "Mix in Audio" button to open the mixer window. The mixer window will open with the following options. You can click on the screenshot, or select from the following links to jump right to the help topic you need.
Sound file to mix:
This option lets you change the sound file that the mixer is going to use for the sound track. This is convenient when you want to compress an audio file in another directory. If you want to remove an audio track, use "-" for the sound file name to mix.
Output file settings:
Enter the filename that you'd like to mix into in this field. You can use the Browse button to choose a directory with your mouse. Use the "automatic overwrite" switch when you don't want Bink to ask you if you want to overwrite the destination filename.
Sound compression level: The Sound compression level controls how much audio compression Bink applies. Bink's powerful audio codec is capable of up to 10 to 1 compression in perceptually lossless mode (which basically means you can save a ton of space in your audio tracks without hearing any compression artifacts). Bink compresses 44Khz data the best, and because it compresses the data so well, you should just get used to leaving 11 and 22 Khz behind. Bink still supports 11 and 22 Khz, but the compression ratios are lower (3 to 1 and 5 to 1). Quality level 4 is perceptually lossless on most files, and many files can even use a setting of 5 or 6. Settings of 9 and higher get pretty noisy.
Mix into Bink track ID: This option lets you choose a specific track ID number to mix the audio into. Track ID numbers are completely under your control - you can use whatever number you like - they don't have to be contiguous, monotonic, or even increasing. If you use a track ID that alreay exists in the file, then that track data is replaced with the new track data.
Start mixing at what frame number: Here is where you choose the frame number that you want the mixing to begin on. Actually, the mixing really always starts from the first frame, and this function pads the input data with enough silence to cause the sound track to begin exactly on your chosen frame number. You can also use a millisecond offset by entering a negative number. For example, 2000 would start the sound 2 seconds into the movie.
Force frame rate: Use this option to force a new frame rate on the output Bink file. You'll need to set this option when you compress still images, because they have a default rate of 10 frames per second.
Convert Audio: Check this box to convert the audio from the input file. If you are converting just audio, then the output file will be a wave file. If you are converting video and audio, then the output file will be an AVI file.
- Loop input audio: This option tells Bink to loop the audio throughout the entire Bink movie.
- Input from track: This option tells the RAD Converter what track to read the audio from. It supports both Video for Windows and QuickTime formats.
- Start input at (ms): This switch, in combination with the following "End input" are the tools you need for mixing a specific sub-section of audio data out of a larger sound file. This is the start point of your range -- it is specified in milliseconds.
- End input at (ms): This switch defines the end point of a specific sub-section of audio data out of a larger sound file. This value is specified in milliseconds.
- Skip into (bytes): This field tells the RAD Converter to skip into the specified sound file before beginning the mixing process. It is usually used with the "Override input format" fields to skip over an unsupported sound format header.
Convert output format: These fields allow you to convert to another sound format during compression. They are there for your convenience, but for maximum quality, you should always start with original high-quality recordings. The RAD Converter can convert a 22 Khz file up to a 44 Khz file, but it can't make it magically sound any better that the original 22 Khz.
Override input format: These fields force a input new format - they don't convert! This is usually only used with RAW sound files that have no header information to identify their sound format.