HOWTO Perform A Live Audio or Audio-Video Streaming with a Dyne::Bolic Live Linux Boot CD
WHAT: Workshop Streaming-Media: Net-Demonstration Training
WHO: by Simon B. Haefele ( sonance.artistic.network. )
WHEN: 6th of June 18:00h
WHERE: Media Artist Union – Tallinn – Polymere Culture Factory
TEST LOG >>
tested stream server:
http://stream.sonance.net:8800/
stream user action taken:
open the following in your vlc client
http://stream.sonance.net:8800/livevideo.ogg
DOWNLOADS
download dynebolic live-cd (dyne-2.4.2.iso)>>
ftp://ftp.mirrorservice.org/sites/www.dynebolic.org/
(takes over an hour)
download Video LAN Client (VLC), go to the VLC download page. >>
http://www.videolan.org/vlc/index.html
download Video LAN Server (VLS), you can browse the FTP archive. >>
http://download.videolan.org/pub/videolan/vls/
download miniSAPserver, you can browse FTP archive. >>
http://download.videolan.org/pub/videolan/miniSAPserver/
*HOWTO
In this user manual we are going to describe how you can spread live video and audio information via internet using even quiet old computer equipment and a slow network connection. The quality of the stream can be enhanced according to local conditions and your device abilities.
The manual is compiled to be used by activist and artists which are NOT in charge of big computer, equipment and other special internet knowledge i.e. about Open Source and Linux.
Download Live-Linux CD including Up-Stream Software and Burn it
As operating system software for your up-streaming computer sonance.artistic.network recommends you the Free Linux Boot-CD Dyne::Bolic which is complied by
http://rastasoft.org/ You can download an burn a Bootable CD form the internet address
http://www.dyne.org/
ATTENTION: DOWNLOAD CAN TAKE MORE THEN 2 HOURS
DHORUBA is the name of the version we used in order to create this HOWTO.
Boot your i386 Computer form that CD-ROM
Even a older computer which can boot form CD-ROM and is running on either an AMD or an INTEL-PENTIUM processor and has a sound input can be used as a machine to broadcast a simple LIVE-AUDIO-STREAM over the web.
By adding a VIDEO-Input you will be albe to additionally provide a moving-image along the audio-stream. The best idea is to boot up your computer already connected to a network. That way you might get the IP-Address and the access to the internet automatically. To boot the machine form the CDROM you might have to addjust settings in the system BIOS to make the CDROM the first BOOT DEVICE.
Dyne Bolic? does NOT work with Macintosh!
Connect Media Source to UP-STREAMING-Computer
Sound-Card Setup
First connect your audio and/or video cables to the correct in and outputs of your UP-STREAMING (BROADCAST) computer. Via the Dyne::Bolic desktop you can check if your sources are really delivering sound and video into the machine. If you have troubles use the “Sound Card” setup via the “Configure” in the main menu. (Use your right mouse button on the desktop.) Once the audio-card has been detected and configured you might use the “Terminal” to call the program “alsamixer” by typing that word into the a opened “Terminal” and pressing the “ENTER or RETURN” button on your keyboard. (The keyboard layout can be adjusted to your local one by using “Language” in the “Configure” menu.)
With the ”?” key you can ask “alsamixer” about menu shortcuts once it is started. Toggle all the channels to “un-mute” using “m” and the cursor-keys. Additional raise the output levels of ALL channels until short before the red zone. You now should hear sound when playing i.e. any off the internet radio channels choose-able via the menu “AUDIO-PLAY-STREAM-Tuner”.
Audio-Input Setup
Connect your audio-input device such as microphone or audio mixers “Record-Out” to the correct sound-cards input and set the software recording “Capture-Device” and to reflect that input set the “input-levels” in the “alsamixer” software using the “Tab”- and “Space Bar?” buttons of your keyboard. Especially in the “Playback” view of the program (use “Tab” to toggle and “m” to mute channels) you are able to find out which channel is responsible for you audio input and you should hear your input-signal coming out of the speakers.
Adjust the setting in the “Capture” view like follows:
A) Mark ONLY the channel where your input comes form as “Capture R L” (using “Spacebar”) and reduce the volume of that and any other channel but “BASS” and “TREBLE” to zero (0). Then toggle also the “CAPTURE” fader to “Capture R L” and put only the volume of that channel up.
Now you should hear the input again being faded though the capture device. You have to activate the option “MIX” or “MONO MIX” to feed the input to the streaming software.
Stream Audio using Mu SE? as Up-Streaming Software Then connect with “MUSE” to the server and stream your sound.
*Start the Broadcasting and Enjoy
Click “Connect” and then press “PLAY” the Mu SE? main window.
For a more detailed description on streaming with Mu SE? please visit
http://en.flossmanuals.net/muse/
*Stream Reception
Listening To Stream via Icecast 2? using VLC Client
You are able to control if your stream is arrived by surfing to the webpage
http://stream.sonance.net:8800/ and see if there is a /live mount-point mentioned.
Now you are able to connect the stream using any streaming enabled mp3-client software like VLC (Video Lan Client)
http://www.videolan.org/vlc/ Use the “Open Network” command to open a http stream using the link
http://stream.sonance.net:8800/liveaudio.m3u
Listen To Stream via Darwin (Quicktime)-Streaming Server
Open your streaming client and listen to
http://stream.sonance.net:8000/live
Video Streaming using Free J?
With video streaming it is more or less the same procedere but we are using the Free J? software to generate the stream.
after you have seen a video input in the Xaw TV? software you can load Free J?.
To do the first test first start the Icecast 2? streaming server included in the Live-CD
Go → Audio → Stream → Start Icecast Server.
Just leave that console window opened in the backgroud.
Then use your Free Jay? ( Video → Perform → Free J? )
and open it. You can find a first Free J? introduction via
- ctrl+? helps to open the help menu.
- ctrl+o opens a new layer ( type /dev/video0 ) to point to the video4linux (v4l) and see the life input connected to your computers svideo or video-port.
- ctrl+w to start sending the stream
now you can see the stream also via the firefox browser window using
http://localhost:8000/freej.ogg
*Broadcasting to an external server
Open a Terminal and then Free J? via the following command line found in the manaul
http://lab.dyne.org/FreejStreaming
freej -s 240×192 -T 7 -V 3 -i
http://stream.sonance.net:8800/livevideo.ogg -p live /dev/video0
Once Free J? is started you just press ctrl+w again and the broadcast is started in.
Via “Open Network” you can now view the stream form any VLC-PLAYER using the link
http://stream.sonance.net:8800/livevideo.ogg
(Green)Adding Sound Input
Now you can add also the audio input to your stream by opening again the “AUDIO-PLAY-STREAM-Tuner” and addjust your “ALSAMIXER” settings.
Get own Mountpoint via GISS
If you to not have a own streaming server or ours are not availiable you can also create a own mountpoint using
http://www.giss.tv/
APPENDIX
A) Equipment List (for Audio-Stream)- Old or new dektop-computer or laptop running on a
AMD (K6 of higher) or INTEL (i486 or higher) processor with a
sound card including at least one sound-input channel and a network-card.
- Monitor, Keyboard and Mouse including necessary power and connection cables. If you have to cross country borders with your machine you might need a power-plug converter and long power-cables with you.
- Audio input equipment such as CD-players, microphones and possibly a audio-mixer. (Optimal would be to add a hardware device called “Audio-Compressor” into the line before the signal goes into the computers input, but this is not a necessary feature.)
- Audio output equipment such as computer-speakers and/or an amplifier, loudspeakers and headphones.
- Cables to connect all that audio in/out equipment to your computer as well as network-cables or a wireless network-connector such as a wireless router.
- Old or new dektop-computer or laptop running on a
B) Equipment List (for Audio-Video-Stream)
- In addition to all equipment listed to prepare for an audio stream you will need long enough video-cables.
- One or more video-cameras (even web-cams or old black&white surveillance cameras will do.)
- A video-input on your UPSTREAM-computer where the cables and jacks are fitting to the input-plug.
- Optional a video-mixer and lighting equipment to get good light at the scene.
- In any case you’ll need brain, people, ideas and good energy and a torch.
C) Additional Links
Giss-TV –
http://giss.tv/
http://mcs.hackitectura.net/tiki-index.php?page=GISS%20%20
http://mcs.hackitectura.net/tiki-index.php?page=live+stream+ogg+theora+ffmpeg2theora+oggfwd
Dynebolic Manuals
http://korova.dyne.org/video_streaming.pdf
http://dynebolic.org/dynebolic-man.pdf
Webcam Manuals
http://gentoo-wiki.com/HOWTO_logitech_quickcam_on_2.6.x_kernel
http://www.linux-usb.org/
Mpeg 4 Player?
http://mpeg4ip.sourceforge.net/documentation/index.php
http://www.yolinux.com/TUTORIALS/LinuxTutorialVideo.html
Info on DV-Cam Problematics
http://1010.co.uk/tech.html
DYNEBOLIC Troubleshouting
http://lab.dyne.org/TroubleShooting