简体   繁体   中英

live video streaming from php and or flash?

I need to make a live streaming webcam application from my php server to a php page. I could either take frame by frame pictures using flash and somehow convert them to video files and stream it through or bundle the images together, compress them, and outputting it on a web page. any help with php methods to convert images to videos and outputting them on a web page?

I could either take frame by frame pictures using flash

I did this once. Result? An awful, CPU hogging mess. It worked, no doubt about that. But it was terrible. Because the images had to be encoded every 500ms (half a second), my CPU (Intel i7 4 cores) went up to 70% in usage. So I suggest you stay away from that method unless of course, you want your users to kill you?

I would suggest taking a look at the Flash Media Server. It's not free but there is a free trial for you to try. Here, take a look at this .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM