Ask Your Question

Capture online video streams for image processing

asked 2012-12-29 00:12:21 -0500

Ajay Nair gravatar image


I am trying to capture online streamed content process them image by image. I have the API's written for images in openCV in python 2.7 I am just trying to extend this and see explore different possibilities (and ofcourse choose the best method) for capturing and processing these online video streams. Can this be done in openCV? If not(or simpler) any other alternative (python alternative highly preferred)?



edit retag flag offensive close merge delete


What kind of streaming do you use? As I know ffmpeg supports some of the streaming protocols, so, probably, you can use OpenCV VideoCapture class.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2012-12-29 01:54:28 -0500 )edit

I refer to any online streaming portal .. say Youtube for example

Ajay Nair gravatar imageAjay Nair ( 2012-12-29 03:21:09 -0500 )edit

@Alexander Smorkalov: Can you please elaborate a little ? ffmpeg is a different library altogether isnt it?

Ajay Nair gravatar imageAjay Nair ( 2012-12-29 15:03:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-12-30 06:04:47 -0500

OpenCV VideoCapture class uses FFMPEG library as video decoding back-end. As I know FFMPEG supports some of streaming protocols. So, probably, you can use FFMPEG streaming facilities via VideoCapture class.

edit flag offensive delete link more


Thanks I will try and get back to the forum !!

Ajay Nair gravatar imageAjay Nair ( 2012-12-30 22:09:37 -0500 )edit

@Alexander Smorkalov: I am struggling to start here. Will just passing the link in the videocapture class work ?

Ajay Nair gravatar imageAjay Nair ( 2013-01-03 02:27:09 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2012-12-29 00:12:21 -0500

Seen: 951 times

Last updated: Dec 30 '12