[FFmpeg-user] play RTSP steam in web browser

Peter van Houten petervdh at gmail.com
Mon May 20 16:10:46 CEST 2013


On the 20/05/13 10:15, Xu, Tim wrote the following:
> Dear folks,
>
> We have an IPCamera, output H.264 RTSP streaming, I’d like to decode and display its’ stream in different web browsers,
> The vendor provides us an ActiveX control, which can do the job only in IE browser. I can use ffplay to decode the stream perfectly.
> the questions is how can I build a plugin for other web browsers, such as Firefox and Chrome based on ffmpeg?
>
> Mit freundlichen Grüßen / With kind regards
> Tim Xu
> ABUS Security-Center Corp.
> T: +86 21 3175 0525
> M: +86 138 1615 8613
> E-Mail: t.xu at abus-sc.com<mailto:t.xu at abus-sc.com>
> http://www.asct.com.tw<http://www.asct.com.tw/>
>
Try VLC,

<html>
     <head>
         <meta http-equiv="content-type" content="text/html; 
charset=utf-8" />
         <title>Bla Bla Webcam</title>
         <link type="text/css" href="webcam.css" rel="stylesheet" />
     </head>
     <body>
         <div id="content">
             <h1>Webcam</h1>
             <hr>
             <p align="center">
                 <object 
classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
                         codebase="http://blabla.webcam.com/execs/vlc"
                         width="352"
                         height="288"
                         id="vlc"
                         events="true">
                         <param name="src" 
value="rtsp://guest:guest@blabla.webcam.com:554/CH001.sdp">
                         <param name="autoplay" value="true">
                         <param name="showdisplay" value="true">
                         <param name="autoloop" value="false">
                         <param name="volume" value="0">
                         <param name="mute" value="false">
                         <embed type="application/x-vlc-plugin"
                                name="vlc"

mrl="rtsp://guest:guest@blabla.webcam.com:554/CH001.sdp"
                                width="352"
                                height="288"
                                autoplay="true"
                                autoloop="false"
                                showdisplay="true"

pluginspage="http://blabla.webcam.com/execs/vlc">
                 </object>
             </p>
        </div>
     </body>
</html>


More information about the ffmpeg-user mailing list