Capture IP Camera Stream and Publish on my Website

About encoding, codec settings, muxers and filter usage
Slavi2588
New Cone
New Cone
Posts: 2
Joined: 15 May 2012 06:18

Capture IP Camera Stream and Publish on my Website

Postby Slavi2588 » 15 May 2012 06:26

Hi Guys,

I hope someone can lend me a hand or at least point me in the right directions. I've been to the 100th page on google and still can't find a solution.

Here it is:
I am using IP Cam (an app for android phones) to stream live video. It basically functions as a basic IP camera. It gives me a URL where the feed is. It looks like this http://192.168.2.32:8080/ when I'm connected to my WiFi network. The video stream is at http://192.168.2.32:8080/videofeed. That seems to be HTTP/MJPG stream.

Here is what I'm trying to do:
I want to capture the video feed of the camera which is at http://192.168.2.32:8080/videofeed and embed it in an HTML5 player (the one I plan to use is Video JS) or a Flash player if the HTML5 doesn't work (prefer HTML5 though). The HTML5 player is asking me for a source file (such as .mp4, webm, mov, etc) but at http://192.168.2.32:8080/videofeed there is no source file. It's just HTML stream.

My question is how to I embed that video stream into my HTML5 player and post it on my website.

Any help and suggestions would be greatly appreciated.

Thanks very much for taking the time to read this.

Stan

vietheart
New Cone
New Cone
Posts: 1
Joined: 18 May 2012 04:40

Re: Capture IP Camera Stream and Publish on my Website

Postby vietheart » 18 May 2012 04:50

you can use wowza for your solution. http://www.wowza.com/forums/list.php?ca ... -IP-Camera

As your way, wowza can solve your problem.

Thanks

snakemw
New Cone
New Cone
Posts: 4
Joined: 13 Nov 2012 10:07

Re: Capture IP Camera Stream and Publish on my Website

Postby snakemw » 14 Nov 2012 10:09

Sanks for answer, but my DVR not support rtsp. What solution I can use on Wowza?

ibstars
Blank Cone
Blank Cone
Posts: 42
Joined: 20 Feb 2009 21:57
VLC version: Mul-versions
Operating System: Windows
Location: The richest man in Babylon

Re: Capture IP Camera Stream and Publish on my Website

Postby ibstars » 30 Nov 2012 23:47

Hello
You can read my post at viewtopic.php?f=4&t=55764, for how to stream live feed on website ;)
I have put a sample on it to.
IBstars

maxZabolotsky
New Cone
New Cone
Posts: 1
Joined: 02 Sep 2016 18:03

Re: Capture IP Camera Stream and Publish on my Website

Postby maxZabolotsky » 02 Sep 2016 18:11

Hi,
I see several issues here.
First - you have to provide external ip, not the internal one. So your ip should start other than 198.162... Otherwise your camera will be visible only through intranet.
The other thing is that you have just to embed your camera view through <img> tag. Point the source to the cam ip and port and you are done.
Also remember to open your firewall access on router to stream out the camera. Otherwise you will also be able to see it inside your own network.
You can see and check live cams and their implementation here or to add directly here your cam - http://www.viralcameras.com/0/posts/14- ... eway-.html
Image
You don't have to use any adobe plugin or any other plugin if you don't want to. Just what you need is only the ip, port and the camera url streaming video.
Hope it helps.

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Re: Capture IP Camera Stream and Publish on my Website

Postby realjobe » 03 Oct 2016 12:50

I solved this just like this: Build a PHP website of your own and create a webPage where cURL pulls a one JPG from the IP_camera every seconds and show's that on a normal <img> tag... of cource this is far more complex than I just described.. :)

I use JQuery on UI for Asyc image pull JSON via REST GET where the image obtained from the PHP using "data:image\/jpg;base64" is shown..


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 33 guests