Troubles with Transcoding to FLAC
Posted: Tue Dec 16, 2014 5:37 pm
Hey folks,
I have a (hopefully) fairly basic question about recording and transcoding here. I want to record from the line in on my Wolfson audio card at 24/192/2ch and transcode that to a flac file. I can do this fine at 16 bits/sample, but when I crank it up to 24 bits/sample, I just get static and warped music out of my local speakers when I try to play back the file. The command line syntax I use is:
arecord -d0 -c2 -f S24_LE -r 192000 -traw -D hw:0 | flac -cs --endian=little --sign=signed --channels=2 --bps=24 --sample-rate=192000 --compression-level-0 - -o flac_raw24.flac
Changing the arecord file type to wav doesn't help, and neither does changing the sample rate. The only thing I changed between the 16 bit/sample recordingss and this was the -f and --bps fields. The 16 bit/sample recordings also work if I change the arecord file type to wav. This issue is described in greater detail at post 18 of the thread I created in the Slim Device forum (http://forums.slimdevices.com/showthrea ... mple/page2). Does anyone have an idea of what's going on here? Any help would be greatly appreciated.
Cheers,
Michael
I have a (hopefully) fairly basic question about recording and transcoding here. I want to record from the line in on my Wolfson audio card at 24/192/2ch and transcode that to a flac file. I can do this fine at 16 bits/sample, but when I crank it up to 24 bits/sample, I just get static and warped music out of my local speakers when I try to play back the file. The command line syntax I use is:
arecord -d0 -c2 -f S24_LE -r 192000 -traw -D hw:0 | flac -cs --endian=little --sign=signed --channels=2 --bps=24 --sample-rate=192000 --compression-level-0 - -o flac_raw24.flac
Changing the arecord file type to wav doesn't help, and neither does changing the sample rate. The only thing I changed between the 16 bit/sample recordingss and this was the -f and --bps fields. The 16 bit/sample recordings also work if I change the arecord file type to wav. This issue is described in greater detail at post 18 of the thread I created in the Slim Device forum (http://forums.slimdevices.com/showthrea ... mple/page2). Does anyone have an idea of what's going on here? Any help would be greatly appreciated.
Cheers,
Michael