Wednesday, 1 January 2014

Ezstream from windows - page thirteen

Using Ezstream as a source from a windows machine.

Ezstream also has a windows version. From a windows machine, download [ from here; http://www.icecast.org/ezstream.php ] ezstream for windows. It is a commandline program in windows also, so put it somwhere so you can easily get to it from the command line. I downloaded it to a thumb drive, so it is in g:\ezstream.

http://v2v.cc/~j/ffmpeg2theora/download.html
Open ezstream_vorbis.xml and save it as theora.xml. Edit theora.xml and make the following changes


<ezstream>
    <url>http://192.168.1.21:8000/hillbillies.ogv</url>
    <!--
      If a different user name than "source" should be used, set it in
      <sourceuser/>:
     -->
    <!-- <sourceuser>mr_stream</sourceuser> -->
    <sourcepassword>my1pa55w0rd</sourcepassword>
    <format>THEORA</format>
    <filename>c:\temp\beverlyhillbillieses1e1.ogv</filename>
    <!-- For demonstrational purposes, explicitly set continuous streaming: -->
    <stream_once>0</stream_once>
    <!--
      The following settings are used to describe your stream to the server.
      It's up to you to make sure that the bitrate/quality/samplerate/channels
      information matches up with your input stream files.
     -->
    <svrinfoname>The Beverly Hillbillies!</svrinfoname>
    <svrinfourl>http://192.168.1.21</svrinfourl>
    <svrinfogenre>Beverly Hillbillies</svrinfogenre>
    <svrinfodescription>The Beverly Hillbillies; Season one, Epesode one.</svrinfodescription>
    <svrinfobitrate>96</svrinfobitrate>
    <svrinfoquality>2.0</svrinfoquality>
    <svrinfochannels>2</svrinfochannels>
    <svrinfosamplerate>44100</svrinfosamplerate>
    <!-- Allow the server to advertise the stream on a public YP directory: -->
    <svrinfopublic>0</svrinfopublic>
</ezstream>


To stream it to your streaming server run;

G:\ezstream ezstream -c g:\ezstream\examples\theora.xml


Use vlc to play the stream. Open vlc, select media | open network stream |  and in network URL enter http://192.168.1.21:8000/hillbillies.ogv


The video will be tiny, blurry, and the stream may stutter; but it will work!

No comments:

Post a Comment