User Tools

Site Tools


howto:the_open_source_better_solution

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howto:the_open_source_better_solution [2014/05/23 10:55] (current)
Line 1: Line 1:
 +== GISS - Global Internet Support Server==
 +
 +http://www.giss.tv
 +
 +This website is run by a network of activists throughout the globe who share their resources in order to give you the bandwidth required to stream your video signal to lots of of other computers.
 +
 +
 +== VLC media player ==
 +
 +http://www.videolan.org/vlc
 +
 +In this instance VLC can be used to capture a live video signal, play a list of video clips etc. and stream them directly to the Global Internet Support Server to reach your audience through a media player or as part of a website.
 +
 +For a tutorial on using VLC see: http://en.flossmanuals.net/vlc
 +
 +== Icecast streaming Server ==
 +
 +This is one of the most widely used FLOSS streaming servers. You can use this to set up your own streaming server, for a tutorial on this see: http://en.flossmanuals.net/icecast
 +
 +
 +== RiseUp ==
 +
 +http://www.riseup.net
 +
 +If your website is for a worthy cause RiseUp and several other websites offer up webspace with which you can direct your viewers to your video signal
 +
 +
 +== Script for Streaming To GISS From DV Camera ==
 +
 +This script enables you to stream to the GISS network from a DV (firewire, ieee1394) camera. It provides a very robust and reliable stream. It uses the Ogg Theora video codec.
 +
 +It requires the following programs:
 +* dvgrab - used the grab the video signal from your camera, http://www.kinodv.org/
 +* ffmpeg2theora - converts video signal tp Ogg Theora codec, http://v2v.cc/~j/ffmpeg2theora/
 +* ffmpeg - used by ffmpeg2theora, http://ffmpeg.mplayerhq.hu/
 +* oggfwd - sends video signal to server, http://v2v.cc/~j/oggfwd/
 +
 +
 +This is the script, the bits in '''bold''' text are where you need to put in your own settings, these are explained below. Note that the script needs to be one complete line of text:
 +
 +<blockquote><tt>
 +dvgrab --format raw - | ffmpeg2theora -f dv -x '''width''' -y '''height''' -v 0 -a 0 -H 11025 -o /dev/stdout - | oggfwd '''server''' '''port''' '''password''' '''channel'''
 +</tt></blockquote>
 +
 +*'''width''' - width of image in pixels, ie. 320
 +*'''height''' - height of image in pixels, ie. 240
 +*'''server''' - address of streaming server, ie. giss.tv
 +*'''port''' - port number on server, ie. 8000
 +*'''password''' - password for streaming account, this is provided by GISS when you create your account
 +*'''channel''' - name of the streaming channel, ie. /mystream.ogg
 +
 +
 +So one example might be:
 +
 +<blockquote><tt>
 +dvgrab --format raw - | ffmpeg2theora -f dv -x 320 -y 240 -v 0 -a 0 -H 11025 -o /dev/stdout - | oggfwd giss.tv 8000 s3cr3t /mystream.ogg
 +</tt></blockquote>
 +
 +The best way to use this script is to write it into a text file as a 'bash' script, this needs an additional line at the top like this:
 +
 +<blockquote><tt>
 +<nowiki>#!/bin/bash</nowiki>
 +<br/>
 +<br/>
 +dvgrab --format raw - | ffmpeg2theora -f dv -x 320 -y 240 -v 0 -a 0 -H 11025 -o /dev/stdout - | oggfwd giss.tv 8000 s3cr3t /mystream.ogg
 +</tt></blockquote>
 +
 +Save the script with a simple name, like 'mystream', and then set its permission so that it is executable, ie:
 +
 +<blockquote><tt>
 +chmod 755 mystream
 +</tt></blockquote>
 +
 +Then, when you want to run the stream all you have to do is connect up your camera, make sure your online, go to the directory where you have your script stored, and enter:
 +
 +<blockquote><tt>
 +./mystream
 +</tt></blockquote>
 +
 +
 +If you are new to scripting in Linux, a good introduction and hands-on tutorial is: http://www.linuxcommand.org, see also: http://en.flossmanuals.net/linux
 +
 +For more information visit the GISS info page - http://giss.tv/wiki/index.php/Main_Page
 +
 +
 +== Additional Info ==
 +
 +More information and tutorials on FLOSS streaming tools and utilities can be found at:
 +
 +*http://en.flossmanuals.net/theoracookbook
 +*http://en.flossmanuals.net/ffmpeg2theora
 +*http://en.flossmanuals.net/muse
  
howto/the_open_source_better_solution.txt ยท Last modified: 2014/05/23 10:55 (external edit)