linux network server -...

14
Linux network server Video streaming server Joonas Niemi, Enrique Sainz, Victor Diges

Upload: others

Post on 23-Mar-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

Linux network server

Video streaming server

Joonas Niemi, Enrique Sainz, Victor Diges

Page 2: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

General description

Video streaming server

On demand and live streaming services

Possible usages in organizations web pages

Page 3: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

Specifications

CentOS 5 Linux distribution

FluMotion streaming service

Apache web server

ffdshow media libraries

Dependencies (gcc, Fluxbox for GUI)

Page 4: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

Setting up the server

Create new virtual machine under VMware ESXi

Boot the CentOS installation

Install and set up the system:Create users for the members of the groupConfigure ssh not have root remote login, only regular users

Install Apache and other packages with ‘yum install’ and ‘yum search’

Install window manager Fluxbox (needed for Flumotion GUI configuration)

Page 5: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

Configuring the streaming serverFluMotion needed to install manually with dependencies as it is not found from CentOS repositories:- Install Gstreamer and plugins:yum install gstreamer gstreamer-plugins-base gstreamer-plugins

good -Install Python and extension:yum install python pygtk2 pycairo python-twisted-web python-devel gstreamer-python-Install Perl and XML parseryum install perl perl-XML-Parser (case sensitive)

Page 6: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

Configuring the server 2

Download and install kiwi (not in the repositories either)wget http://ftp.gnome.org/pub/GNOME/sources/kiwi/1.9/kiwi-1.9.26.tar.gztar xfv kiwi-1.9.26.tar.gzcd kiwi-1.9.26sudo python setup.py install

Download and install flumotion streaming server:

wget http://www.flumotion.net/src/flumotion/flumotion-0.8.0.tar.gztar xfv flumotion-0.8.0.tar.gzcd flumotion-0.8.0chmod +x configure./configuremakesudo make install- Launch the flumotion GUI (needs a graphical session): flumotion-

admin

Page 7: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

Flumotion configuration

Page 8: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):
Page 9: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):
Page 10: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):
Page 11: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):
Page 12: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

Outcome

Full working Linux server

Web portal

Broadcasting video on demand

Streaming a live video channel

Page 13: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

ProblemsFinding a good server-web player couple

Flumotion nor many of its dependencies were not on yum repositories

Codecs

Configuring a web video player

Page 14: Linux network server - hamstero.dc.turkuamk.fihamstero.dc.turkuamk.fi/lnx2010/presentations/240s/A4_linuxpresentation.pdf · - Launch the flumotion GUI (needs a graphical session):

Purpose of the project

Video streaming was something that none of us had tried to do before

Get a video streaming channel accessible through a webpage

Add to that webpage on-demand video playback