Cannot get HebiCam to work with FDT H264 IP Camera

3 Ansichten (letzte 30 Tage)
Ralph Yamamoto
Ralph Yamamoto am 1 Nov. 2017
Kommentiert: Walter Roberson am 26 Sep. 2020
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 Kommentare
Astarag Chattopadhyay
Astarag Chattopadhyay am 26 Sep. 2020
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 am 26 Sep. 2020
My guess with respect to the old problem is that this.cam is [] at that point.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB Support Package for IP Cameras finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by