使用OpenIMAJ
库,我可以从IP摄像机捕获和录制视频,还可以在Web应用程序中显示实时视频吗?
I've not got an IP camera to test with, but in theory you can use the XuggleVideo
class to do it - you basically just need to provide the URL of the stream provided by the camera:
Video<MBFImage> video = new XuggleVideo("rtsp://10.10.10.121/cam0_0");
Any type of stream/url that FFmpeg supports should work.
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.