Difference between revisions of "Streaming Tools"

From Giss
(Linux, OSX, Windows)
(Pure Data)
 
(52 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page 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 :
  
Line 6: Line 6:
 
== 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.
+
Pibox V3 App is a full streaming station developed by the ∏-node.org team,
  
It runs on Python and has a nice support to use the microphone and program songs.
+
in particular by the RYBN collective and is targeting ∏-boxes,
  
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.
+
a box based on Rasberry Pi.
  
You need a good processor to run it, though....
+
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 :
  
====Howto====
+
[[Install Pibox V3 on Ubuntu]]
  
1. Install IDJC : [[http://idjc.sourceforge.net/install_standard.html http://idjc.sourceforge.net/install_standard.html]]
+
=== MIXXX ===
  
2. Open your account on giss.tv
+
[http://mixxx.org Mixxx] is a great application to make your weekly podcast or play some music. Available for Linux/OSX/Windows.
  
3. Configure the server information based on this example:
+
You can also record your stream in mp3 or ogg.
 
 
[[Image:Idjc-serverwindow.png|200px]]
 
 
 
4. Connect your microphone and earphones, and load your music on the two playlists
 
 
 
[[Image:Idjc-main.jpg|200px]]
 
 
 
5. Check out the documentation on the IDJC page: [[http://idjc.sourceforge.net http://idjc.sourceforge.net]]
 
  
 
=== 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 ==
Line 52: Line 42:
 
=== 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.
  
= Audio Streaming ( live only ) =
+
= Audio Streaming ( Live Only ) =
  
 
== Linux, OSX, Windows ==
 
== Linux, OSX, Windows ==
  
# B.U.T.T.
+
=== 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/]]
 
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 ) =
+
== 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 IEEE1394 Camera =
  
 
== Linux ==
 
== Linux ==
  
=== Theora Streaming Studio ===
+
=== Theora Streaming Studio [ deprecated ] ===
  
 
Recommended tool : Theora Streaming Studio [http://giss.tv/tss TSS]
 
Recommended tool : Theora Streaming Studio [http://giss.tv/tss TSS]
Line 86: Line 80:
 
=== GStreamer ===
 
=== GStreamer ===
  
Simplest tool : GStreamer script [http://giss.tv/wiki/images/f/fd/Dvstream.pys GStreamer Dv]
+
Simplest tool : GStreamer script [http://giss.tv/gstreamer/Dvstream.py GStreamer Dv]
  
You should rename this script from .pys to .py and start it with : 'python Dvstream.py'
+
You should start it with : 'python Dvstream.py'
  
 
On more recent systems ( ubuntu >= 10.10 ( maverick ) ), you need to emulate the oss interface with :
 
On more recent systems ( ubuntu >= 10.10 ( maverick ) ), you need to emulate the oss interface with :
Line 99: 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 135: Line 127:
 
=== 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.
  
 
= Video Streaming / Webcams and capture cards =
 
= Video Streaming / Webcams and capture cards =
Line 160: 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' or 'python Webcamstream-v4l2.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 :
 
On more recent systems ( ubuntu >= 10.10 ( maverick ) ), you need to emulate the oss interface with :
Line 176: 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 192: 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 ==
  
Line 205: Line 198:
 
=== 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 =
 
= Streaming video archives / playlists =

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.