Jump to content
atzounis

Embedding video stream H.264 in HTML code - web page

Recommended Posts

Hello and thanks for taking time to review my post.

 

A friend of mine asked me if i could help him embed a video stream in his web page.

Here is the configuration:

IP cam (no matter which model)

A small box that plays the role of streaming server.

This box connects to a local modem/router and broadcasts over IP.

I have set a selfip account in order to have access to this device.

So now i can hit my selfip address and login to the server's CP and make settings and see the video. Note that video is only viewable in Internet Explorer, in other browsers "Object can not be found" message appears in the place of video (i hope this bug may ring a bell to you about this box's specs).

My question is:

How can i extract the video - not the CP or any other controls and embed it in a website?

Any help is highly appreciated! I can't find any documentation regarding this device.

 

P.s. i have found a java mobile phone application called "MobileViewer.jar" , installed it in my mobile phone, setup the login account and now i can have access to the video footage of my server though my phone.

Share this post


Link to post
Share on other sites

The easiest solution would be to just pull the jpg stream from the camera and use a constant refresh on the image.

 

If you speak to the manufacturer they will be able it tell you the jpg url then you just use HTML to pull it out, or just view the source on the IP cameras webpage and you will probably find the jpg url from that.

 

What is the make and model of the camera? I will have a look and see if I can find it out.

 

Thanks.

Share this post


Link to post
Share on other sites

First of all thanks for taking time to review and reply my post.

The camera is not a problem. It can be any camera or stream. For example at the moment i have connected a satelite stream sports channel on the server and i am streaming this. The small, no label, black box that claims itslef a video streaming server is my problem. I want to stream live video motion as in a survailance system but without the control panel. When i try to open the network interface Internet Explorer asks to install a driver called "WIWA IP Camera driver 2.1.40.1" by Innov Technology Inc.

I have some screenshots attached. I hope they will be helpful.

 

Thanks again!!!

defkalion-screenshots1.thumb.jpg.dd0ded19af7709ae1003b687efff2aa6.jpg

defkalion-screenshots2-details.jpg.7d1d010ab6ce3cdd49b1f13cfea46597.jpg

defkalion-screenshots-video-only.thumb.jpg.5bebd632bfe27ac910957b14466e5ea5.jpg

Share this post


Link to post
Share on other sites

Ah I Understand now, If you want to set me up a user account to log in remotley (PM me the access details) Ill have a look at the source code and see if its possible to do.

 

Thanks.

Share this post


Link to post
Share on other sites

What it's trying to download is the Active X controls that Internet Explorer uses to display your unit's stream. Other browsers don't support Axtive X hence you can't view properly using Firefox, etc...

 

I have a copy somewhere of some HTML code that will accept video streams into a website. As soon as I find it, I'll post it.

Share this post


Link to post
Share on other sites

Sorry about the delay. After reviewing my code, I realized it was for a Mobotix Camera which wouldn't do you much good but I did dredge up this website which will give you examples of what you need. It may even have your specific camera.

 

http://www.networkwebcams.com/ip-camera-learning-center/2009/01/19/howto-embed-the-live-image-from-your-ip-camera-in-a-web-page-part-1-y-cam/

 

Hope it helps.

Share this post


Link to post
Share on other sites

So, you think it is a matter of camera and doesn' t have to do with the streaming server.

Note that this "server" is not actually a computer, but a small box that just connects to the internet through the router.

I don't even know if it can support more than one user simultaneously.

Share this post


Link to post
Share on other sites

Different cameras have specific setup requirements for streaming depending on codecs. Some are dedicated to H264, others also add MPEG or JPEG each requiring modifications or special parameters to the HTML coding.

 

As for your "Black Box", does it have a model number or manufacturer? There may be software for the specific model.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×