video streaming - How to capture and broadcast MJPEG stream from an IP webcam -
i've purchased foscam fi8910w ip webcam outputs live video stream in mjpeg format, , i'm trying embed live stream in webpage.
i've accomplished goal using camera feed's url source html img tag. problem each browser session accessing page connects camera, limited bandwidth camera has used up, no more 2 or 3 users can view page @ same time.
what set sort of streaming server access camera's feed directly, , reproduce/process in way when users browse site pulling server rather camera.
ideally done without need browser plugins, , work across browser. i'm pretty experienced in several programming languages, writing handle not totally out of question, don't have slightest idea how started.
i recommend 2 options (both work me):
1) c/c++ code + libjpeg library(use version above 8 since older ones exchange result through file system). this nice article used understand mjpeg , create c/c++ application works.
- pros: have full control on features want
- cons: lot of coding/debugging/testing
2) gstreamer. comes lot of plugins can utilize chosen command line. here example.
- pros: no coding needed, find suitable plugin , configure it
- cons: might not answer requirements; potential comercial license issue
Comments
Post a Comment