Giter VIP home page Giter VIP logo

livewire-streamer's People

Contributors

neilbetham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

livewire-streamer's Issues

Dual Network Card Setup in non-VM Doesn't Work

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?

Ubuntu versions 16.04 onwards doesn't use Upstart

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!

Output formatting

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.