[英]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++. 我正在寻找将FFmpeg和/或SDL与C ++结合使用的资源(最好是书籍,但网站也不错)。
Stuff I'd like to be able to do (eventually): 我希望能够 (最终) 做到的事情 :
So far I've looked at (and consider helpful) the following resources: 到目前为止,我已经研究 (并认为有帮助) 以下资源:
Sample code bundled with FFMPEG libraries FFMPEG库附带的示例代码
(I'll try and update this list with anything helpful below) (我将尝试通过以下任何有用的方法更新此列表)
Thanks for any help... 谢谢你的帮助...
Also: Operating System is Windows (but maybe one day cross-platform) 另外:操作系统是Windows(但可能是跨平台的一天)
Also 2: Resources using alternatives are welcome too... ie DirectShow, VFW, etc. 另外2:也欢迎使用替代方法的资源...即DirectShow,VFW等。
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. 如果您需要解码和播放视频并需要覆盖,则可以考虑使用Phonon框架,并通过在QGraphicsProxyWidget中使用Phonon :: VideoWidget使用QT Graphics View。 That way you can easily get overlays, cross-fading, animations etc. Phonon in Windows uses DirectShow as a back-end. 这样,您可以轻松获得覆盖,交叉淡入淡出,动画等。Windows中的声子使用DirectShow作为后端。 You can install FFDShow and get the same codecs ffmpeg has to play videos. 您可以安装FFDShow并获得ffmpeg播放视频所使用的相同编解码器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.