Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HDCD CDs and transcoding
04-02-2020, 01:57
Post: #21
RE: HDCD CDs and transcoding
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
Find all posts by this user
Quote this message in a reply
04-02-2020, 09:59
Post: #22
RE: HDCD CDs and transcoding
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.
Find all posts by this user
Quote this message in a reply
06-02-2020, 04:08
Post: #23
RE: HDCD CDs and transcoding
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
Find all posts by this user
Quote this message in a reply
06-02-2020, 09:04
Post: #24
RE: HDCD CDs and transcoding
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.
Find all posts by this user
Quote this message in a reply
07-02-2020, 17:45
Post: #25
RE: HDCD CDs and transcoding
(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 ?
Find all posts by this user
Quote this message in a reply
07-02-2020, 17:48
Post: #26
RE: HDCD CDs and transcoding
(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 ?
Find all posts by this user
Quote this message in a reply
07-02-2020, 18:23
Post: #27
RE: HDCD CDs and transcoding
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
Find all posts by this user
Quote this message in a reply
22-02-2021, 08:24 (This post was last modified: 22-02-2021 15:58 by vkshankar.)
Post: #28
RE: HDCD CDs and transcoding
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.

   


Attached File(s)
.zip  minim2-ffmpeg-hdcd-L16.zip (Size: 5.61 KB / Downloads: 1)
Find all posts by this user
Quote this message in a reply
22-02-2021, 12:02
Post: #29
RE: HDCD CDs and transcoding
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.
Find all posts by this user
Quote this message in a reply
22-02-2021, 15:39
Post: #30
RE: HDCD CDs and transcoding
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)