File: external-encoder.liq

package info (click to toggle)
liquidsoap 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,372 kB
  • sloc: ml: 71,806; javascript: 27,320; ansic: 398; xml: 114; sh: 99; lisp: 96; makefile: 26
file content (5 lines) | stat: -rw-r--r-- 209 bytes parent folder | download
1
2
3
4
5
tmp = file.temp("foo", "flv")
on_cleanup({file.remove(tmp)})
encoder = %external(process = "cat")
o = output.file(fallible=true, encoder, "/tmp/cat", sine(duration=1.))
o.on_start(synchronous=true, test.pass)