6 Replies - 15209 Views - Last Post: 18 July 2012 - 07:54 AM

#1 Kersh86  Icon User is offline

  • New D.I.C Head

Reputation: 5
  • View blog
  • Posts: 45
  • Joined: 11-August 11

Displaying live stream on website using rtsp?

Posted 18 October 2011 - 03:49 AM

Hi guys

i am trying to set up a few ip cameras for a client.

yet i am having trouble getting the stream from the camera to the webpage then for it to play through a player. i have tried different players such as Windows media player, applets. i am now using jplayer which would be great if i could get it to work on this one as works for phones or so it says.

what i have done so far is to go into my router(thomson TG585 v8) and set up port forwarding.

i have set up port 554 on TCP/UDP which in the camera settings is the RTSP port.

i have set my camera to a static ip and am using no-ip for the ddns.

rtsp://thepolishedknob.servebeer.com/h264/1/media.amp?resolution=480x360

this is the url i am trying to use but i cannot get the stream on to the player

if anyone can help me it would be greatly appreciated as been working on this for a week and been going nowhere.

so if you have noticed i have missed anything out or done something wrong please let me know.

Is This A Good Question/Topic? 0
  • +

Replies To: Displaying live stream on website using rtsp?

#2 sas1ni69  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 85
  • View blog
  • Posts: 431
  • Joined: 04-December 08

Re: Displaying live stream on website using rtsp?

Posted 18 October 2011 - 06:38 AM

I'm not exactly sure of how this is done but I've heard that you need a streaming server for this. Maybe that will set you in the right direction.
Was This Post Helpful? 0
  • +
  • -

#3 Kersh86  Icon User is offline

  • New D.I.C Head

Reputation: 5
  • View blog
  • Posts: 45
  • Joined: 11-August 11

Re: Displaying live stream on website using rtsp?

Posted 18 October 2011 - 06:52 AM

View Postsas1ni69, on 18 October 2011 - 06:38 AM, said:

I'm not exactly sure of how this is done but I've heard that you need a streaming server for this. Maybe that will set you in the right direction.


have tried using vlc as that picks up and plays the feed but i dont know how to then get that through jplayer and onto the website
Was This Post Helpful? 0
  • +
  • -

#4 Kersh86  Icon User is offline

  • New D.I.C Head

Reputation: 5
  • View blog
  • Posts: 45
  • Joined: 11-August 11

Re: Displaying live stream on website using rtsp?

Posted 18 October 2011 - 03:33 PM

Update: well i know the camera is streaming correctly as i am able to access the feed through vlc, while on another network.

just need to link it to the jplayer but i am having no luck at all with that.

any help would be appreciated.
Was This Post Helpful? 0
  • +
  • -

#5 sas1ni69  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 85
  • View blog
  • Posts: 431
  • Joined: 04-December 08

Re: Displaying live stream on website using rtsp?

Posted 18 October 2011 - 05:39 PM

Have you looked into Red5? It's supposed to be used for media streaming.
Was This Post Helpful? 0
  • +
  • -

#6 Kersh86  Icon User is offline

  • New D.I.C Head

Reputation: 5
  • View blog
  • Posts: 45
  • Joined: 11-August 11

Re: Displaying live stream on website using rtsp?

Posted 19 October 2011 - 03:20 AM

View Postsas1ni69, on 18 October 2011 - 05:39 PM, said:

Have you looked into Red5? It's supposed to be used for media streaming.


i havent yet, i'll look into that now and keep ppl updated
Was This Post Helpful? 0
  • +
  • -

#7 issole  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 18-July 12

Re: Displaying live stream on website using rtsp?

Posted 18 July 2012 - 07:54 AM

I guess the question is a little older already, but just dealt with the same problem.
The answer is to use the quicktime plugin on the web page (for Linux, using Firefox with the VLC browser plugin also works).

On the web page, the code looks something like this:

<html><body>
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
        codebase="http://www.apple.com/qtactivex/qtplugin.cab"
        width="640" height="496">
  <param name="src" value="sample-movie.qtl" />
  <param name="autoplay" value="true" />
  <param name="pluginspage" value="http://www.apple.com/quicktime/download/" />
  <param name="controller" value="true" />
  <!--[if !IE]> <-->
    <object data="sample-movie.qtl" width="640" height="496" type="video/quicktime">
      <param name="pluginurl" value="http://www.apple.com/quicktime/download/" />
      <param name="controller" value="true" />
    </object>
  <!--> <![endif]-->
</object>
</body>
</html>



This refers to a small text file "sample-movie.qtl" which contains the actual URL to the RTSP server, for example:

<?xml version="1.0"?>
<?quicktime type="application/x-quicktime-media-link"?>
<embed 
  autoplay="true" 
  fullscreen="full"
  href="http://www.apple.com/quicktime/"
  src="rtsp://my-site.com:554/sample-movie.mp4" 
/>



For each movie, a .qtl file is stored in the same directory as the web page.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1