How to get video and audio stream from IP Camera using with OpenCV on Android ?

asked 2014-07-17 03:05:49 -0600

I'd like to develop an app which you can get video and audio stream from IP Camera on Android. So can use this piece of code for develop my app ? I mean does it work for it if I use OpenCV lib on Android. I'm newbie on OpenCV. Any idea about how to do it ? Thanks.

edit retag flag offensive close merge delete

Comments

opencv does not do any audio, also no ip cam i know even sends audio.

and then, while you can receive video streams with opencv using VdeoCapture, - not so on android, unfortunately (relies on ffmpeg, which is not supplied there.)

if it's a simple mjpeg stream(again, video only), my best bet would be just to open a socket, parse it manually, Highgui.imdecode() the images.

berak gravatar imageberak ( 2014-07-17 04:40:20 -0600 )edit

Firstly thank you for your attention.. I've Foscam fi8918w IP camera and I know that it sends audio. I can get audio via one software called PNP. Can u write any sample code about that how to decode mjpeg images with OpenCV ?

simdilikbuolsun gravatar imagesimdilikbuolsun ( 2014-07-17 09:48:38 -0600 )edit