基于 ffmpeg 编写的 ffplayer 播放器
基于 ffmpeg 编写了一个简单的视频播放器,大部分视频都能流畅播放,音视频同步好,内存占用小。我把它放到了 github 上https://
编译好的可执行测试程序下载地址(2016-8-31 更新版本):
链接: http://pan.baidu.com/s/1qYvRCyK 密码: scse
2016-8-17
---------
1. 优化频谱显示效果
2. 增强 seek 操作的稳定性
ffplayer
========
A video player based on ffmpeg for windows and android platform.
ffplayer is not ffplay in offical ffmpeg source code. It is a simple player implemention on windows vs2005 platform. It is a light weight implemention without SDL, with directly access to bitmaps and wavdev in Win32 API.
Currently, this player can smoothly play many video files, with low cpu and memory usage (compared with ffplay of offical ffmpeg), and the audio/video also synchronized very good. More effort must be done to optimize things on synchronization, performance, compatibility and stability.
The ffmpeg share library (dlls, libs & headers) are come from ffmpeg offical web site. I will regularly update these files. Other files are all written by my self. These source codes are licensed under GPL.
The windows version become stable, and the android version is coming. The android verion ffplayer is working now, but lots of work need to be done, to make it better.
features
========
1. low memory and cpu usage
2. audio/video synchronized very will
3. gdi and direct3d rendering on win32 platform
4. support variable speed playback 1% to 100%, 200% ..
5. waveform and spectrum visual effect
rockcarry
2016.8.17
目前 windows 版本已经比较稳定了,android 版本也在开发中,已经有一个可以播放视频的 demo 出来了。
[此贴子已经被作者于2016-8-31 10:14编辑过]