[Icecast] Krad Pipe To

Krad Radio kradradio at gmail.com
Tue Apr 16 11:20:01 UTC 2013


This is a little hack for sending -live encoded- WebM streams to Icecast
from STDIN.

An example (I was using libav from git, params likely different between
libav, ffmpeg etc programs)

avconv -v debug -f video4linux2 -s 320x240 -r 10 -i /dev/video0 -vcodec
libvpx -threads 2 -vb 128k -r 10 -f webm pipe:1 | krad_pipe2
europa.kradradio.com 8008 /pipetest123.webm firefox

Requires an Icecast 2.4 beta server. Testing on the above server is OK.

gcc -Wall -o krad_pipe2 krad_pipe2.c

sudo cp krad_pipe2 /usr/local/bin

Incase you missed it, Krad Pipe (A different program from this one) can be
used to ad-hoc restream from one Icecast server to another.


Happy Streaming,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20130416/8f93bc7d/attachment.htm>

More information about the Icecast mailing list