BeSplit v0.9b8 by DSPguru.      BUGFIX in BlockAlign
BeSplit v0.9b7 by DSPguru.      workaround for converting open-bitrate dtswavs
----------------------------
this program started as a simple WAV/AC3/AAC/MPA/MP3/MP2/MP1/PCM/DTS/DTS-WAV Cutter.
now it's more of a mutlimedia streams manipulator.

Warrenty
---------
I take no responsibility for any kind of damage caused by BeSplit.
Use this program at your own risk!


Information
-----------
Usage :
BeSplit -core( .. ) -split( .. )

core   switches sets files arguments & engine behavior.
split  section holds the list of timestamps to be splitted.
ota    switches sets the Overall Track paremeters.

for full switches list of 'core', please run BeSplit.exe on a dos-window:
BeSplit v0.9b7 by DSPguru.
--------------------------

Usage  : BeSplit -core( .. ) -split( .. ) -ota( .. )
Core Switches :
                 -input     [Filename.ac3/mp3/mp2/mpa/wav/aac/pcm/dts]
                 -output    [Filename.ac3/mp3/mp2/mpa/wav/aac/pcm/dts]
                 -prefix    [prefix/path of output files]
                 -logfile   [Filaname.txt] (write to logfile)
                 -logfilea  [Filaname.txt] (append to logfile)
                 -ending    (continue until reaching end of file)
                 -type      [aac/ac3/mp3/mp2/mpa/wav/dts/dtswav/ddwav]
                 -fix       (don't split, just fix the stream)
                 -r         (use Relative time list)
                 -a         (use Absolute time list)
                 -demux     (demux mutlichannel wave into mono waves)
                 -join      (join all files listed in a list-file into one)
                 -addriff   (add riff header to output files)
                 -fixcrc    (recalculate all crc tags)


for ota's switches, read attached 'ota.txt':    SOLO MP2/MP3
-G GAIN
-------
Default: 1.0 (or 0db)

This option controls the overall track gain of encoded files. The value can be given
in db's (by specifying "db" after the argument) or a positive numerical
value. Examples: -G -3db, -G 5.3, -G 6db

-G max, is a special switch for finding maximum gain. (Normalize)


for usage examples, read attached Examples.txt:

1. AC3 input. Absolute timestamps.
this will create the files track01.ac3,track02.ac3 on e:\
the length of each track would be 10 seconds.
	Besplit -core( -input live.ac3 -prefix e:\track -type ac3 -a ) -split( 0 10 20 )

2. AAC input. Relative timestamps.
this will create two aac files track01.aac,track02.aac on e:\
the length of each track would be 10 seconds.
	BeSplit -core( -input live.aac -prefix e:\track -type aac -r ) -split( 0 10 10 )

3. MP2 Input. using -ending.
this will create the file track01.mp2 on e:\
track01.mp2 is like live.mp2 excluding the first two minutes of track (they were skipped).
	BeSplit -core( -input live.mp2 -prefix e:\track -type mp2 -ending ) -split( 120 )

4. WAV-AC3 Input. Removing Wave header.
this will create the file track01.ac3 on e:\
the input wav file is an ac3 stream that was extracted from avi using virtualdub.
	BeSplit -core( -input live.wav -prefix e:\track -type ac3 -fix )

5. Fixing length information of WAV (or VBR MP3)
this will create the file fixed.wav on e:\
the filelength field would be corrected.
	BeSplit -core( -input live.wav -output e:\fixed.wav -type wav -fix )

6. Converting a Dolby-Digital-WAV into standard AC3 file
this will create the file track01.ac3 on e:\
	BeSplit -core( -input live.wav -output e:\track01.ac3 -type ddwav -fix )

7. Demuxing a Multichannel wave into Mono waves
this will create the files channel01.wav, channel02.wav on e:\
	BeSplit -core( -input stereo.wav -prefix e:\channel -type wav -demux )

8. Normalizing a MP3 file & Adding wave header :
this will create the file Normalized.wav on e:\
	BeSplit -core( -input input.mp3 -output e:\Normalized.wav -type mp3 -addriff ) -ota( -G max )

9. Join
        BeSplit -core( -input join.lst -prefix j.mp2 -join )

NEWS:

BeSp09b7/BeSplit -core( -input "g:/01.wav" -output "g:/01.dts" -type dtswav -fix )

BeSplit replaces the "open bitrate" header with a cbr header.
(it also converts the 14bit data into 16bit, therefore the extracted dts streams are 12.5% smaller)
The .dts should be normally a bit smaller than the .wav, because the dts stream (14bit @
44.1kHz => 1.234 mb/s ) is packed as 16bit @ 44.1kHz => 1.4112 mb/s in order to comply with
the CD - Red Book (CD-A specs) - so these CDs can be played on every CD-Player, though only
those with a digital out - connected connected to some external decoder would produce some
useable / audible results

1. DTS input. Absolute timestamps.
this will create the files t01.dst (68 sec), t02.dst (207 sec) on g:\
BeSp09b7/Besplit -core( -input g:\NewYear.dts -prefix g:\t -type dts -a ) -split( 0 68 275 )


Latest releases can be found at:
	http://BeSplit.doom9.net
for updated info about this program, visit Doom9's "Audio Encoding" forum :
	http://forum.doom9.net/forumdisplay.php?s=&forumid=11
for bug-reports and features-requests, post your comments here :
	http://forum.doom9.org/showthread.php?s=&threadid=24690


DSPguru would like to thank :
Mr. Midas  - for the inspiration.
DVD2SVCD   - for asking me to add MPA&WAV support.
Roberto A. - for asking me to add AAC support.
RUOK       - for writing WBIAS (a GUI for BeSplit) and supplying important feedbacks.
mpucoder   - for asm86 help.
