MinimServer Forum
HDCD CDs and transcoding - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: MinimStreamer (/forumdisplay.php?fid=11)
+--- Thread: HDCD CDs and transcoding (/showthread.php?tid=1502)

Pages: 1 2 3 4 5 6


RE: HDCD CDs and transcoding - Jeffry67 - 04-02-2020 01:57

Hi,

I just recently ripped some HDCD CDs and I was looking in the forum to find if HDCD could be enabled in MinimServer and found this thread.

I tried what Simon is recommending: In the stream.options property, add the option "convOut=-af hdcd" to enable the FFmpeg hdcd filter.

When I do so I get this message : 'convOut' option incorrect for converter.

I'm running MinimServer on a Synology NAS (DSM 6.2.).
Ministreamer options I'm using are:
stream.converter = ffmpeg
stream.transcode = flac:wav24;, alac:wav24;, mp3:wav24;, aac:wav24;, mp4:wav24;

Anyone has and idea what's wrong?

Thank you
Jean-François


RE: HDCD CDs and transcoding - simoncn - 04-02-2020 09:59

I think the version of FFmpeg that is included in Synology DSM is too old to support the hdcd filter. There is a newer version available for download from the SynoCommunity repository. After installing this, you might need to update the stream.converter property to point to the correct location for the later version of FFmpeg. I am away from home at present, so I can't verify the correct setting.


RE: HDCD CDs and transcoding - Jeffry67 - 06-02-2020 04:08

Hi Simon, I took a rush course of SSH and was able to find the executable for the ffmpeg i've downloaded as per your instruction. I put this in the stream.converter line: /volume1/@appstore/ffmpeg/bin/ffmpeg and was able to have the convOut working. Could leaving the hdcd option there have some negative impacts on the rest of the non hdcd music?

Thanks a lot for you help,
Jean-François


RE: HDCD CDs and transcoding - simoncn - 06-02-2020 09:04

Yes, it does have negative aspects as discussed in the other thread. Unfortunately, I think this means it is not a practical option for most people.


RE: HDCD CDs and transcoding - lyapounov - 07-02-2020 17:45

(04-02-2020 09:59)simoncn Wrote:  I think the version of FFmpeg that is included in Synology DSM is too old to support the hdcd filter. There is a newer version available for download from the SynoCommunity repository. After installing this, you might need to update the stream.converter property to point to the correct location for the later version of FFmpeg. I am away from home at present, so I can't verify the correct setting.

I usually download ffmpeg from https://www.johnvansickle.com/ffmpeg/

And it works on my synology.

Is there a difference between this ffmpeg and the synocommunity one ?


RE: HDCD CDs and transcoding - lyapounov - 07-02-2020 17:48

(12-07-2019 02:11)GreenMtnGringo Wrote:  I am back to ripping HDCDs to 24-bit FLAC files with dBpoweramp. In my system, the ffmpeg HDCD decoder seems to decrease the volume of even non-HDCD FLAC rips, and rather dramatically so.

Forgive my naive question, but which hardware are you using for ripping HDCD ?

I had the feeling that standard cd player which you connect to a computer can only read the standard CD layer of a disk, and no other.

I am lucky to own a oppo, therefore I can now rip my sacd. But I have a DSD album, and I don't know how to extract the dsd file. So I thought same with a HDCD ?


RE: HDCD CDs and transcoding - Jeffry67 - 07-02-2020 18:23

Hi, The CD's i've ripped with EAC had a "hdcd" logo on the label. These are standard CDs with a special encoding supposed to give an enhanced sound quality. They rip just like any other CDs (16/44100).

JF


RE: HDCD CDs and transcoding - vkshankar - 22-02-2021 08:24

I am having problems streaming with "-af hdcd" and "wav:L16;44" options set. My Oppo BDP 83 can only accept LPCM stream over UPnP connection. Hence this setting. It works if I remove the "-af hdcd" flag. I have also attached an image and log file, in case it would help.

[attachment=2194]


RE: HDCD CDs and transcoding - simoncn - 22-02-2021 12:02

In future, please attach log output to your post as a file instead of posting it inline. A very long post like this makes it hard for people to read the thread. It is best to compress the log file to .zip or .tar.gz before attaching it.

You can't use -af hdcd with a 16-bit output stream. This is because HDCD encodes 20 bits of information into a 16-bit sample. The hdcd filter decodes this information back to 20 bits, so it cannot work unless the output bit depth is at least 20 bits.


RE: HDCD CDs and transcoding - vkshankar - 22-02-2021 15:39

My apologies. I will edit my post and include the log file as a .zip or .tar.gz. I actually tried “-af hdcd”& “L24” options and I got “pink noise” on playback. Interestingly just “L24” without the “-af option” reduced the playback speed to about 50% or so. L20 doesn’t seem to be a valid option. Is there any other way of achieving what I intend? Unfortunately “wav” isn’t a viable output option for me.
I tried the options with foobar2000 UPnP server + hdcd decoder and the wav -> lpcm option worked fine and the playback had hdcd decoding on.