简体   繁体   中英

C++: FFMPEG and SDL resources

I'm looking for resources (preferably books, but websites are fine too) for using FFmpeg and/or SDL with C++.

Stuff I'd like to be able to do (eventually):

  • Decode and play videos in realtime to a QT widget (the QT part isn't a problem)
  • Overlay text and images on the video (in realtime)
  • Loop video
  • Cross-fade from one video to another (in realtime)
  • Some kind of DVD functionality
  • LIVE sources? (ie webcam, stream, etc.)

So far I've looked at (and consider helpful) the following resources:

Thanks for any help...

Also: Operating System is Windows (but maybe one day cross-platform)
Also 2: Resources using alternatives are welcome too... ie DirectShow, VFW, etc.

If all you need is to decode and play videos and require overlays I would consider using the Phonon framework, and use QT Graphics View by using a Phonon::VideoWidget inside a QGraphicsProxyWidget. That way you can easily get overlays, cross-fading, animations etc. Phonon in Windows uses DirectShow as a back-end. You can install FFDShow and get the same codecs ffmpeg has to play videos.

There is an FFMPEG C++ wrapper library : FOBS . It is quite simple to use, but what you gain in simplicity you lose in fine grained configuration. It works great but is always a bit outdated.

m2c

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM