Cannot get HebiCam to work with FDT H264 IP Camera
3 次查看(过去 30 天)
显示 更早的评论
I get the following error when I try to associate an H264 stream from an FDT IP Camera. This stream will work in VLC. I've seen references to similar errors but not sure how to debug this.
>> cam1 = HebiCam('rtsp://admin:admin@10.0.0.210:554/11') Warning: The following error was caught while executing 'HebiCam' class destructor: Undefined function 'stop' for input arguments of type 'double'.
Error in HebiCam/delete (line 226) stop(this.cam);
Error in HebiCam (line 90) function this = HebiCam(varargin) > In HebiCam (line 90) Error using HebiCam (line 177) Java exception occurred: java.lang.IllegalArgumentException: Unsupported number of channels: 0
at us.hebi.matlab.streaming.BackgroundFrameGrabber.<init>(BackgroundFrameGrabber.java:63)
Additional information: I now believe that it is strictly a problem with rtsp and HebiCam. I just tried a Foscam IP Camera that uses MJPEG. It works fine from the http interface but fails the same way as the FDT when using rtsp:
>> cam = HebiCam('rtsp://admin:admin@10.0.0.28:88/videoMain') Warning: The following error was caught while executing 'HebiCam' class destructor: Undefined function 'stop' for input arguments of type 'double'.
Error in HebiCam/delete (line 226) stop(this.cam);
Error in HebiCam (line 90) function this = HebiCam(varargin) > In HebiCam (line 90) Error using HebiCam (line 177) Java exception occurred: java.lang.IllegalArgumentException: Unsupported number of channels: 0
at us.hebi.matlab.streaming.BackgroundFrameGrabber.<init>(BackgroundFrameGrabber.java:63)
2 个评论
Astarag Chattopadhyay
2020-9-26
Hi Ralph,
MATLAB Support Package for IP Cameras now support decoding H.264 RTSP streams from MATLAB version R2020b. I know this is an old post but if your use-case here is still valid, you can give it a try.
Hope it helps!
-Astarag
Walter Roberson
2020-9-26
My guess with respect to the old problem is that this.cam is [] at that point.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for IP Cameras 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!