Quote:
Originally Posted by erroneus
Just this morning I was attempting to play some very tightly encoded MP3s and it completely crashed my Blackberry.
|
What are your MP3 details? It would take only a few moments to sit here and start with your crashing format and gently increase (decrease?) the LAME encoding params upwards and test them all out.
Code:
#!/bin/sh
FREQ="8 11.025 12 16 22.05 24 32 44.1 48"
BITS="8 16 24 32"
MODE="s j f d m"
INFILE="input.wav"
OUTFILE="output"
LAME="/usr/bin/lame"
for ii in ${FREQ}; do
for jj in ${BITS}; do
for zz in ${MODE}; do
$LAME -s $ii -b $jj -m $zz $INFILE $OUTFILE_${ii}_${jj}_${zz}.mp3
done
done
done
exit 0
Run that code and you get 180 MP3 files to slap on your device and test it out.