Difference between revisions of "Streaming Tools"

From Giss
(Pure Data)
 
(85 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 as of April 2020,
 
advices and howtos :
 
advices and howtos :
  
 +
= Audio Streaming ( live + playlist + mix ) =
  
= Audio Streaming =
+
== 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.
  
== Linux : ==
+
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 ===
  
=== MuSE ( from dyne.org ) ===
+
[http://mixxx.org Mixxx] is a great application to make your weekly podcast or play some music. Available for Linux/OSX/Windows.
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,
+
You can also record your stream in mp3 or ogg.
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 )
 +
and then download one of these patches :
  
first install a pd extended for your system from [[http://puredata.info/downloads Pd-extended]]
+
* 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.
 +
 
 +
== 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 :
 
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.
 +
 
 +
= 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/ 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  : [[http://giss.tv/wiki/index.php/Android_Ogg_Streamer_:_Giss_Vorbis]]
  
= Video Streaming / Digital Camera ( input through firewire/ieee1394 ) =
+
= Video Streaming / Digital IEEE1394 Camera =
  
 
== Linux ==
 
== Linux ==
  
=== Theora Streaming Studio ===
+
=== Theora Streaming Studio [ deprecated ] ===
 +
 
 +
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 ).
  
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 shuld compile it installing first its dependencies ( dvgrab, libraw1394-8, ffmpeg, ffmpeg2theora, libtheora-bin, oggfwd, libvte9 )
+
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 : [http://giss.tv/~chevil/ubuntu32/dists/hardy/giss/binary-all/pygiss-all.deb PyGiss.deb]
  
 
=== 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 )
 +
and then download this patch :
 +
 
 +
* 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..',
 +
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 ==
 +
 
 +
=== 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 ===
  
first install a pd extended for your system from [[http://puredata.info/downloads Pd-extended]]
+
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 :
 
and then download this patch :
  
* video streaming with digital camera : [http://ydegoyon.free.fr/giss-dv.pd Gissdv]
+
* 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,
 +
you can try this experimental patch using Gem :
 +
 
 +
* 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.
 
 
  
 
= Video Streaming / Webcams and capture cards =
 
= Video Streaming / Webcams and capture cards =
  
 
== Linux ==
 
== 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/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'
 +
 +
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 ===
 
=== 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 :  
 +
 
 +
* video streaming with a video4linux device : [http://giss.tv/pd/giss-pdp-v4l.pd GissPdpV4l]
 +
 
 +
* 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]
 +
 
 +
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'.
  
first install a pd extended for your system from [[http://puredata.info/downloads 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 ==
 +
 
 +
=== 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 ===
 +
 
 +
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 video4linux : [http://ydegoyon.free.fr/giss.pd Gissv4l]
+
* 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,
 +
you can try this experimental patch using Gem :
 +
 
 +
* 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 ==
 +
 
 +
=== 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.

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.