INTERACT FORUM
More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: rgreenwalt on October 19, 2015, 02:17:12 pm
-
Hi,
I'm trying to convert some dsd audio files to flac and while most have worked just fine, some finish very quickly with a status of "Failed" as their "detail". I know the source dsd plays fine. What can I do to debug the failure and resolve the issue? Are there log files somewhere that would have more information on the reason for the failure?
Thanks!
Robert
-
Hmm - conversion of wav->flac also fails. I tried working around the dsd->flac failure by going to wav first. The dsd->wav conversion worked fine and the wav is playable.
This isn't a general failure of the flac encoder: I have successfully converted dsd->flac for other albums since encountering this problem..
Thanks again,
Robert
-
What kind of DSD file is it? I just tried and it seems to work here.
You may need to setup resampling in the converters DSP options, as FLAC is limited to the sample rate (and really, you generally want to downsample DSD when converting it to PCM).
You can setup resampling for conversion in the Options of the converter, Enable Apply DSP and Setup the DSP to resample. A common sample rate for DSD to use in PCM is 88.2k.
-
It's a 2 channel 5.6Mhz (double-rate) dsd I bought online. It's not the only dsd I've bought from this source, but it's the only one that fails to convert. It plays fine.
I discovered the logging system under the help menu, but the logs aren't really informative:
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: Start
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: Blocks: 356502988
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: Successfully completed Encoder setup
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: Setting up MetaData blocks
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: Adding SeekTable
5508426: 760: Encoders: EncoderImpl::SetSeekTable(&st, 356502988, 705600)
: Start
5508426: 760: Encoders: EncoderImpl::SetSeekTable(&st, 356502988, 705600)
: Finish (0 ms)
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: Adding Padding Block
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: Initializing the encoder with the following settings:
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: bits per sample = 24
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: verify = True
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: ERROR - Failed to init
5508426: 760: Encoders: CFlacEncoder::StartBufferBased: Finish (0 ms)
-
Trying your suggestion of enabling the dsp. I'm pretty sure I haven't been flipping that on or off between success/failure attempts, but I'll try anything at this point..
-
Your suggestion about enabling the dsp DID work.
I'm going to have to do some experiments re-converting other stuff with the dsp on and off to see if I can understand what's up.
Thanks for the help!
Robert
-
It's a 2 channel 5.6Mhz (double-rate) dsd I bought online. It's not the only dsd I've bought from this source, but it's the only one that fails to convert. It plays fine.
That's definitely the problem. The "native" rate of DSD128 is 705.6 kHz. Apparently this is beyond the limit for FLAC and it will fail to produce a file. If you use the DSP Settings and use Output Format to map 705,600 to output to a lower sampling rate (like 96,000 for example), then the FLAC conversion should work properly.
Single rate DSD (DSD64) will convert without using DSP Studio, but you'll end up with FLACs with a sampling rate of 352.8 kHz, which makes REALLY big files. REALLY BIG! You probably want to use DSP Studio's Output Format on those too. Probably convert them down to 192,000 or below.
Brian.
-
Yeah - that explains why some dsd's were working. Thanks for the explanation.