H.264/MPEG-4 video over network
古いコメントを表示
Hi.
There is good documentation out there on both Image Acquisition Toolbox and Instrument Control Toolbox (that of tmtool), but it lacks documentation on how to combine these. I have a network camera (specifically that on the ar.drone) that streams H.264 video over TCP/IP. Apparently one can combine these two toolboxes so that tmtool can read the video stream and use that object in the Image Acquisition Toolbox. I would be very greatfull if anyone could shed some light on this matter. If any other toolbox could help me, my university have most toolboxes, so that should not be an issue.
Thank you.
1 件のコメント
sky nku
2014 年 4 月 28 日
Do you know how to connect to a network camera using Instrument Control Toolbox? Thanks!! For example, the ip addresss of my camera is 192.168.3.253,and my PC connects to the camera with a simple net cable( UTP=UNSHIELDED TWISTED PAIR )
採用された回答
その他の回答 (2 件)
Mark Jones
2012 年 11 月 7 日
0 投票
Hi,
If you know C++ well, then I think your best approach would be to find a library that supports reading and decoding the stream (possibly GStreamer) and then developing an adaptor for the Image Acquisition Toolbox.
Mark
2 件のコメント
Walter Roberson
2012 年 11 月 7 日
Darn, I have been hoping that I was just reading the documentation too strictly, or had overlooked something. Several people have asked for this facility.
Christoffer Stausland
2012 年 11 月 8 日
編集済み: Christoffer Stausland
2012 年 11 月 8 日
Florian Enner
2016 年 5 月 14 日
I know this thread is very old, but it does show up quite high when searching for h264 streaming. In case someone else comes across this problem, I've uploaded a submission that supports streaming h264 (among other formats) from ip cameras.
% Connect to stream
cam = HebiCam('<address>');
% Continously display latest image
figure();
fig = imshow(getsnapshot(cam));
while true
set(fig, 'CData', getsnapshot(cam));
drawnow;
end
カテゴリ
ヘルプ センター および File Exchange で Image Acquisition Toolbox Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!