Difference between revisions of "Streaming Tools"

From Giss
(Theora Streaming Studio)
(32 intermediate revisions by 4 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 : ==
 +
 
 +
=== IDJC ===
 +
 
 +
The [http://www.onlymeok.nildram.co.uk/ 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.
  
== Linux : ==
+
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 http://idjc.sourceforge.net/install_standard.html]]
 +
 
 +
2. Open your account on giss.tv
 +
 
 +
3. Configure the server information based on this example:
 +
 
 +
[[Image:Idjc-serverwindow.png|200px]]
 +
 
 +
4. Connect your microphone and earphones, and load your music on the two playlists
  
=== MuSE ( from dyne.org ) ===
+
[[Image:Idjc-main.jpg|200px]]
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,
+
5. Check out the documentation on the IDJC page: [[http://idjc.sourceforge.net http://idjc.sourceforge.net]]
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 19: Line 37:
 
Other tool : puredata extended with the following patches :
 
Other tool : puredata extended with the following patches :
  
first install a pd extended for your system from [[http://puredata.info/downloads Pd-extended]]
+
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
 
and then download one of these patches :
 
and then download one of these patches :
  
Line 29: Line 47:
 
open them in pd-extended
 
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 [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
 +
and then download one of these patches :
 +
 +
* streaming in ogg format : [http://ydegoyon.free.fr/giss-audio-ogg.pd Pdogg]
 +
 +
* streaming in mp3s format : [http://ydegoyon.free.fr/giss-audio-mp3.pd 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/ http://danielnoethen.de/]]
  
 
= Video Streaming / Digital Camera ( input through firewire/ieee1394 ) =
 
= Video Streaming / Digital Camera ( input through firewire/ieee1394 ) =
Line 36: 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]
 +
 
 +
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 [http://giss.tv/wiki/images/f/fd/Dvstream.pys 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 Ubuntu Feisty here : [ http://gollum.artefacte.org/tss/theorastreamer-0.2.1-1-i386.deb TSS.deb(feisty fawn) ]
+
There is a debian package for all architectures here : [http://giss.tv/~chevil/ubuntu32/dists/hardy/giss/binary-all/pygiss-all.deb PyGiss.deb]
  
 
=== Pure Data ===
 
=== Pure Data ===
Line 44: Line 99:
 
Other tool : puredata extended with the following patch :
 
Other tool : puredata extended with the following patch :
  
first install a pd extended for your system from [[http://puredata.info/downloads Pd-extended]]
+
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
and then download one of this patch :
+
and then download this patch :
 +
 
 +
* video streaming with digital camera : [http://ydegoyon.free.fr/giss-pdp-dv.pd GissPdpDv]
 +
 
 +
Download this file ( the patch ) with a right click and 'Save link as..',
 +
open it in pd-extended
 +
 
 +
=== Webcam Studio ===
 +
 
 +
Check out : [http://www.ws4gl.org Webcam Studio website]
 +
 
 +
it has some support for the input of a DV cam, but some image quality problems have been reported.
 +
 
 +
=== DVSwitch ===
 +
 
 +
[http://dvswitch.alioth.debian.org/wiki/ 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 : [[http://www.videolan.org/doc/streaming-howto/en/ VLC Streaming Howto ]],
 +
you should stream to an Icecast server.
 +
 
 +
 
 +
=== Pure Data ===
  
* video streaming with digital camera : [http://ydegoyon.free.fr/giss-dv.pd Gissdv]
+
Recommended tool : puredata extended with the following patch :
  
* streaming in mp3s format : [http://ydegoyon.free.fr/giss-audio-mp3.pd Pdmp3]
+
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
 +
and then download this patch :
 +
 
 +
* video streaming with digital camera ( OSX ) : [http://ydegoyon.free.fr/giss-pdp-osx.pd 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 ) : [http://ydegoyon.free.fr/giss-gem.pd 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)
 +
 
 +
* GStreamer script Video4Linux [http://giss.tv/wiki/images/2/21/Webcamstream-v4l.pys GStreamer V4l]
 +
 
 +
* 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' 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]
 +
 
 +
=== Pure Data ===
 +
 
 +
Recommended tool : puredata extended with the following patch :
 +
 
 +
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
 +
and then download this patch :
 +
 
 +
* video streaming with a video4linux device : [http://ydegoyon.free.fr/giss-pdp-v4l.pd GissPdpV4l]
 +
 
 +
* video streaming with a video4linux2 device : [http://ydegoyon.free.fr/giss-pdp-v4l2.pd GissPdpV4l2]
  
 
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 ===
 +
 +
Check out : [http://www.ws4gl.org 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 : [[http://www.videolan.org/doc/streaming-howto/en/ 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 [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
 +
and then download this patch :
 +
 +
* video streaming with digital camera ( OSX ) : [http://ydegoyon.free.fr/giss-pdp-osx.pd 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 ) : [http://ydegoyon.free.fr/giss-gem.pd 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 : [[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.