Date post: | 01-Jun-2018 |
Category: |
Documents |
Upload: | asrimardianaputra |
View: | 234 times |
Download: | 0 times |
of 40
8/9/2019 Vlc Streaming Nluug
1/40
Streaming Networks with VLC
Jean-Paul [email protected]
8/9/2019 Vlc Streaming Nluug
2/40
Jean-Paul Saman 200 mem!er o" Vi#eoL$N team
P%$ port &"amiliar linux #istro'
()*00+),00+)00 Vi#eoL$N serer
/emote S%menu
%V1-C+S+
%V 3am3or#er
8/9/2019 Vlc Streaming Nluug
3/40
425 is spe3iali6e# in
4ultime#ia7
8m!e##e# an#
Networking solutions
using pen Sour3e so"tware.
8/9/2019 Vlc Streaming Nluug
4/40
Vi#eoL$N proje3t histor9
200 "irst release un#er :PL
200) VLC !e3omes a streamer
Complete multime#ia 3lientan# serer streaming solution
8/9/2019 Vlc Streaming Nluug
5/40
Vi#eoL$N #elieries;
VLC me#ia pla9er 4ultime#ia Pla9er an# Streamer Version 0.,.< has = > million
#ownloa#s
Li!##3ss
Li!#!psi
52*? &h2*? en3o#er'
8/9/2019 Vlc Streaming Nluug
6/40
VLC me#ia pla9er
4o#ular plugin ar3hite3ture
ranslate# to more then )0
languages nputs &network7 "ile7 PV/
3ar#s7 %V17 %V%7 i#eo?linux'
Co#e3s &4P8: +2+)+?7 h2*?7wm +2+)7 Aui3kime7ggVor!is7 heora7 %ira37):PP'
S &4a3S 57 1eos7 Linux7Bin)27 1S%7 Solaris'
8/9/2019 Vlc Streaming Nluug
7/40
Commer3ial pro#u3ts
Dree!ox &PV 3ompan9'
:oogle
%i.3om
Neu".t &P V 3ompan9'
8/9/2019 Vlc Streaming Nluug
8/40
8/9/2019 Vlc Streaming Nluug
9/40
Support "or P? an# p*networks
Small networks &S(' 0 E 00 4!its+se3
Coporate networks &L$N' 00 E 000 4!its+se3
Large networks &B$N' = 000 4!its+se3
8/9/2019 Vlc Streaming Nluug
10/40
8/9/2019 Vlc Streaming Nluug
11/40
Support arious inputs
%V%
%V1 C+S++&(' Ca!le Satelliteerresterial (an#hel#
(B en3o#ers &$3Fuisition3ar#s'
Diles an# "i"os
%V Cam3or#ers+Be!3ams
8/9/2019 Vlc Streaming Nluug
12/40
Streaming t9pes
Gni3ast Conne3tion per 3lient
1roa#3ast 8er9!o#9 gets the same
4ulti3ast
8er9!o#9 gets the same onreFuest
Vi#eo n %eman# n user reFuest
8/9/2019 Vlc Streaming Nluug
13/40
Gni3ast
Network proto3ol G%P
/P 8xample;
serer;
l3 ##;+++#e+## Esout
HIst#a33essKu#p7muxKts7#stK2.*,.0.)0M
as 3lient;
l3 u#p;++
8/9/2019 Vlc Streaming Nluug
14/40
8/9/2019 Vlc Streaming Nluug
15/40
1roa#3ast
Network proto3ol G%P
/P 8xample;
serer;
l3 "ile.mpg Esout
HIst#a33essKu#p7muxKts7#stK2.*,.0.2
8/9/2019 Vlc Streaming Nluug
16/40
8/9/2019 Vlc Streaming Nluug
17/40
4ulti3ast
Network proto3ol GP% + /P
Nee# multi3ast route an#network eFuipment
8xample; serer;
l3 "ile.mpg Ettl ) EsoutHIst#a33essKu#p7muxKts7#stK2).2
8/9/2019 Vlc Streaming Nluug
18/40
Nee# multi3ast route;
= +s!in+route a## -net 22?.0.0.0 netmask 2?0.0.0.0 #e eth0
= +s!in+route
Oernel P routing ta!le
%estination :atewa9 :enmask Dlags 4etri3 /e" Gse "a3e
2.*,.0.0 2
8/9/2019 Vlc Streaming Nluug
19/40
4ulti3ast ip-a##resses 22?.0.0.0+2? L$N proto3ol tra""i3 !etween
routers an# swit3hes
22?.0..0+2? nternet proto3ol tra""i3 !etween
routers an# swit3hes
22?.0.2.0 E 2),.2
8/9/2019 Vlc Streaming Nluug
20/40
8/9/2019 Vlc Streaming Nluug
21/40
Vi#eo n %eman#
Network proto3ol /SP
(P 44S
8xample; serer;
l3 - telnet Ertsp-host 0.0.0.0;
8/9/2019 Vlc Streaming Nluug
22/40
Vi#eo n %eman# Network proto3ol
/SP
(P 44S
8xample; Serer;
l3 "ile.ogg EsoutIst#a33essKhttp7muxKogg7#stK0.0.0.0;,0,0
as 3lient;
l3 http;++lo3alhost;,0,0+
8/9/2019 Vlc Streaming Nluug
23/40
8/9/2019 Vlc Streaming Nluug
24/40
Vi#eo n %eman# VLC is a!le to announ3e its
streams using;
S$P+S%P stan#ar#7 or Qero3on" &also known as
1onjour'.
8/9/2019 Vlc Streaming Nluug
25/40
1an#wi#th Network !an#wi#th
NC max 00 4!+s
4ax loa# ,0R 4ultime#ia !an#wi#th
%epen#s on en3o#er settings9pe o" input sour3e &"ile7 #!7
##7 en3o#er 3ar#7 3#7 et3.'
8/9/2019 Vlc Streaming Nluug
26/40
Network !an#wi#th /ule o" thum! >
8/9/2019 Vlc Streaming Nluug
27/40
4ultime#ia !itrate 4P8:-? stream; 0.< to ? 4!it+s
4P8:-2 stream; ) to ? 4!it+s "rom a satellite 3ar#7 #igital teleision 3ar#7 4P8:-2 en3o#ing 3ar#.
%V%; * to 4!it+s
(%; 0 4!it+s an# up
Diles; 4!it+s
Be!3ams; 4!its+s
8/9/2019 Vlc Streaming Nluug
28/40
1itrate terminolog9 Constant 1itrate &C1/'
Varia!le 1itrate &V1/'
8n3o#er en3o#es i#eo "ramesinto 7 P or 1 "rames
$ stream 3onsists o" a seFuen3eo" 7 P or 1-"rames withtimestamps atta3he#
8xample "or 4P8:2-S;
P11P111P11P
8/9/2019 Vlc Streaming Nluug
29/40
*0 20
,0
2?0
)00
)*0
?20
?,0
8/9/2019 Vlc Streaming Nluug
30/40
Network trou!les Che3k logs
Oeep it simple &test on
lo3alhost "irst' %isa!le "irewalls
Che3k network tra""i3
wireshark+ethereal3p#ump
3p#ump -i eth0 port 2)?
8/9/2019 Vlc Streaming Nluug
31/40
8/9/2019 Vlc Streaming Nluug
32/40
8/9/2019 Vlc Streaming Nluug
33/40
VLC stream output mo#ules Stan#ar#
rans3o#e
%upli3ate 4osai3T!ri#ge
1ri#ge
/tp 8s
#ispla9
#umm9
8/9/2019 Vlc Streaming Nluug
34/40
rans3o#ing %e3o#ing au#io+i#eo "rom
one "ormat an# en3o#e it intoanother "ormat
Vi#eo; 4P8:-+2+?7 %ix +2+)7 B4V+27 (2*?7 4JP8:7 heora7 ...
$u#io; 4P8: la9er 2+)7 $C)7 4P8:-?7Vor!is7 Dla37 Speex7 Daa#27 gg7 ...
8/9/2019 Vlc Streaming Nluug
35/40
rans3o#ing %e3o#ing au#io+i#eo "rom
one "ormat an# en3o#e it intoanother "ormat
8xample;
l3 "ile.ai EsoutHItrans3o#e3o#e3Kmp27!K02?7a3o#e3Kmpga7a!K273hannelsK2;
st#a33essKu#p7muxKts7#stK2.*,.0.
8/9/2019 Vlc Streaming Nluug
36/40
8/9/2019 Vlc Streaming Nluug
37/40
4osai3 Gses "ake; input mo#ule
8xample;
Serer;l3 - telnet Elm-3on" mosai3.3on" EttlK) E
mosai3-wi#th )*0 Emosai3-height 2,, Emosai3-keep-pi3ture Emosai3-rows 2 Emosai3-3ols 2 Emosai3-position Emosai3-or#er 727)
"ake; --"ake-"ileK)-wallpaperT2,0x02?.jpg--"ake-"psK2
8/9/2019 Vlc Streaming Nluug
38/40
Vlm-3on" "ile mosai3.3on"Wnew 3hannel !roa#3ast ena!le#
setup 3hannel input u#p;++@2).2
8/9/2019 Vlc Streaming Nluug
39/40
8/9/2019 Vlc Streaming Nluug
40/40
Auestions X
http;++www.i#eolan.org
425
we!; http;++www.m2x.nl
e-mail; [email protected]
http://www.videolan.org/http://www.videolan.org/