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
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
Walter Roberson 2020-9-26
My guess with respect to the old problem is that this.cam is [] at that point.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile 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!

Translated by