View Single Post
Old 18th May 2007, 22:23   #19  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by shon3i View Post
Any chance to implement stdout, so we can use in BeHappy or other 3rd party app as decoder?
Which format would I have to output to stdout to make BeHappy happy? Raw or Wav? Or something else? What you can do right now is to ask eac3to to decode to a WAV file. You can then use this WAV file in BeHappy. The main problem is that eac3to doesn't directly receive the data from the decoders. Instead eac3to asks the decoders to dump the output into a file (and there's no way for me to change that). So the raw decoded data must be written to a file first, anyway. No way around that. Of course, once that raw file is written, eac3to could open and read it and feed it into stdout. Or eac3to could first ask Sox.exe to convert the raw file into a wav and feed *that* file to stdout. But I'm wondering how much would be won by doing that.
madshi is offline