Ask Your Question
1

How can I connect to an ip camera using java in android eclipse?

asked 2016-12-16 01:33:37 -0500

Mehdi.Am gravatar image

updated 2016-12-16 02:35:02 -0500

Dear users

I'm trying to connect to an ip camera using opencv android 2.4 in eclipse. I read some resources but I couldn't find any clear code to do it.

can someone help me?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-16 01:43:11 -0500

berak gravatar image

sad as it is, it's not possible using opencv android 2.4 , due to the missing backend for this (you would use ffmpeg/gstreamer for this purpose on a pc)

you could try to build libffmpeg for your android device, and somehow tunnel into that (quite difficult, imho).

if it's a simple mjpeg stream, you could write your own client , even in java, using sockets and imdecode(). (might be brittle, and not that versatile)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-12-16 01:33:37 -0500

Seen: 199 times

Last updated: Dec 16 '16