|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
heya, how would you stream a webcam video onto a website?
iv had a search on google and cant find any useful information if you have any code or links to help i would be very grateful. Many thanks |
|
#2
|
||||
|
||||
|
I just did a google search for "php webcam' and it came up with several solutions. What exactly can't you find? Do you have special requirements that these solutions don't provide?
If you have a specific problem then it would be easier to make suggestions but as far as I can see there are several php scripts available that will deal with webcam images. [edit]I just re-read your post and spotted that you said "video" i guess most of the solutions on google are about updating still shots periodically. If you want full moving video then PHP isn't going to do a lot for you. You should research video streaming techniques. I'm no expert but generally you will neeed software on your computer than will encode the video and upload it to a streaming server (not a standard web server) this isn't really anythign to do with PHP. If I've still missed the point then please explain what you are trying to do more fully. I hope this helps. [/edit]
__________________
Last edited by banks : August 30th, 2008 at 08:38 AM. Reason: re-read post |
|
#3
|
||||
|
||||
|
Go sign up for an account at www.ustream.tv. Then you'll sign into their site, and start streaming. They'll give you some HTML to paste onto your website so that visitors to your page can see your live video/audio.
__________________
FREE Web Development Videos | PHP Reference | MySQL Reference | jQuery Documentation Markup Validation | CSS Validation | Web Developers, get FireBug & IE Developer Toolbar When seeking help: Submit clear questions and code. Use syntax highlighting. Be patient, and respectful. Don't abuse your access to professional guidance - nobody here is obligated to answer your questions, be thankful that they do. Are you a good person? |
|
#4
|
|||
|
|||
|
I got the same results as banks.
The only thing i can see being an issue there is you want a "smooth" stream of the cam, in which case searching for "webcam server" or "flash webcam" on google would give you better results. My own solution for Webcam images (16 cams to be exact) was to use flash, and flash communications server. But that's expensive, if it's not for a commercial project, probably wouldn't do you any good ![]() HTH Mike. |
|
#5
|
|||
|
|||
|
cheers
thanks for all your help its much appreciated, i want it so that users can add their own webcams to my website, which are then streamed off it
thanks |
|
#6
|
||||
|
||||
|
Then you need to purchase a high-dollar media streaming server. Or, tell your users to setup ustream accounts, and then store their stream-HTML in your database.
|
|
#7
|
||||
|
||||
|
Yeah, you can't do multimedia streaming with PHP. You will need to use flash or java.
|
|
#8
|
|||
|
|||
|
ok, had a look around found yahoo! live which looks pretty good for streaming webcams in embeds.
think will go down the media streaming route though found adobe flash media, so downloading a trial at minute so i can use flash. Wheres the best place for media servers, as i heard you have some experience Many thanks for your help ![]() |
|
#9
|
|||
|
|||
|
Are you trying to stream live and high or low definition?
|
|
#10
|
|||
|
|||
|
heya
live and medium defintion
regards |
|
#11
|
||||
|
||||
|
If you have a lot of money lying around then go with those media streaming hosts.
I would say, go through a steep learning curve and read about the Flash Media Server (FMS) or Wowza (half price of the FMS) and put these on a Dedicated server or a VPS. I wouldn't even go near Java (JMF) with a barge poll for this! ![]() How many webcams do you want on your site. I think the limit of FMS is a 100 connections at a time, the trial may only give you 10. |
|
#12
|
|||
|
|||
|
Quote:
You forgot to Mention Red5 (which i only found out about today!) .. Opensource Flash Comms server (written in Java i think) |
|
#13
|
|||
|
|||
|
yeah, it seems very complex - i might just apply the still picture approach as it is cheaper and easier
though think ill learn flash in the background so i might be able to do it in the future. Ive tried a few of the still camera products, they seem a bit dodgey though crashing a lot. currently developing a mySQL & PHP entry field for users where they have the oppourtunity to put a link in from Yahoo! Live then so it is embedded. Least Ill get the basics sorted as i keep on seem to be coming across brick walls at the minute learning new programming! Thanks everybody |
|
#14
|
||||
|
||||
|
Quote:
|
|
#15
|
|||
|
|||
|
Java Ninja,
when you talk about 100 connections, would that be 100 connections to one media stream? like one webcam on the server? Ive embedded the link but the embed doesnt come out right, It comes out like: http://live.yahoo.com/swf/player/null - when embed occurs, think it might be a problem with the code i reckon.. PHP Code:
Cheers Last edited by ford2008 : August 31st, 2008 at 08:41 AM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > Webcam stream on website |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|