C ++: FFMPEG and SDL resources

I am looking for resources (preferably books, but websites are also great) for using FFmpeg and / or SDL with C ++.

Material I would like to do (with time):

  • Decode and play live video in a QT widget (part of QT is not a problem)
  • Overlay text and images on video (in real time)
  • Loop video
  • Cross switching from one video to another (in real time)
  • Some DVD features
  • Sources of LIVE? (i.e. webcam, stream, etc.).

So far I have looked (and found useful) the following resources:

Thanks for any help ...

Also: The operating system is Windows (but perhaps a one-day cross platform)
Also 2: Resources using alternatives are also welcome ... i.e. DirectShow, VFW, etc.

+4
source share
2 answers

If you only need to decode and play the video and require overlays, I would think about using the Phonon infrastructure and use QT Graphics View using Phonon :: VideoWidget inside QGraphicsProxyWidget. This way you can easily get overlays, cross fading, animations, etc. Phonon on Windows uses DirectShow as its source. You can install FFDShow and get the same codecs that ffmpeg should play video.

+1
source

There is a FFMPEG C ++ wrapper library: FOBS . It is quite easy to use, but what you get in simplicity is lost in a fine-grained configuration. It works great, but always a little outdated.

M2c

+1
source

Source: https://habr.com/ru/post/1310189/


All Articles