VLC HTTP Video Stream

Hi Stakeoverflowers

I have a server for streaming using the HTTP and (VLC) protocol, and I forward the stream to dyndns.com to be able to stream to the Internet. I can only see the stream from my site using Firefox and Internet Explorer using the following script:

<object
        classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" 
        codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab"
        id="vlc"
        name="vlc"
        class="vlcPlayer"
        width="100%"
        height="100%"
        events="True">
    <param name="Src" value="DYNDNS_Address" />
    <param name="ShowDisplay" value="True" />
    <param name="AutoLoop" value="True" />
    <param name="AutoPlay" value="True" />
</object>

I cannot view the stream on chrome, also, to see the video on IE and Firefox, I had to install the VLC software. My question is: how can I view this stream without forcing guest users to download and install VLC? Also, is there any HTML5 player that can view this type of stream?

+1
source share
2

. , , : Chrome, Firefox IE.

"HTTP- ", "", "HTML- "

VLC , HTTP Live Streaming. VLC, , livehttp

:

vlc -vvv -I dummy <SOURCEADDRESS> --sout='#transcode{width=1280,height=720,fps=25,vcodec=h264,vb=4096,venc=x264{aud,profile=baseline,level=30,keyint=30,ref=1},acodec=mp3,ab=96}:std{access=livehttp{seglen=10,delsegs=false,numsegs=10,index=/path/to/your/index/prog_index.m3u8,index-url=YourUrl/fileSequence######.ts},mux=ts{use-key-frames},dst=/path/to/your/ts/files/fileSequence######.ts}'

HTML5, :

<video width="640" height="480">
<source src="/path/to/your/index/prog_index.m3u8" />
</video>

, HTTP Live Streaming, HTML5- H264. , .

, answer .

, , .

+1

,

, , :

- vlc -. , vlc , vlc player.

, , vlc- , -. - vlc.

, - .

0

Source: https://habr.com/ru/post/1627462/


All Articles