Difference between revisions of "Streaming Tools"

From Giss
(Theora Streaming Studio)
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This pages covers some tests with current streaming tools,
+
This page covers some tests with current streaming tools,
 
advices and howtos :
 
advices and howtos :
  
 
+
= Audio Streaming ( live + playlist + mix ) =
= Audio Streaming =
 
  
 
== Linux : ==
 
== Linux : ==
Line 13: Line 12:
 
It runs on Python and has a nice support to use the microphone and program songs.
 
It runs on Python and has a nice support to use the microphone and program songs.
  
You can also record your stream in mp3 or ogg, use a bot Xchat plugin to tell the playlist, save different profilesfor the different streams you use, apply compressors and filters to the different audio signals.
+
You can also record your stream in mp3 or ogg, use a bot Xchat plugin to tell the playlist, save different profiles for the different streams you use, apply compressors and filters to the different audio signals.
  
 
You need a good processor to run it, though....
 
You need a good processor to run it, though....
 
  
  
 
====Howto====
 
====Howto====
  
1. Install and configure jack server
+
1. Install IDJC : [[http://idjc.sourceforge.net/install_standard.html http://idjc.sourceforge.net/install_standard.html]]
  
2. Download and install IDJC from the webpage: http://www.onlymeok.nildram.co.uk/download.html
+
2. Open your account on giss.tv
  
3. Open your account on giss.tv
+
3. Configure the server information based on this example:
 
 
4. Configure the server information based on this example:
 
  
 
[[Image:Idjc-serverwindow.png|200px]]
 
[[Image:Idjc-serverwindow.png|200px]]
  
5. Connect your microphone and earphones, and load your music on the two playlists
+
4. Connect your microphone and earphones, and load your music on the two playlists
  
 
[[Image:Idjc-main.jpg|200px]]
 
[[Image:Idjc-main.jpg|200px]]
  
6. Check out the documentation on the IDJC page: http://www.onlymeok.nildram.co.uk/
+
5. Check out the documentation on the IDJC page: [[http://idjc.sourceforge.net http://idjc.sourceforge.net]]
 
 
=== MuSE ( from dyne.org ) ===
 
Easiest tool : MuSE [http://muse.dyne.org http://muse.dyne.org MuSE]
 
( not to be confused with the muse midi sequencer )
 
 
 
On Ubuntu or Debian, don't search in apt-get, but instead,
 
install the package from this link : [ ftp://ftp.dyne.org/muse/binary/MuSE-0.9.2-i386-1.deb MuSe.deb]
 
  
 
=== Pure Data ===
 
=== Pure Data ===
Line 59: Line 48:
  
  
== OSX or Windows ==
+
== OSX ==
  
 
=== Pure Data ===
 
=== Pure Data ===
Line 73: Line 62:
  
 
Download these files ( the patches ) with a right click and 'Save link as..',
 
Download these files ( the patches ) with a right click and 'Save link as..',
open them in pd-extended
+
open them in pd-extended.
 +
 
 +
= Audio Streaming ( live only ) =
 +
 
 +
== Linux, OSX, Windows ==
 +
 
 +
a very simple and neat program can be used for simple live transmission : b.u.t.t. ( broadcast using this tool )  : [[http://danielnoethen.de/ http://danielnoethen.de/]]
  
 
= Video Streaming / Digital Camera ( input through firewire/ieee1394 ) =
 
= Video Streaming / Digital Camera ( input through firewire/ieee1394 ) =
Line 81: Line 76:
 
=== Theora Streaming Studio ===
 
=== Theora Streaming Studio ===
  
Recommended tool : Theora Streaming Studio [http://gollum.artefacte.org/tss TSS]
+
Recommended tool : Theora Streaming Studio [http://giss.tv/tss TSS]
  
The debian package is called theorastreamer and is available for :
+
There are packages for ubuntu and debian.
  
* Ubuntu / hardy ( 32 bits ) :
+
On other systems, you should compile it installing first its dependencies ( dvgrab, libraw1394-8, ffmpeg, ffmpeg2theora, libtheora-bin, oggfwd, libvte9 ).
 
 
deb http://giss.tv/~chevil/ubuntu32 hardy giss
 
 
 
apt-get install theorastreamer
 
 
 
* Ubuntu / hardy 64 bits ( architecture amd64 ) :
 
 
 
deb http://giss.tv/~chevil/ubuntu64 hardy giss
 
 
 
apt-get install theorastreamer
 
 
 
* Ubuntu / feisty ( 32 bits ) :
 
 
 
[http://gollum.artefacte.org/tss/theorastreamer-0.2.1-1-i386.deb TSS.deb(feisty fawn)]
 
 
 
On other systems, you should compile it installing first its dependencies ( dvgrab, libraw1394-8, ffmpeg, ffmpeg2theora, libtheora-bin, oggfwd, libvte9 )
 
  
 
=== GStreamer ===
 
=== GStreamer ===
Line 108: Line 87:
  
 
You should rename this script from .pys to .py and start it with : 'python Dvstream.py'
 
You should rename this script from .pys to .py and start it with : 'python Dvstream.py'
 +
 +
On more recent systems ( ubuntu >= 10.10 ( maverick ) ), you need to emulate the oss interface with :
 +
 +
  sudo apt-get install aoss
 +
  aoss python Dvstream.py
  
 
There is a debian package for all architectures here : [http://giss.tv/~chevil/ubuntu32/dists/hardy/giss/binary-all/pygiss-all.deb PyGiss.deb]
 
There is a debian package for all architectures here : [http://giss.tv/~chevil/ubuntu32/dists/hardy/giss/binary-all/pygiss-all.deb PyGiss.deb]
Line 138: Line 122:
  
 
== OSX ==
 
== OSX ==
 +
 +
=== VLC ===
 +
 +
In a recent enough version of VLC, you should have an option to stream from a camera in 'File->Streaming'.
 +
 +
Check the HOWTO ( a bit complicated ) here : [[http://www.videolan.org/doc/streaming-howto/en/ VLC Streaming Howto ]],
 +
you should stream to an Icecast server.
 +
  
 
=== Pure Data ===
 
=== Pure Data ===
Line 154: Line 146:
  
 
Download this file ( the patch ) with a right click and 'Save link as..',
 
Download this file ( the patch ) with a right click and 'Save link as..',
open it in pd-extended
+
open it in pd-extended.
 
 
== Windows ==
 
 
 
=== Vision Air ===
 
 
 
This is not really supported by G.I.S.S. but we must mention the Vision Air Streaming tool : [http://dir.visonair.tv/streamer.php VisionAir]
 
  
 
= Video Streaming / Webcams and capture cards =
 
= Video Streaming / Webcams and capture cards =
Line 176: Line 162:
 
* GStreamer script Video4Linux2 [http://giss.tv/wiki/images/1/19/Webcamstream-v4l2.pys GStreamer V4l2]
 
* GStreamer script Video4Linux2 [http://giss.tv/wiki/images/1/19/Webcamstream-v4l2.pys GStreamer V4l2]
  
You should rename this script from .pys to .py and start it with : 'python Webcamstream-v4l.py'
+
You should rename this script from .pys to .py and start it with : 'python Webcamstream-v4l.py' or 'python Webcamstream-v4l2.py'
 +
 
 +
On more recent systems ( ubuntu >= 10.10 ( maverick ) ), you need to emulate the oss interface with :
 +
 
 +
  sudo apt-get install aoss
 +
  aoss python Webcamstream-v4l.py or
 +
  aoss python Webcamstream-v4l2.py
  
 
There is a debian package for all architectures here : [http://giss.tv/~chevil/ubuntu32/dists/hardy/giss/binary-all/pygiss-all.deb PyGiss.deb]
 
There is a debian package for all architectures here : [http://giss.tv/~chevil/ubuntu32/dists/hardy/giss/binary-all/pygiss-all.deb PyGiss.deb]
Line 193: Line 185:
 
Download this file ( the patch ) with a right click and 'Save link as..',
 
Download this file ( the patch ) with a right click and 'Save link as..',
 
open it in pd-extended
 
open it in pd-extended
 
  
 
=== Webcam Studio ===
 
=== Webcam Studio ===
Line 202: Line 193:
  
 
== OSX ==
 
== OSX ==
 +
 +
=== VLC ===
 +
 +
In a recent enough version of VLC, you should have an option to stream from a webcam in 'File->Streaming'.
 +
 +
Check the HOWTO ( a bit complicated ) here : [[http://www.videolan.org/doc/streaming-howto/en/ VLC Streaming Howto ]],
 +
you should stream to an Icecast server.
  
 
=== Pure Data ===
 
=== Pure Data ===
Line 218: Line 216:
  
 
Download this file ( the patch ) with a right click and 'Save link as..',
 
Download this file ( the patch ) with a right click and 'Save link as..',
open it in pd-extended
+
open it in pd-extended.
 +
 
 +
= Streaming video archives / playlists =
 +
 
 +
== Linux, OSX ==
  
== Windows ==
+
=== VLC ===
  
=== Vision Air ===
+
In a recent enough version of VLC, you should have an option to stream from a playlist in 'File->Streaming'.
  
This is not really supported by G.I.S.S. but we must mention the Vision Air Streaming tool : [http://dir.visonair.tv/streamer.php VisionAir]
+
Check the HOWTO ( a bit complicated ) here : [[http://www.videolan.org/doc/streaming-howto/en/ VLC Streaming Howto ]],
 +
you should stream to an Icecast server.

Revision as of 16:46, 17 October 2011

This page covers some tests with current streaming tools, advices and howtos :

Audio Streaming ( live + playlist + mix )

Linux :

IDJC

The Internet DJ Console is a great application to make your weekly podcast or play some music. Runs in Linux with the jack audio server, and can connect to sip phones and any kind of jack port.

It runs on Python and has a nice support to use the microphone and program songs.

You can also record your stream in mp3 or ogg, use a bot Xchat plugin to tell the playlist, save different profiles for the different streams you use, apply compressors and filters to the different audio signals.

You need a good processor to run it, though....


Howto

1. Install IDJC : [http://idjc.sourceforge.net/install_standard.html]

2. Open your account on giss.tv

3. Configure the server information based on this example:

Idjc-serverwindow.png

4. Connect your microphone and earphones, and load your music on the two playlists

Idjc-main.jpg

5. Check out the documentation on the IDJC page: [http://idjc.sourceforge.net]

Pure Data

Other tool : puredata extended with the following patches :

first install a pd extended for your system from [Pd-extended] and then download one of these patches :

  • streaming in ogg format : Pdogg
  • streaming in mp3s format : Pdmp3

Download these files ( the patches ) with a right click and 'Save link as..', open them in pd-extended


OSX

Pure Data

Other tool : puredata extended with the following patches :

first install a pd extended for your system from [Pd-extended] and then download one of these patches :

  • streaming in ogg format : Pdogg
  • streaming in mp3s format : Pdmp3

Download these files ( the patches ) with a right click and 'Save link as..', open them in pd-extended.

Audio Streaming ( live only )

Linux, OSX, Windows

a very simple and neat program can be used for simple live transmission : b.u.t.t. ( broadcast using this tool )  : [http://danielnoethen.de/]

Video Streaming / Digital Camera ( input through firewire/ieee1394 )

Linux

Theora Streaming Studio

Recommended tool : Theora Streaming Studio TSS

There are packages for ubuntu and debian.

On other systems, you should compile it installing first its dependencies ( dvgrab, libraw1394-8, ffmpeg, ffmpeg2theora, libtheora-bin, oggfwd, libvte9 ).

GStreamer

Simplest tool : GStreamer script GStreamer Dv

You should rename this script from .pys to .py and start it with : 'python Dvstream.py'

On more recent systems ( ubuntu >= 10.10 ( maverick ) ), you need to emulate the oss interface with :

 sudo apt-get install aoss 
 aoss python Dvstream.py

There is a debian package for all architectures here : PyGiss.deb

Pure Data

Other tool : puredata extended with the following patch :

first install a pd extended for your system from [Pd-extended] and then download this patch :

  • video streaming with digital camera : GissPdpDv

Download this file ( the patch ) with a right click and 'Save link as..', open it in pd-extended

Webcam Studio

Check out : Webcam Studio website

it has some support for the input of a DV cam, but some image quality problems have been reported.

DVSwitch

DVSwitch

Once you have dvswitch working (which is a different problem that will be documented elsewhere), use dvsink-command in place of dvgrab, like so:

dvsink-command -- ffmpeg2theora - -f dv -F 25:5 -v 1 -a 5 -c 1 -H 11025 -o - | oggfwd giss.tv 8000 $CARLFKPW /CarlFK.ogg

OSX

VLC

In a recent enough version of VLC, you should have an option to stream from a camera in 'File->Streaming'.

Check the HOWTO ( a bit complicated ) here : [VLC Streaming Howto ], you should stream to an Icecast server.


Pure Data

Recommended tool : puredata extended with the following patch :

first install a pd extended for your system from [Pd-extended] and then download this patch :

  • video streaming with digital camera ( OSX ) : GissPdpOsx

if you have some troubles with some models of cameras, you can try this experimental patch using Gem :

  • video streaming with digital camera ( Gem ) : GissGem

Download this file ( the patch ) with a right click and 'Save link as..', open it in pd-extended.

Video Streaming / Webcams and capture cards

Linux

GStreamer

Simplest tool : GStreamer

According to the model of your camera, you should use Video4Linux (v4l) or Video4Linux2 (v4l2)

You should rename this script from .pys to .py and start it with : 'python Webcamstream-v4l.py' or 'python Webcamstream-v4l2.py'

On more recent systems ( ubuntu >= 10.10 ( maverick ) ), you need to emulate the oss interface with :

 sudo apt-get install aoss 
 aoss python Webcamstream-v4l.py or
 aoss python Webcamstream-v4l2.py 

There is a debian package for all architectures here : PyGiss.deb

Pure Data

Recommended tool : puredata extended with the following patch :

first install a pd extended for your system from [Pd-extended] and then download this patch :

  • video streaming with a video4linux device : GissPdpV4l
  • video streaming with a video4linux2 device : GissPdpV4l2

Download this file ( the patch ) with a right click and 'Save link as..', open it in pd-extended

Webcam Studio

Check out : Webcam Studio website

it perfectly support most of webcams models and lets you mix the input with other layers ( screen capture, chat, rss, ... ).

OSX

VLC

In a recent enough version of VLC, you should have an option to stream from a webcam in 'File->Streaming'.

Check the HOWTO ( a bit complicated ) here : [VLC Streaming Howto ], you should stream to an Icecast server.

Pure Data

Recommended tool : puredata extended with the following patch :

first install a pd extended for your system from [Pd-extended] and then download this patch :

  • video streaming with digital camera ( OSX ) : GissPdpOsx

if you have some troubles with some models of cameras, you can try this experimental patch using Gem :

  • video streaming with digital camera ( Gem ) : GissGem

Download this file ( the patch ) with a right click and 'Save link as..', open it in pd-extended.

Streaming video archives / playlists

Linux, OSX

VLC

In a recent enough version of VLC, you should have an option to stream from a playlist in 'File->Streaming'.

Check the HOWTO ( a bit complicated ) here : [VLC Streaming Howto ], you should stream to an Icecast server.