does it is possible to live stream video in matlab with H.264 codec
21 ビュー (過去 30 日間)
回答 (3 件)
MathWorks MATLAB Hardware Team 2020 年 8 月 27 日
MATLAB will be supporting H.264 encoded RTSP streams for IP Cameras through MATLAB Support Package for IPCameras in the upcoming release, MATLAB R2020b version. Hope it helps!
Walter Roberson 2018 年 3 月 26 日
Historically it has not been possible to live stream h264, but I have not rechecked the latest two releases. I cannot presently rule out the possibility that a recent change to support for one of the boards such as arduino might perhaps have added the capability; it was not there in R2017a (not without running a custom adapter)
Devices such as gigabit cameras return entire frames in the mode supported by MATLAB, rather retuning h264 streams with some hypothetical function to decode the frames.
The historical support for h264 has only been from file, not streaming.
If you have Windows then you can use activexserver to talk to a COM object to do the decoding for you and to return the frames.