一、ffmpeg及ffplay
ffmpeg介绍
Fmpeg 是领先的多媒体框架,能够解码、编码、转码、混合、解密、流媒体、过滤和播放人类和机器创造的几乎所有东西。它支持最晦涩的古老格式,直到最尖端的格式。无论它们是由某个标准委员会、社区还是公司设计的。它还具有高度的便携性。
FFmpeg 可以在 Linux、Mac OS X、Microsoft Windows、BSDs、Solaris 等各种构建环境、机器架构和配置下编译、运行,并通过测试基础设施 FATE。
它包含了 libavcodec、libavutil、libavformat、libavfilter、libavdevice、libswscale 和 libswresample,可以被应用程序使用。还有 ffmpeg、ffplay 和 ffprobe,可以被终端用户用于转码和播放。
ffplay介绍
ffplay为ffmpeg中的一部分,官网给的源码编译后默认无此模块,需要提前安装sdl库,安装完成后才可编译出ffplay模块。执行简单命令ffplay alarm.mp3即可播放。
测试结果
Windows:正常播放;
中标 x86:需要源码编译ffmpeg及相关库,且在中标下编译完成后运行失败,未完成验证。
相关链接</