Ask Your Question

HyK's profile - activity

2014-11-23 10:35:00 -0500 received badge  Supporter (source)
2014-11-21 06:54:44 -0500 asked a question VideoCapture a YouTube Video

Hi All,

How do I get the stream url for a youtube video so that it can be captured using VideoCapture in opencv java.

I tried the following way.

VideoCapture vCap = new VideoCapture("rtsp://");

But I get the following error.

[rtsp @ 0x7fe1ea060600] method SETUP failed: 461 Unsupported Transport

[IMGUTILS @ 0x107d665e8] Picture size 0x0 is invalid

[IMGUTILS @ 0x107d66600] Picture size 0x0 is invalid

Is there a way to capture youtube videos ?