Here is the script:

```
s = playlist("list.m3u")
# sox - - for stdin/out
ps = pipe(process="sox - -t wav - flanger", mksafe(s))
output.icecast(%mp3, mount="test", mksafe(ps))
```

I get:
```
[source:4] Source pipe_8899 gets up.
[pipe_8899:4] Starting process
...
[pipe_8899:4] Closing process's stdin
...
[mksafe:3] Switch to safe_blank.
```
And of course it's streaming blank. I tried to use `tee` to see pipe()'s 
output, but I only get a truncated wav header. And the liq process uses 100% of 
the cpu...

It works if I do it using the named pipe trick:
```
s = playlist("list.m3u")
ps = input.external("cat my_pipe")
# sox - output for stdin
output.external(%wav, "sox - -t wav my_pipe flanger", s)
output.icecast(%mp3, mount="test", mksafe(ps))
```

Any idea?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/607
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to