neilbetham / livewire-streamer Goto Github PK
View Code? Open in Web Editor NEWStream a Livewire multicast stream to Icecast
License: MIT License
Stream a Livewire multicast stream to Icecast
License: MIT License
This would be so perfect for our setup, but running it on a spare machine with dual NICs won't function. Ubuntu 14.04.1 Quad core 2.4 GHz with 8Gb ram, so it should have plenty of resources. How is your network configured in your VM?
As Ubuntu have dropped using 'Upstart' and moved to 'systemd', the code given to start the process does not work.
Unfortunately, I am not all that well versed in either system to be able to fix it myself!
Hello,
Thank you for your sharing.
I will wish to broadcast to an Icecast server with two different rates:
MP3 ice-samplerate = 44100; ice-bitrate = 128; ice-channels = 2
AAC ice-samplerate = 44100; ice-bitrate = 64; ice-channels = 2
I can convert the stream into 128kbps but not 44k, how do I do?
dumprtp 239.192.0.1 5004 | \
avconv -f s24be -ar 48k -ac 2 -i - -f mp3 -b:a 128K - | \
ezstream -c /etc/ezstream.xml
Input #0, s24be, from 'pipe:':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Audio: pcm_s24be, 48000 Hz, stereo, s32, 2304 kb/s
Output #0, mp3, to 'pipe:':
Metadata:
TSSE : Lavf54.20.4
Stream #0.0: Audio: libmp3lame, 48000 Hz, stereo, s32p, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s24be -> libmp3lame)
Isn't it better to convert directly into the ezstream.xml file like this?
<ezstream>
<url>http://ICECAST.ADDRESS.GOES.HERE:8000/stream</url>
<sourcepassword>hackme</sourcepassword>
<format>MP3</format>
<filename>stdin</filename>
<stream_once>1</stream_once>
<svrinfoname>Awesome Stream Name</svrinfoname>
<svrinfourl>http://awesomestream.org</svrinfourl>
<svrinfogenre>All</svrinfogenre>
<svrinfodescription>This is my amazing web stream!</svrinfodescription>
<reencode>
<enable>1</enable>
<encdec>
<format>MP3</format>
<match>.mp3</match>
<decode> DECODE LIVEWIRE CHANNEL </decode>
<encode>ffmpeg -f s16le -ar 44.1k -ac 2 -i - -b:a 32k -ar 44.1k -f adts -</encode>
</encdec>
</reencode>
</ezstream>
Thank you very much for your help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.