Diff for 'Streaming'

Revision: 4
Editor: 10.0.0.3
Size: 765:
Time: 2015-06-10 06:34:20z
Comment:
Revision: 5
Editor: 10.0.0.3
Size: 770:
Time: 2015-06-10 06:34:21z
Comment: Converted moin 1.9 markup to markdown markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Audio Streaming =
#
Audio Streaming #
Line 5: Line 6:
{{{
gst-launch-1.0 --eos-on-shutdown autoaudiosrc ! queue ! audioconvert ! queue ! vorbisenc ! queue ! oggmux ! queue ! tee name=oggx ! queue ! shout2send ip=127.0.0.1 port=8000 password=PASSWORD mount=/stream.ogg oggx. ! queue ! filesink sync=false location=~/annex/fsm-YYYY-MM-DD.ogg
}}}
3gst-launch-1.0 --eos-on-shutdown autoaudiosrc ! queue ! audioconvert ! queue ! vorbisenc ! queue ! oggmux ! queue ! tee name=oggx ! queue ! shout2send ip=127.0.0.1 port=8000 password=PASSWORD mount=/stream.ogg oggx. ! queue ! filesink sync=false location=~/annex/fsm-YYYY-MM-DD.ogg
Line 11: Line 9:
{{{
pagekite.py 8000 fsm.sturm.pagekite.me
}}}
3pagekite.py 8000 fsm.sturm.pagekite.me{: page-href="wiki:///Streaming"}

Audio Streaming

We currently capture audio from an external USB audio device. The audio is captured on the laptop, converted to OGG/Vorbis, saved to disk and also sent to the local Icecast server for streaming to the Internet:

3gst-launch-1.0 --eos-on-shutdown autoaudiosrc ! queue ! audioconvert ! queue ! vorbisenc ! queue ! oggmux ! queue ! tee name=oggx ! queue ! shout2send ip=127.0.0.1 port=8000 password=PASSWORD mount=/stream.ogg oggx. ! queue ! filesink sync=false location=~/annex/fsm-YYYY-MM-DD.ogg Since the Icecast server is behind a firewall, we make it publicly visible using the Pagekite proxy service. This requires a paid account. The example below uses Ben S's account:

3pagekite.py 8000 fsm.sturm.pagekite.me{: page-href="wiki:///Streaming"}