Page 1 of 1

TRanscoding FLAC>MP3

PostPosted: Fri Mar 30, 2007 9:35 pm
by samotano
Hi,
I get erratic behaviour when trying to play flac tracks. I have setup the transcoder, however, some flac tracks are transcoded to mp3 and play fine in winamp, others don't play (winamp says buffering but nothing happens). It does not seem to be a file size problem, nor file names format.
Any ideas?
thx

Problem Solved

PostPosted: Sun Apr 01, 2007 7:07 pm
by samotano
Just to follow-up on my previous post. I was able to solve my problem of decoding FLAC tracks in subsonic. If anyone else has this problem, here is what worked for me.

The error log indicated the following:

2007-04-01 11:20:45,189] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\flac) Ibrahim Ferrer - Aquellos Ojos Verdes.flac: ERROR while decoding data
[2007-04-01 11:20:45,189] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\flac) state = FLAC__STREAM_DECODER_READ_FRAME

The file plays just fine in winamp (without subsonic). However, if I try to decode it to .wav or test it in Flac I get the error:
FLAC__STREAM_DECODER_READ_FRAME

by using the -F switch I can decode it "through errors", meaning it will ignore the error and keep on decoding. At the end of the decoding, Flac indicates the following: "ERROR, MD5 signature mismatch". I don't know yet what this error means, but it's not serious enough to make the file unreadable (perhaps the metadata is the culprit?).

In any case, I just needed to add the -F option to my flac>mp3 transcoding settings in subsonic. Yippie!

PostPosted: Wed Apr 04, 2007 12:57 pm
by sindre_mehus
Excellent, thanks for letting us know!
I'll update the default transcoding settings according to your findings.

Sindre