1

I have a url to RTSP stream with authentication in H264 - MPEG-4 part 10 codec. Lik looks like this: rtsp://login:pass@xxx.xxx.xxx.xxx:557

Is there way to show video in HTML-page?

Is it require to use some decoding server like ffmpeg or vlc? Or we can put it to page directly?

Max
  • 2,293
  • 5
  • 32
  • 48

1 Answers1

1

It can be put directly as link. It will use your default player to play it and not on the webpage itself. Example page: http://bcdn1.wpc.cdn.bigcdn.com/001D7A/bcdn2/bbb-rtsp.html

<body>

<div id="rtsp_movie">

    <a href="rtsp://xxxx"><img border="0"
                           alt="EXAMPE RTSP"
                           width="426"
                           height="240"/>click
    to play RTSP</a>

</div>

</body>
d33pika
  • 1,997
  • 14
  • 24
  • Directly link doesn't work rtsp://login:pass@xxx.xxx.xxx.xxx:557 – Max Jan 23 '13 at 08:21
  • What message do you get? Does this link play with vlc or quicktime player? I have a working page where I link the rtsp video directly. – d33pika Jan 23 '13 at 08:23
  • Browsers doesn't known what is rtsp:// Quicktime doenst support this link(IMHO) format and doesn't play. VLC works fine – Max Jan 23 '13 at 08:29
  • In Quicktime Version 10.1 (501.22), you can use open location to play the stream. http://www.live555.com/mediaServer/ mentions quicktime can play it. – d33pika Jan 23 '13 at 08:42
  • @Max Can you play the video in the link above? – d33pika Jan 23 '13 at 08:49
  • sorry, but i can't find links to video in your link ( – Max Jan 23 '13 at 09:08
  • Do you see the `click to play RTSP` in http://bcdn1.wpc.cdn.bigcdn.com/001D7A/bcdn2/bbb-rtsp.html . What happens when you click on it? – d33pika Jan 23 '13 at 09:13
  • I see. You link works fine6 but my link require login/pass and doesn't work in QuickTime – Max Jan 23 '13 at 09:15
  • let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/23202/discussion-between-max-and-d33pika) – Max Jan 23 '13 at 09:17
  • You may want to check [this post](http://stackoverflow.com/questions/2245040/how-can-i-display-an-rtsp-video-stream-in-a-web-page) – zabumba Apr 21 '15 at 22:44