Cannot get HebiCam to work with FDT H264 IP Camera

조회 수: 3 (최근 30일)
Ralph Yamamoto
Ralph Yamamoto 2017년 11월 1일
댓글: Walter Roberson 2020년 9월 26일
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
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
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