Difference between revisions of "Streaming Tools"

From Giss
(GStreamer)
(Pure Data)
 
(74 intermediate revisions by 3 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 : ==
  
=== MuSE ( from dyne.org ) ===
+
=== Pibox V3 App ===
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,
+
Pibox V3 App is a full streaming station developed by the ∏-node.org team,
install the package from this link : [ ftp://ftp.dyne.org/muse/binary/MuSE-0.9.2-i386-1.deb MuSe.deb]
 
  
=== Pure Data ===
+
in particular by the RYBN collective and is targeting ∏-boxes,
  
Other tool : puredata extended with the following patches :
+
a box based on Rasberry Pi.
  
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
+
But you can install it on a Linux system as all should also work on a laptop/desktop.
and then download one of these patches :
 
  
* streaming in ogg format : [http://ydegoyon.free.fr/giss-audio-ogg.pd Pdogg]
+
Find the instructions to install it on Ubuntu 18.04/20.04 here :
  
* streaming in mp3s format : [http://ydegoyon.free.fr/giss-audio-mp3.pd Pdmp3]
+
[[Install Pibox V3 on Ubuntu]]
  
Download these files ( the patches ) with a right click and 'Save link as..',
+
=== MIXXX ===
open them in pd-extended
 
  
=== IDJC ===
+
[http://mixxx.org Mixxx] is a great application to make your weekly podcast or play some music. Available for Linux/OSX/Windows.
  
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.
+
You can also record your stream in mp3 or ogg.
  
It runs on Python and has a nice support to use the microphone and program songs.
+
=== Pure Data ===
  
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.
+
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 :
  
You need a good processor to run it, though....
+
* streaming in ogg format : [http://giss.tv/pd/giss-audio-ogg.pd Pdogg]
  
 +
* 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..',
 +
then open them in Pure Data.
  
====Howto====
+
== OSX ==
  
1. Install and configure jack server
+
=== Pure Data ===
  
2. Download and install IDJC from the webpage: http://www.onlymeok.nildram.co.uk/download.html
+
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 :
  
3. Open your account on giss.tv
+
* streaming in ogg format : [http://giss.tv/pd/giss-audio-ogg.pd Pdogg]
  
4. Configure the server information based on this example:
+
* streaming in mp3s format : [http://giss.tv/pd/giss-audio-mp3.pd Pdmp3]
  
[[Image:Idjc-serverwindow.png|200px]]
+
Download these files ( the patches ) with a right click and 'Save link as..',
 +
then open them in Pure Data.
  
5. Connect your microphone and earphones, and load your music on the two playlists
+
= Audio Streaming ( Live Only ) =
  
[[Image:Idjc-main.jpg|200px]]
+
== Linux, OSX, Windows ==
  
6. Check out the documentation on the IDJC page: http://www.onlymeok.nildram.co.uk/
+
=== B.U.T.T. ===
  
== OSX or 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/]]
  
=== Pure Data ===
+
== Android ==
  
Other tool : puredata extended with the following patches :
+
=== GISS Ogg/Vorbis Streamer ===
  
first install a pd extended for your system from [[http://autobuild.puredata.info/auto-build/ Pd-extended]]
+
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]]
and then download one of these patches :
 
  
* streaming in ogg format : [http://ydegoyon.free.fr/giss-audio-ogg.pd Pdogg]
+
= Video Streaming / Digital IEEE1394 Camera =
  
* streaming in mp3s format : [http://ydegoyon.free.fr/giss-audio-mp3.pd Pdmp3]
+
== Linux ==
  
Download these files ( the patches ) with a right click and 'Save link as..',
+
=== Theora Streaming Studio [ deprecated ] ===
open them in pd-extended
 
  
= Video Streaming / Digital Camera ( input through firewire/ieee1394 ) =
+
Recommended tool : Theora Streaming Studio [http://giss.tv/tss TSS]
  
== Linux ==
+
There are packages for ubuntu and debian.
  
=== Theora Streaming Studio ===
+
On other systems, you should compile it installing first its dependencies ( dvgrab, libraw1394-8, ffmpeg, ffmpeg2theora, libtheora-bin, oggfwd, libvte9 ).
  
Recommended tool : Theora Streaming Studio [http://gollum.artefacte.org/tss TSS]
+
=== GStreamer ===
  
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)]
+
Simplest tool : GStreamer script [http://giss.tv/gstreamer/Dvstream.py GStreamer Dv]
  
On other systems, you should compile it installing first its dependencies ( dvgrab, libraw1394-8, ffmpeg, ffmpeg2theora, libtheora-bin, oggfwd, libvte9 )
+
You should start it with : 'python Dvstream.py'
  
=== GStreamer ===
+
On more recent systems ( ubuntu >= 10.10 ( maverick ) ), you need to emulate the oss interface with :
  
Simplest tool : GStreamer script [http://giss.tv/wiki/images/f/fd/Dvstream.pys GStreamer Dv]
+
  sudo apt-get install aoss
 
+
  aoss python Dvstream.py
You should rename this script from .pys to .py and start it with : '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 96: 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 ===
 +
 
 +
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 ==
 
== 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 141: 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/gstreamer/Webcamstream-v4l2.py GStreamer V4l2]
 +
 
 +
You should start it with : 'python Webcamstream-v4l.py' or 'python Webcamstream-v4l2.py'
  
* GStreamer script Video4Linux2 [http://giss.tv/wiki/images/1/19/Webcamstream-v4l2.pys GStreamer V4l2]
+
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 Webcamstream-v4l.py'
+
  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 151: 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 video4linux2 device : [http://giss.tv/pd/giss-pdp-v4l2.pd GissPdpV4l2]
 +
 
 +
Download this file ( the patch ) with a right click and 'Save link as..',
 +
then open it in Pure Data.
 +
 
 +
=== Webcam Studio ===
 +
 
 +
Check out : [http://www.ws4gl.org Webcam Studio website]
  
* video streaming with a video4linux device : [http://ydegoyon.free.fr/giss-pdp-v4l.pd GissPdpV4l]
+
it perfectly support most of webcams models and lets you mix the input with other layers ( screen capture, chat, rss, ... ).
  
* video streaming with a video4linux2 device : [http://ydegoyon.free.fr/giss-pdp-v4l2.pd GissPdpV4l2]
+
=== VLC ===
  
Download this file ( the patch ) with a right click and 'Save link as..',
+
In a recent enough version of VLC, you should have an option to stream from a webcam in 'File->Streaming'.
open it in pd-extended
 
  
 +
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.