Difference between revisions of "Streaming Tools"

From Giss
(Pure Data)
 
(68 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 as of April 2020,
 
advices and howtos :
 
advices and howtos :
  
 
+
= Audio Streaming ( live + playlist + mix ) =
= Audio Streaming =
 
  
 
== Linux : ==
 
== Linux : ==
  
=== IDJC ===
+
=== Pibox V3 App ===
 
 
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.
 
 
 
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 need a good processor to run it, though....
+
Pibox V3 App is a full streaming station developed by the ∏-node.org team,
  
 +
in particular by the RYBN collective and is targeting ∏-boxes,
  
====Howto====
+
a box based on Rasberry Pi.
  
1. Install and configure jack server
+
But you can install it on a Linux system as all should also work on a laptop/desktop.
  
2. Download and install IDJC from the webpage: http://www.onlymeok.nildram.co.uk/download.html
+
Find the instructions to install it on Ubuntu 18.04/20.04 here :
  
3. Open your account on giss.tv
+
[[Install Pibox V3 on Ubuntu]]
  
4. Configure the server information based on this example:
+
=== MIXXX ===
  
[[Image:Idjc-serverwindow.png|200px]]
+
[http://mixxx.org Mixxx] is a great application to make your weekly podcast or play some music. Available for Linux/OSX/Windows.
  
5. Connect your microphone and earphones, and load your music on the two playlists
+
You can also record your stream in mp3 or ogg.
 
 
[[Image:Idjc-main.jpg|200px]]
 
 
 
6. Check out the documentation on the IDJC page: http://www.onlymeok.nildram.co.uk/
 
 
 
=== 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 ===
  
Other tool : puredata extended with the following patches :
+
First install a Pure Data with unauthorized, pdogg and mp3cast~ ( you can try pd-extended or pd-l2ork )
 
 
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 :
  
* streaming in ogg format : [http://ydegoyon.free.fr/giss-audio-ogg.pd Pdogg]
+
* streaming in ogg format : [http://giss.tv/pd/giss-audio-ogg.pd Pdogg]
  
* streaming in mp3s format : [http://ydegoyon.free.fr/giss-audio-mp3.pd Pdmp3]
+
* streaming in mp3s format : [http://giss.tv/pd/giss-audio-mp3.pd Pdmp3]
  
 
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
+
then open them in Pure Data.
  
 
+
== OSX ==
== OSX or Windows ==
 
  
 
=== Pure Data ===
 
=== Pure Data ===
  
Other tool : puredata extended with the following patches :
+
first install a Pure Data with unauthorized, pdogg and mp3cast~ ( you can try pd-extended or pd-l2ork )
 
 
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 :
  
* streaming in ogg format : [http://ydegoyon.free.fr/giss-audio-ogg.pd Pdogg]
+
* streaming in ogg format : [http://giss.tv/pd/giss-audio-ogg.pd Pdogg]
  
* streaming in mp3s format : [http://ydegoyon.free.fr/giss-audio-mp3.pd Pdmp3]
+
* streaming in mp3s format : [http://giss.tv/pd/giss-audio-mp3.pd Pdmp3]
  
 
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
+
then open them in Pure Data.
  
= Video Streaming / Digital Camera ( input through firewire/ieee1394 ) =
+
= Audio Streaming ( Live Only ) =
  
== Linux ==
+
== Linux, OSX, Windows ==
  
=== Theora Streaming Studio ===
+
=== B.U.T.T. ===
  
Recommended tool : Theora Streaming Studio [http://gollum.artefacte.org/tss TSS]
+
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/]]
  
The debian package is called theorastreamer and is available for :
+
== Android ==
  
* Ubuntu / hardy ( 32 bits ) :
+
=== GISS Ogg/Vorbis Streamer ===
  
deb http://giss.tv/~chevil/ubuntu32 hardy giss
+
a very simple and neat app that can be used for simple live transmission : GISS Ogg/Vorbis Streamer  : [[http://giss.tv/wiki/index.php/Android_Ogg_Streamer_:_Giss_Vorbis]]
  
apt-get install theorastreamer
+
= Video Streaming / Digital IEEE1394 Camera =
  
* Ubuntu / hardy 64 bits ( architecture amd64 ) :
+
== Linux ==
  
deb http://giss.tv/~chevil/ubuntu64 hardy giss
+
=== Theora Streaming Studio [ deprecated ] ===
  
apt-get install theorastreamer
+
Recommended tool : Theora Streaming Studio [http://giss.tv/tss TSS]
  
* Ubuntu / feisty ( 32 bits ) :
+
There are packages for ubuntu and debian.
  
[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 ===
  
On other systems, you should compile it installing first its dependencies ( dvgrab, libraw1394-8, ffmpeg, ffmpeg2theora, libtheora-bin, oggfwd, libvte9 )
+
Simplest tool : GStreamer script [http://giss.tv/gstreamer/Dvstream.py GStreamer Dv]
  
=== GStreamer ===
+
You should start it with : 'python Dvstream.py'
  
Simplest tool : GStreamer script [http://giss.tv/wiki/images/f/fd/Dvstream.pys GStreamer Dv]
+
On more recent systems ( ubuntu >= 10.10 ( maverick ) ), you need to emulate the oss interface with :
  
You should rename this script from .pys to .py and start it with : 'python Dvstream.py'
+
  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 112: Line 93:
 
=== Pure Data ===
 
=== Pure Data ===
  
Other tool : puredata extended with the following patch :
+
first install a Pure Data with unauthorized, pdp and pidip ( you can try pd-extended or pd-l2ork )
 
 
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
 
 
and then download this patch :
 
and then download this patch :
  
* video streaming with digital camera : [http://ydegoyon.free.fr/giss-pdp-dv.pd GissPdpDv]
+
* video streaming with digital camera : [http://giss.tv/pd/giss-pdp-dv.pd GissPdpDv]
  
 
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
+
then open it in Pure Data.
  
 
=== Webcam Studio ===
 
=== Webcam Studio ===
Line 137: Line 116:
  
 
== 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 ===
  
Recommended tool : puredata extended with the following patch :
+
first install a Pure Data with unauthorized, Gem, pdp and pidip ( you can try pd-extended or pd-l2ork ) and then download this patch :  
 
 
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
 
 
and then download this patch :
 
and then download this patch :
  
* video streaming with digital camera ( OSX ) : [http://ydegoyon.free.fr/giss-pdp-osx.pd GissPdpOsx]
+
* video streaming with digital camera ( OSX ) : [http://giss.tv/pd/giss-pdp-osx.pd GissPdpOsx]
  
 
if you have some troubles with some models of cameras,
 
if you have some troubles with some models of cameras,
 
you can try this experimental patch using Gem :
 
you can try this experimental patch using Gem :
  
* video streaming with digital camera ( Gem ) : [http://ydegoyon.free.fr/giss-gem.pd GissGem]
+
* video streaming with digital camera ( Gem ) : [http://giss.tv/pd/giss-gem.pd GissGem]
  
 
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
+
then open it in Pure Data.
 
 
== 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 171: Line 150:
 
According to the model of your camera, you should use Video4Linux (v4l) or Video4Linux2 (v4l2)
 
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 Video4Linux [http://giss.tv/gstreamer/Webcamstream-v4l.py GStreamer V4l]
  
* GStreamer script Video4Linux2 [http://giss.tv/wiki/images/1/19/Webcamstream-v4l2.pys GStreamer V4l2]
+
* GStreamer script Video4Linux2 [http://giss.tv/gstreamer/Webcamstream-v4l2.py GStreamer V4l2]
  
You should rename this script from .pys to .py and start it with : 'python Webcamstream-v4l.py'
+
You should 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 181: Line 166:
 
=== Pure Data ===
 
=== Pure Data ===
  
Recommended tool : puredata extended with the following patch :
+
first install a Pure Data with unauthorized, pdp and pidip ( you can try pd-extended or pd-l2ork ) and then download this patch :  
  
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
+
* video streaming with a video4linux device : [http://giss.tv/pd/giss-pdp-v4l.pd GissPdpV4l]
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://giss.tv/pd/giss-pdp-v4l2.pd GissPdpV4l2]
 
 
* 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
+
then open it in Pure Data.
  
 
=== Webcam Studio ===
 
=== Webcam Studio ===
Line 197: Line 179:
 
Check out : [http://www.ws4gl.org Webcam Studio website]
 
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, ... ).  
+
it perfectly support most of webcams models and lets you mix the input with other layers ( screen capture, chat, rss, ... ).
  
 +
=== 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.
 
== 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 ===
  
Recommended tool : puredata extended with the following patch :
+
first install a Pure Data with unauthorized, Gem, pdp and pidip ( you can try pd-extended or pd-l2ork )
 
 
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
 
 
and then download this patch :
 
and then download this patch :
  
* video streaming with digital camera ( OSX ) : [http://ydegoyon.free.fr/giss-pdp-osx.pd GissPdpOsx]
+
* video streaming with digital camera ( OSX ) : [http://giss.tv/pd/giss-pdp-osx.pd GissPdpOsx]
  
 
if you have some troubles with some models of cameras,
 
if you have some troubles with some models of cameras,
 
you can try this experimental patch using Gem :
 
you can try this experimental patch using Gem :
  
* video streaming with digital camera ( Gem ) : [http://ydegoyon.free.fr/giss-gem.pd GissGem]
+
* video streaming with digital camera ( Gem ) : [http://giss.tv/pd/giss-gem.pd GissGem]
  
 
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
+
then open it in Pure Data.
 +
 
 +
== Android ==
 +
 
 +
=== GISS Ogg/Theora Streamer ===
 +
 
 +
A simple app is availabe for streaming video from your phone : GISS Ogg/Theora Streamer : [[http://giss.tv/wiki/index.php/Android_Ogg/Theora_Streamer_:_Giss_Streamer]]
 +
 
 +
Unfortunately, as Theora is not an android format, it is not hardware accelerated, you will have to wait for the Webm streamer to have good performances.
 +
 
 +
= 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.

Latest revision as of 17:21, 29 April 2021

This page covers some tests with current streaming tools as of April 2020, advices and howtos :

Audio Streaming ( live + playlist + mix )

Linux :

Pibox V3 App

Pibox V3 App is a full streaming station developed by the ∏-node.org team,

in particular by the RYBN collective and is targeting ∏-boxes,

a box based on Rasberry Pi.

But you can install it on a Linux system as all should also work on a laptop/desktop.

Find the instructions to install it on Ubuntu 18.04/20.04 here :

Install Pibox V3 on Ubuntu

MIXXX

Mixxx is a great application to make your weekly podcast or play some music. Available for Linux/OSX/Windows.

You can also record your stream in mp3 or ogg.

Pure Data

First install a Pure Data with unauthorized, pdogg and mp3cast~ ( you can try pd-extended or pd-l2ork ) 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..', then open them in Pure Data.

OSX

Pure Data

first install a Pure Data with unauthorized, pdogg and mp3cast~ ( you can try pd-extended or pd-l2ork ) 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..', then open them in Pure Data.

Audio Streaming ( Live Only )

Linux, OSX, Windows

B.U.T.T.

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

Android

GISS Ogg/Vorbis Streamer

a very simple and neat app that can be used for simple live transmission : GISS Ogg/Vorbis Streamer  : [[1]]

Video Streaming / Digital IEEE1394 Camera

Linux

Theora Streaming Studio [ deprecated ]

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 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

first install a Pure Data with unauthorized, pdp and pidip ( you can try pd-extended or pd-l2ork ) and then download this patch :

  • video streaming with digital camera : GissPdpDv

Download this file ( the patch ) with a right click and 'Save link as..', then open it in Pure Data.

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

first install a Pure Data with unauthorized, Gem, pdp and pidip ( you can try pd-extended or pd-l2ork ) and then download this patch : 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..', then open it in Pure Data.

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 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

first install a Pure Data with unauthorized, pdp and pidip ( you can try pd-extended or pd-l2ork ) 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..', then open it in Pure Data.

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, ... ).

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.

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

first install a Pure Data with unauthorized, Gem, pdp and pidip ( you can try pd-extended or pd-l2ork ) 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..', then open it in Pure Data.

Android

GISS Ogg/Theora Streamer

A simple app is availabe for streaming video from your phone : GISS Ogg/Theora Streamer : [[2]]

Unfortunately, as Theora is not an android format, it is not hardware accelerated, you will have to wait for the Webm streamer to have good performances.

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.