rtsp in opencv

Mats's picture

OpenCV and rstp

I don't have a ip camera to test with, but I found this site where you can get an rstp videostream:

https://www.wowza.com/html/mobile.html

Use the Direct RSTP URL:

Start opencv

Select ffmpeg and mark the radiobutton File:

Use this URL as file: 

rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov

Press Capture

OpenCv rstp stream

 

eonclaw's picture

Thanks Mats. Still unable to

Thanks Mats. Still unable to capture it via MRL but can play it on VLC. I am running MRL on a PC with Windows7 32-bit.

 

Mats's picture

No worky

It's difficult to guess what's happening. Could you please send a "no-worky". It will send the logfile to a place where we can look at it.

You find it in Help => About

Press the button Help it "no-worky"

Fill in your username ( eonclaw ) and press OK

eonclaw's picture

Sent a no-worky.

Sent a no-worky. I also tried it on the latest build but still can't...

Mats's picture

Missing ffmpeg dependency

There was a missing dependency in MRL, so it worked from Eclipse, but not in the build.

I have updated the dependency and tested on Windows 64-bit and also on Raspberry PI, so hopefully it will work on window-32 bit also.

Download the latest release ( 2359 ) or later and install OpenCV.

 

eonclaw's picture

Worky!

Cool!  Worky now at 2362. Thank you very much Mats.

Mats's picture

Using ffmpeg to capture from the camera also works on the PI

There is currently a problem using the camera on the PI, using the OpenCV framegrabber.

As a workaround you can use FFmpeg and select /dev/video0 as the input file