Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A perl script to rip and normalize songs for iTunes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A perl script to rip and normalize songs for iTunes
Authored by: cinchel on Apr 22, '07 01:16:47PM

could someone post a sample command line for using this. i have tried using it to convert some .aiff files but it would just yell at me.
exapmle
[code]
afconvert -f m4af -d alac -s 2 -r 127 -q 127 sample.wav --verbose sample.m4a
Input file: sample.wav, 10381140 frames
codec quality = 127
strategy = 2
error 'prop': set audio converter property

Error: set audio converter property ('prop')
[code]

there must be something simple that I am not getting. can anyone enlighten me. thank you
cinchel



[ Reply to This | # ]
A perl script to rip and normalize songs for iTunes
Authored by: stsmith on Apr 30, '07 04:31:10AM
Could someone post a sample command line for using this. i have tried using it to convert some .aiff files but it would just yell at me.
afconvert -f m4af -d alac -s 2 -r 127 -q 127 sample.wav --verbose sample.m4a
Input file: sample.wav, 10381140 frames
codec quality = 127
strategy = 2
error 'prop': set audio converter property

Error: set audio converter property ('prop')
You're specifying inconsistent coder settings: ALAC (lossless) coding with a variable bitrate, "-s 2" == "--strategy 2" == VBR. ALAC's bitrate is what it is, so asking for VBR causes afconvert to exit with an error.

The following examples will work:

ALAC (lossless):
afconvert -f m4af -d alac -r 127 -q 127 --verbose sample.wav sample.m4a
AAC (lossy):
afconvert -f m4af -d aac -b 256000 -s 2 -r 127 -q 127 --verbose sample.wav sample.m4a
The script does all this stuff automatically, and adds track information from CDDB.

[ Reply to This | # ]