Benvenuto nella pagina web di Igino Manfre' - Welcome in the webpage of Igino Manfre'

HLS stream generated live by VLC (hls5 from rtp_int)

This page embeds a live HLS stream erogated by my website through VLC and its source stream equally generated by VLC and proxed by apache
In cascade a further call of VLC is done to create a realtime hls stream (hls5.m3u8)
from http://iginomanfre.it/rtp_int

Vero collegamento rtp punto punto via internet.
Il flusso rtp_int e' un rtp generato internamente (a partire da un file .mp4) e destinato sulla porta 99 che provvede a ritrasmetterlo sulla porta in http 88 come http://iginomanfre.it/rtp_int (flusso visibile con VLC) e poi splittato in hls5 in tempo reale.
rtp_int e' erogato dal server stesso e quindi e' il caso presente e' la parte destra della immagine.

    

Real rtp point to point link via the internet.
The rtp_int stream is an internally generated rtp (starting from an .mp4 file) and targeted to its port 99 which retransmits it on the port 88 in http as http://iginomanfre.it/rtp_int (stream visible with VLC) and then split into hls5 in real time.
rtp_int is stream by the server itself thus this case is represented by the right part of the image./p>



youtube original https://www.youtube.com/embed/WlZqhpWo3Js
<iframe width="352" height="208" src="https://www.youtube.com/embed/WlZqhpWo3Js&loop=1" name="iframe_a" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen> </iframe>

link ordinario a file hls5.m3u8
(lancio di app esterna - ad es. vlc - associata alla estensione .m3u8) <a href="http://iginomanfre.it/hls5/hls5.m3u8"> <img src="../jpg/dyson_palloncini.jpg"> </a>


left vlc opening http://iginomanfre.it/rtp_int, right http://iginomanfre.it/hls5/hsl5.m3u8

The same windows about 15 minutes later

    

<video> tag usato per aprire il metafile .m3u8
con tipo application/x-mpegurl funziona su android (a destra) con firefox, edge, chrome; non funziona su windows con qualsiasi browser

<video> tag used to open .m3u8 metafile
with type application application/x-mpegurl it works on android (at right) with firefox, edge, chrome; it does not work on windows with whatever browser

<video id="dyson_1" poster="../jpg/dyson_palloncini.jpg" width=352 controls> <source src="http://iginomanfre.it/hls5/hls5.m3u8" type="application/x-mpegURL"/> </video>

<video> tag usato per aprire un file video .mp4 con tipo video/mp4 funziona dovunque con tutti i browser

<video> tag used to open a .mp4 video file with type application video/mp4 it works everywhere with any browser.

<video id="dyson_2" poster="../jpg/dyson_palloncini.jpg" width=352 controls> <source src="../video/balloons_and_fans_80.mp4" type="video/mp4"/> </video>

The splitting activity of the stream is performed by vlc with a batch continously running that ingest the rtp_int - internally generated - and splits in transport stream chops each one approx 10 seconds long listing them in a metafile (a playlist with extension .m3u8). In its place could be used the rtp_ext transmitted from outside on fixed port.
The full documentation about this usage of vlc can be found on the web but it must be interpolated and tested).

"c:\program files\vlc\vlc" --network-caching=1000 http://iginomanfre.it/rtp_int :sout=#std{access=livehttp{seglen=10,delsegs=true,numsegs=10, index="C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\igino_manfre\hls5\hls5.m3u8", index-url=http://iginomanfre.it/hls5/hls5-########.ts}, mux=ts{use-key-frames}, dst="C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\igino_manfre\hls5\hls5-########.ts"} --qt-start-minimized

This is the hls5.m3u8 file at a certain time.
The metafile is continously updated

#EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-MEDIA-SEQUENCE:42 #EXTINF:8.36, http://iginomanfre.it/hls5/hls5-00000042.ts #EXTINF:9.90, http://iginomanfre.it/hls5/hls5-00000043.ts #EXTINF:9.58, http://iginomanfre.it/hls5/hls5-00000044.ts #EXTINF:9.03, http://iginomanfre.it/hls5/hls5-00000045.ts #EXTINF:9.32, http://iginomanfre.it/hls5/hls5-00000046.ts #EXTINF:6.43, http://iginomanfre.it/hls5/hls5-00000047.ts #EXTINF:4.65, http://iginomanfre.it/hls5/hls5-00000048.ts #EXTINF:9.51, http://iginomanfre.it/hls5/hls5-00000049.ts #EXTINF:9.11, http://iginomanfre.it/hls5/hls5-00000050.ts #EXTINF:9.31, http://iginomanfre.it/hls5/hls5-00000051.ts

