title
Products            Buy            Support Forum            Professional            About            Codec Central
 

hdcd.exe via CLI Encoder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dewdude

    • Dec 2005
    • 27

    hdcd.exe via CLI Encoder

    Hi,

    Back in Thanksgiving I stumbled across a HDCD CLI "decoder" which would take the 16-bit WAVS from an HDCD encoded disc, apply HDCD processing and spit out a 24-bit wav. The biggest problem is there's right now now batch utlitity for this and it's a hassle punching in 13 or so commands or so for a full CD.

    I decided to give the CLI encoder a try. the HDCD.exe executable supports stdin and stdout, so I figured I'd not have a problem there.

    An example command like would look like this when using STDIN

    hdcd.exe -o outfile.ext

    If using a file, it's

    hdcd.exe -o outfile.ext infile.ext

    I spcified -o [outfile] for my command line and the first time I ran it, it worked just fine, aside from the fact dbpoweramp gave me some kind of odd error about the output, it still worked. I modified the command line a bit and added the -r flag which forces the encoder to treat input as 16-bit PCM and output as 24-bit raw PCM. This elimated the error and worked fine. So i went to run this for an album and I was getting this error:

    *** Error: Error writing audio data to StdIn Pipe [clEncoder::EncodeBlock]

    Now it seems regardless of what options i feed it, I get the exact same error. I've tried running debug and everything looks like it'll work, except for the StdIn Pipe error.

    I don't know if it's a problem with hdcd.exe or some kind of internal thing with dbpoweramp. the Debug feature tells me a lot, but tells me nothing about what the CLI encoder output was...so I have this generic looking error message and no clue where the culprit is.

    any ideas?
  • Spoon
    Administrator
    • Apr 2002
    • 44574

    #2
    Re: hdcd.exe via CLI Encoder

    Try the DSP effect to Run a command after encoding to wave.
    Spoon
    www.dbpoweramp.com

    Comment

    Working...

    ]]>