Ask Your Question
0

ios - rtsp

asked 2013-07-21 23:26:21 -0500

sios gravatar image

updated 2013-07-22 11:04:07 -0500

Any pointers on how to capture an rtsp stream under iOS? The example tutorial works great capturing from the built-in cameras, but any pointers on where to look to capture other streams?

Thanks

EDIT:

both

CvCapture *camera = cvCaptureFromFile("rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov");

and

_videoCapture = new cv::VideoCapture;
_videoCapture->open("rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov");

fail.

I can show that stream using ffmpeg.

Thanks again.

EDIT 2:

I'm wondering now if I have a version of opencv without ffmpeg compiled in, which I'm reading is required for opencv on ios to read streams. Any pointers on how I can test that opencv has ffmpeg?

Thanks again.

edit retag flag offensive close merge delete

Comments

Have you updated to the latest OpenCV2.4.6 version? Many problems with rtsp streams have been reported and fixed compared to 2 or 3 versions ago.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-22 04:43:32 -0500 )edit
1

Yes, I have the latest version (2.4.6). It's the only version I've used.

Thanks

sios gravatar imagesios ( 2013-07-22 10:56:45 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-07-22 11:14:08 -0500

AlexanderShishkov gravatar image

In my opinion, it is impossible right now, because we are using ffmpeg for capturing rtsp streams on desktop operation systems. And it is not available for iOS. I can advice to look at http://www.streammore.tv/ or https://github.com/mooncatventures-group/RTSPPlay projects.

edit flag offensive delete link more

Comments

Are you saying that ffmpeg is not available with the ios version of opencv at all?

Thanks

sios gravatar imagesios ( 2013-07-22 11:56:53 -0500 )edit

Yes, you are right.

AlexanderShishkov gravatar imageAlexanderShishkov ( 2013-07-22 15:32:42 -0500 )edit

wow , our name shows up in unusual places lately. you can certainly integrate one of our commercial or open source frameworks with opencv to do augmented reality type stuff. streammorePlay and rtspplay are video player frameworks, so what is the purpose and expected output from your project , have you checked out the tutorials on our streammore.tv blog.

michelle211 gravatar imagemichelle211 ( 2013-07-24 09:01:27 -0500 )edit

is there any update? can we use it now?

Dexter2653 gravatar imageDexter2653 ( 2017-08-17 04:20:58 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2013-07-21 23:26:21 -0500

Seen: 1,180 times

Last updated: Jul 22 '13