This is the list of all the segments present in the hls5 directory at that time:
as you can see there are the 10 segments listed in the hls5.m3u8 plus the 10 before...

24/12/2020 10:10 <DIR> . 24/12/2020 10:10 <DIR> .. 24/12/2020 10:07 259.440 hls5-00000028.ts 24/12/2020 10:08 253.048 hls5-00000029.ts 24/12/2020 10:08 239.324 hls5-00000030.ts 24/12/2020 10:08 217.704 hls5-00000031.ts 24/12/2020 10:08 130.284 hls5-00000032.ts 24/12/2020 10:08 87.984 hls5-00000033.ts 24/12/2020 10:08 161.116 hls5-00000034.ts 24/12/2020 10:08 170.516 hls5-00000035.ts 24/12/2020 10:08 166.192 hls5-00000036.ts 24/12/2020 10:09 229.924 hls5-00000037.ts 24/12/2020 10:09 194.204 hls5-00000038.ts 24/12/2020 10:09 169.388 hls5-00000039.ts 24/12/2020 10:09 134.232 hls5-00000040.ts 24/12/2020 10:09 182.360 hls5-00000041.ts 24/12/2020 10:09 174.088 hls5-00000042.ts 24/12/2020 10:09 259.440 hls5-00000043.ts 24/12/2020 10:10 253.048 hls5-00000044.ts 24/12/2020 10:10 239.324 hls5-00000045.ts 24/12/2020 10:10 217.704 hls5-00000046.ts 24/12/2020 10:10 130.284 hls5-00000047.ts 24/12/2020 10:10 87.984 hls5-00000048.ts 24/12/2020 10:10 161.116 hls5-00000049.ts 24/12/2020 10:10 170.516 hls5-00000050.ts 24/12/2020 10:10 0 hls5-00000051.ts 24/12/2020 10:10 702 hls5.m3u8

recall of http://www.iginomanfre.it/rtp_int stream with the <object> html tag: it works only with safari 5.1.7
(the last version supported for windows here downloadable without surprises) or the legacy versions of the browsers that used to support the vlc plug-in

     richiamo dello stream http://www.iginomanfre.it/rtp_int con il tag html <object>: funziona solo con safari 5.1.7 (l'ultima versione supportata per windows scaricabile da qui senza sorprese) o le vecchie versioni dei browsers che ammettevano il plug-in di vlc

<OBJECT classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="352" height="208" id="rtp_int_http" events="True" /> <param name="Src" value="http://www.iginomanfre.it/rtp_int"> <param name="ShowDisplay" value="True"> <param name="AutoLoop" value="True"> <param name="network-caching" value="1000"> <param name="AutoPlay" value="True"> <param name="Volume" value="0"> <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" src="http://www.iginomanfre.it/rtp_int" type="video/mpeg" width="352" height="208" volume=0 network-caching="1000" /> <object data="../jpg/vlc_forbidden_352x208.jpg" type="image/jpg" typemustmatch> </object>

richiamo del metafile http://www.iginomanfre.it/hls5/hls5.m3u8 funziona solo con safari 5.1.7 e le vecchie versioni dei browser che ammettono l'istruzione <object> con l'uso del plug-in VLC

    

recall of http://www.iginomanfre.it/hls5/hls5.m3u8 metafile it works only with safari 5.1.7 and the legacy version of browsers that support the <object> tag with the usage of vlc plug-in

<OBJECT classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="352" height="208" id="rtp_m3u8" events="True" /> <param name="Src" value="http://www.iginomanfre.it/hls5/hls5.m3u8"> <param name="ShowDisplay" value="True"> <param name="AutoLoop" value="True"> <param name="network-caching" value="1000"> <param name="AutoPlay" value="True"> <param name="Volume" value="0"> <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" src="http://www.iginomanfre.it/hls5/hls5.m3u8" type="application/x-vlc-plugin" width="352" height="208" volume=0 network-caching="1000" /> <object data="../jpg/vlc_forbidden_352x208.jpg" type="image/jpg" typemustmatch> </object>







this page with safari 5.1.7 for windows - questa pagina con safari 5.1.7 per windows
(the last released no more supported / l'ultima rilasciata non piu' supportata)
the line on right of the video"plugin mancante" (= missing plug-in) is a side effect of the image with the strikethrought vlc cone that appear in all the other browsers
la scritta "plugin mancante" a destra del video e' un effetto indesiderato della image con il cone di VLC barrato che appare in tutti gli altri browser