Which video library is OpenCV using under the hood on linux?

asked 2016-03-18 09:57:54 -0500

ssinfod gravatar image

updated 2016-03-18 11:33:30 -0500

Hello, I'm writing a simple software to record (capture) a webcam image to a compressed video file. I'm mainly using "VideoCapture read(frame)" and "VideoWriter write(frame)" in my C++ software.

I'm on the Ubuntu 14.04 LTS operating system.

I would to know which library or API is OpenCV using under the hood. Is it ffmpeg or avconv or gstreamer or V4L2 or its own low level source code ? It seems to be changing depending of the OpenCV version I am using.

Can somebody give me a overview of the library used to decode and encode video device on linux ? What is the typical path of the video data coming from the webcam up to my program in user space ? What is the typical path of the video data coming from program up to the file system ?

Do you know any website or book which explains this video data flow ?

Right now, this is a bit confusing for me.

Thanks in advance for your input. ssinfod

edit retag flag offensive close merge delete