i would like to capture video from a cam. For example; get the captured video time is 5 minutes. I would like to play captured video between 1 to 3 minutes by a clicked button. Do you have any suggestion how to do this with c#.net or php? And can you suggest a component?
我想用摄像机拍下视频。例如;获取视频时间为5分钟。我想通过点击按钮在1到3分钟内播放被捕获的视频。你有什么建议用c#。net或php来做吗?你能推荐一个组件吗?
PS. Sorry for my bad english. Thank you already now for your help.
对不起,我的英语不好。谢谢你的帮助。
1 个解决方案
#1
1
PHP is a server-side language so would need a Client Side Browser Technology like Flash.
PHP是一种服务器端语言,因此需要像Flash这样的客户端浏览器技术。
But it's perfectly plausible with c# (If your not talking about ASP.net, as this would need the same approach as PHP) check out these links for some source on how to do this:
但是,c#(如果你不谈论ASP.net,因为这需要与PHP相同的方法),这是完全合理的。
- http://channel9.msdn.com/Forums/TechOff/93476-Programatically-Using-A-Webcam-In-C
- http://channel9.msdn.com/Forums/TechOff/93476-Programatically-Using-A-Webcam-In-C
- http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx
- http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx
- http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10
- http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10
Hope that helps
希望这有助于
#1
1
PHP is a server-side language so would need a Client Side Browser Technology like Flash.
PHP是一种服务器端语言,因此需要像Flash这样的客户端浏览器技术。
But it's perfectly plausible with c# (If your not talking about ASP.net, as this would need the same approach as PHP) check out these links for some source on how to do this:
但是,c#(如果你不谈论ASP.net,因为这需要与PHP相同的方法),这是完全合理的。
- http://channel9.msdn.com/Forums/TechOff/93476-Programatically-Using-A-Webcam-In-C
- http://channel9.msdn.com/Forums/TechOff/93476-Programatically-Using-A-Webcam-In-C
- http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx
- http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx
- http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10
- http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10
Hope that helps
希望这有助于