0

I want to write an application which takes a video stream and in the cycle do processing frames and fragments of audio.

I saw such loop here:

I saw on the forums some solution with pipes here

Is it any library wrapper on ffmpeg/avlib which I could just write my callback without tones of spaghetti around like here

Farhana Naaz Ansari
  • 7,524
  • 26
  • 65
  • 105
  • Possible duplicate of [C++ : What's the easiest library to open video file](https://stackoverflow.com/questions/37956/c-whats-the-easiest-library-to-open-video-file) – Croolman Mar 14 '18 at 06:48

2 Answers2

0

I would look into using Opencv for this. It takes care of a lot of the problems with video streams for you and allows processing on the individual frames.

nikosm
  • 106
  • 1
0

Here simple and easy to follow examples:

https://github.com/FFmpeg/FFmpeg/tree/master/doc/examples

I'm assuming you have experienced C++ programmer so these examples will give you a good start (btw, examples in C).

the kamilz
  • 1,860
  • 1
  • 15
  • 19