Hi,
I'm trying to figure out the best way to do something in liquidsoap, and
I'm not sure I'm in the right direction.
I need to process the stream through a tool called StereoTool, which
allows for:
- command line processing: using stdin/stdout
- GUI processing: input/output is done through jackd
So for now, what I can do with my stream is:
- output to it, but then I need to encode myself the output for
streaming (MP3/Vorbis, say), and output this to say, icecast.
- output to jackd, open another input to get the result, and output that
to icecast, through a liq encoder.
First way is annoying, because it requires another process to be
spawned, and some encoders do not behave as nicely as liq does. I've
thought about putting another liq process there, but it doesn't look
cleaner. I could also use a fifo or something alike, and another input
afterwards, but this doesn't look too good to me either.
Going through Jackd is nice, and works, but requires a lot of jackd
plumbing for industrialization, which is something I'd like to avoid.
And if I want metadata, I have to catch them on the input, to rewrite
them on the output. It's OK, but not very nice. And also, StereoTool
command line doesn't use Jackd, so the GUI is then a requirement, but
that could be dealt with.
So question.. Is there a way to have the stream processed that will
allow me to encode it through liq afterwards in the same script?
We have external encoders, we have external inputs, can we have external
"processors", that pipe the data back to liq as well?
As of now, using command line gives something like this:
radio = single("somefile.flac")
st = %external("./stereo_tool_cmd_64 -q - - | lame -b 256 -S - -")
output.icecast(st, ...)
And yes, there is a possibility to ask the StereoTool dev to make
something happen if need be, but I wanted to get some feedback through
Savonet dev/users before going there.. :)
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users