[FFmpeg-user] 答复: play RTSP steam in web browser

Xu, Tim T.Xu at abus-sc.com
Tue May 21 05:19:00 CEST 2013


The problem is we can't guarantee that all customers have VLC installed

-----邮件原件-----
发件人: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] 代表 Peter van Houten
发送时间: 2013年5月20日 22:11
收件人: FFmpeg user questions
主题: Re: [FFmpeg-user] play RTSP steam in web browser

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>
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Managing Director: Kevin Juan
ABUS Security-Center Corp
4F No.49 Wu-Gong 6th Rd. Wu-Gu industrial park, Taipei County 248 Taiwan(R.O.C)
VAT No.28092563

This e-mail is confidential and may also be legally privileged.
If you are not the intended recipient or have received this message in error, please
notify the sender immediately and delete this message and any attachments.
Any unauthorized copying, disclosure or circulation of the message or the
contents of this message ist strictly prohibited.


More information about the ffmpeg-user mailing list