Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Open h264 RTSP Camera OpenCV 3.1.0

Hello ,

i wrote a little programme to open a camera with openCV and it always fails.

The error message is :

[rtsp @ 00000000003f7fc0] method SETUP failed: 461 Unsuported transport warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:578)

I have already been looking for solutions on furoms like : http://code.opencv.org/issues/2235 the modifications into the "cap_ffmpeg_impl.hpp" are already included in 3.1.0 and it's still fail openning the stream.

I do want to know if there is an existing solution for this problem.

Thanking you in advance,

Clément

Open h264 RTSP Camera OpenCV 3.1.0

Hello ,

i wrote a little programme to open a camera with openCV and it always fails.

The error message is :

[rtsp @ 00000000003f7fc0] method SETUP failed: 461 Unsuported transport warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:578)

I have already been looking for solutions on furoms like : http://code.opencv.org/issues/2235 the modifications into the "cap_ffmpeg_impl.hpp" are already included in 3.1.0 and it's still fail openning the stream.

I do want to know if there is an existing solution for this problem.

Thanking you in advance,

Clément

[Solved] Open h264 RTSP Camera OpenCV 3.1.0

Hello ,

i wrote a little programme to open a camera with openCV and it always fails.

The error message is :

[rtsp @ 00000000003f7fc0] method SETUP failed: 461 Unsuported transport warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:578)

I have already been looking for solutions on furoms like : http://code.opencv.org/issues/2235 the modifications into the "cap_ffmpeg_impl.hpp" are already included in 3.1.0 and it's still fail openning the stream.

I do want to know if there is an existing solution for this problem.

Thanking you in advance,

Clément

Solution :

I finally solved the probleme using this example The solution uses libVlc to decode Frames and, by changing callbacks, creating cv::Mat.

I can give you my code if someone doesn't understand the example.