When I use this code:
Code:
find "$DIR" -name "*.wav" | while read list ; do
echo "$list"
ffmpeg -y -hq -i "$list" "${list%%.*}.ra"
done
it only does the first file and not all the .wav files like it should....
This same code used with lame works fine for all files....
e.g.
Code:
find "$DIR" -name "*.wav" | while read list; do
echo "$list"
lame -b $BITRATE -h -t "$list" "${list%%.*}.mp3"
done
So this must be a problem with the way I setup the options/etc.. for ffmpeg.
I'm clueless....
Anyone know how to fix this?
Thanks in advance