Ask Your Question

I would like to stream VDO from IP camera app by using Java code

asked 2017-01-23 20:07:32 -0500

Now I can stream my VDO via IP camera app via android phone to my laptop by using the web browser or VLC program to watch live VDO from Http. Then I would like to stream it to my program. Anyone, please suggest me how to make it?
Note: Each frame of streaming VDO will be used for camera calibration and Draw Region of Interest (ROI).

Sorry for my English as well.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-24 03:31:18 -0500

pi-null-mezon gravatar image

In opencv, you can simply try to open VideoCapture instance with the stream URL. For the instance if we have ip cam that stream with URL tcp:// do:

cv::VideoCapture _videocapture("tcp://");
if( {
  //Your processing code
} else {
    std::cerr << "Can not open video stream!"
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-01-23 20:07:32 -0500

Seen: 121 times

Last updated: Jan 24 '17