7744c567c4f9944ebc2c12671f3056ee785c47fd
[swftools.git] / src / wav2swf.doc
1 Usage: %s [-o filename] file.wav\n
2
3 convert a WAV file to an SWF animation.
4
5 Takes a wav file and converts it to a swf movie.
6
7 -h, --help
8 Print short help message and exit
9
10 -V, --version
11 Print version info and exit
12
13 -o, --output <filename>
14 Explicitly specify output file. (Otherwise, output will go to output.swf)
15
16 -r, --framerate \fIfps
17 Set file framerate to \fIfps frames per second.
18     
19 -s , --samplerate <sps>
20 Set samplerate to sps frames per second (default: 11025).
21
22 -b, --bitrate \fIbps
23 Set mp3 bitrate to \fIbps.
24
25 -d, --definesound
26 Generate a DefineSound tag instead of streaming sound.
27 Store the sound as DEFINESOUND tag, not as streaming sound. Allows for
28 looping.
29
30 -l, --loop \fIn
31 (Only used with -d)
32 Loop the sound n times.
33
34 -C --cgi
35 For use as CGI- prepend http header, write to stdout.
36     
37 -S, --stop 
38 Stop the movie at frame 0
39 Stop the movie at frame 0, and start the sound at 1, so that the
40 sound will not play until a "GotoFrame(1)" is issued.
41 (For use with flashsound.js).
42     
43 -b --bitrate <bps>
44 Set mp3 bitrate to <bps> (default: 32)
45     
46 -v --verbose
47 Be more verbose
48 Be more verbose. (Use more than one -v for greater effect)
49