Difference between revisions of "Toolame man page"

From OpenDigitalRadio
Jump to navigationJump to search
(New page: MPEG Audio Layer II encoder usage: toolame [options] <input> <output> Options: Input -s sfrq input smpl rate in kHz (dflt 44.1) -a downmix from stereo to mono -x forc...)
 
Line 6: Line 6:
 
Options:
 
Options:
 
Input
 
Input
-s sfrq  input smpl rate in kHz  (dflt 44.1)
+
-s sfrq  input smpl rate in kHz  (dflt 44.1)
-a      downmix from stereo to mono
+
-a      downmix from stereo to mono
-x      force byte-swapping of input
+
-x      force byte-swapping of input
-g      swap channels of input file
+
-g      swap channels of input file
 
Output
 
Output
-m mode  channel mode : s/d/j/m  (dflt    j)
+
-m mode  channel mode : s/d/j/m  (dflt    j)
-p psy  psychoacoustic model 0/1/2/3 (dflt    1)
+
-p psy  psychoacoustic model 0/1/2/3 (dflt    1)  
-b br    total bitrate in kbps    (dflt 192)
+
-b br    total bitrate in kbps    (dflt 192)
-v lev  vbr mode
+
-v lev  vbr mode
-l lev  ATH level (dflt 0)
+
-l lev  ATH level (dflt 0)
 
Operation
 
Operation
-q num  quick mode. only calculate psy model every num frames
+
-q num  quick mode. only calculate psy model every num frames
 
Misc
 
Misc
-d emp  de-emphasis n/5/c        (dflt    n)
+
-d emp  de-emphasis n/5/c        (dflt    n)
-c      mark as copyright
+
-c      mark as copyright
-o      mark as original
+
-o      mark as original
-e      add error protection
+
-e      add error protection
-r      force padding bit/frame off
+
-r      force padding bit/frame off
-D len  add DAB extensions of length [len]
+
-D len  add DAB extensions of length [len]
-t      talkativity 0=no messages (dflt 2)Files
+
-t      talkativity 0=no messages (dflt 2)Files
input    input sound file. (WAV,AIFF,PCM or use '/dev/stdin')
+
input    input sound file. (WAV,AIFF,PCM or use '/dev/stdin')
output  output bit stream of encoded audio
+
output  output bit stream of encoded audio
 
+
Allowable bitrates for 16, 22.05 and 24kHz sample input
+
Allowable bitrates for 16, 22.05 and 24kHz sample input
8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160
+
8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160
 
+
Allowable bitrates for 32, 44.1 and 48kHz sample input
+
Allowable bitrates for 32, 44.1 and 48kHz sample input
32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384
+
32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384

Revision as of 02:59, 28 November 2009

MPEG Audio Layer II encoder

usage: toolame [options] <input> <output>

Options: Input

	-s sfrq  input smpl rate in kHz   (dflt 44.1)
	-a       downmix from stereo to mono
	-x       force byte-swapping of input
	-g       swap channels of input file

Output

	-m mode  channel mode : s/d/j/m   (dflt    j)
	-p psy   psychoacoustic model 0/1/2/3 (dflt    1) 
	-b br    total bitrate in kbps    (dflt 192)
	-v lev   vbr mode
	-l lev   ATH level (dflt 0)

Operation

	-q num   quick mode. only calculate psy model every num frames

Misc

	-d emp   de-emphasis n/5/c        (dflt    n)
	-c       mark as copyright
	-o       mark as original
	-e       add error protection
	-r       force padding bit/frame off
	-D len   add DAB extensions of length [len]
	-t       talkativity 0=no messages (dflt 2)Files
	input    input sound file. (WAV,AIFF,PCM or use '/dev/stdin')
	output   output bit stream of encoded audio

	Allowable bitrates for 16, 22.05 and 24kHz sample input
	8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160

	Allowable bitrates for 32, 44.1 and 48kHz sample input
	32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384