rockcarry / ffplayer

a video player based on ffmpeg for win32 and android platform.
GNU General Public License v3.0
275 stars 135 forks source link
ffmpeg ffmpeg-android player

!!!!!!!!!!!!!!!!!!!! ! important notice ! !!!!!!!!!!!!!!!!!!!!

due to git repo size become big, not convenient to clone. this project stop maintained.

please goto our new project fanplayer:

https://github.com/rockcarry/fanplayer

from now on, all changes will be commit to fanplayer.

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 by 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 well. More effort must be done to optimize things on hwaccel, performance, compatibility and stability.

The ffmpeg share library (dlls, libs & headers) are customized and built by myself, and I will regularly update it if ffmpeg has a major release. I write a simple guide for how to build ffmpeg on mingw64 platform, you can find it on ffplayer's wiki.

The windows version becomes 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 well
  3. gdi and direct3d rendering on win32 platform
  4. support variable speed playback 1% to 100%, 200% ..
  5. waveform and spectrum visual effect
  6. support stream selection
  7. support network media stream playback
  8. support dshow, gdigrab and vfwcap (avdevice of ffmpeg)
  9. take video snapshot, support save into jpeg and png 10.very fast (async) seek operation taking 0ms delay 11.support video rotation by ffmpeg avfilter 12.support step seek forward operation 13.support mediacodec hardware decoding on android 14.support dxva2 hardware acceleration on windows

testplayer

testplayer is a simple test player for ffplayer hot-keys for testplayer: ctrl+O - open file ctrl+E - switch visual effect ctrl+M - switch between letter box and stretch rect ctrl+R - switch between gdi and d3d ctrl+A - switch audio stream ctrl+V - switch video stream ctrl+S - take a snapshot of video ctrl+F - step seek forward

want to learn more?

want to learn more about ffplayer, please visit our wiki. https://github.com/rockcarry/ffplayer/wiki

contact and discuss

email : rockcarry@163.com qq group: 383930765

rockcarry 2016.1.7