• Stars
    star
    605
  • Rank 74,072 (Top 2 %)
  • Language
    C
  • License
    GNU Lesser Genera...
  • Created over 6 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A portable video player based on ffmpeg for windows and android platform.

fanplayer

fanplayer

A portable video player based on ffmpeg for windows and android platform.

It is a simple and light weight player implemention without SDL or other third party library. player core codes are written in C language, KISS and easy to read.

It directly access to video and audio rendering device on specific platforms. on win32 playform, using gdi & direct3d api implements video rendering, using waveout api implements audio rendering. on android platform, using AudioTrack and ANativeWindow api for audio and video rendering.

Currently, this player can smoothly playback many video files, with low cpu and memory usage (compared with ffplay of offical ffmpeg), high performance, compatibility and stability, and the audio/video also synchronized very well.

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/backward operation
  13. mediacodec hardware decoding on android
  14. dxva2 hardware acceleration on windows
  15. rotation for direct3d video rendering
  16. support auto-reconnect for live stream playing
  17. support avkcp and ffrdp protocol
  18. support overlay for win32 platform
  19. support drag mouse right button to select area zoom
  20. support livedesk ffrdp remote control
  21. support yolo-fastest detection

testplayer

testplayer is a simple test player for fanplayer
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
ctrl+B - step seek backward
ctrl+up - play speed up
ctrl+down - play speed down
ctrl+T - switch speed type
ctrl+X - rotate video (only for d3d rendering mode)
ctrl+C - record current playing media to record.mp4 file
ctrl+W - set window size to video size
ctrl+D - display video definition
ctrl+0 - restore zoom
ctrl+L - enter livedesk ffrdp remote control mode
ctrl+Y - enable/disable yolo-fastest detection

want to learn more?

want to learn more about fanplayer, please visit our wiki.

https://github.com/rockcarry/fanplayer/wiki

contact and discuss

email : [email protected]
qq group: 383930765

rockcarry 2016.1.7

More Repositories

1

ffplayer

a video player based on ffmpeg for win32 and android platform.
C
274
star
2

ffrdp

ffrdp is a fast reliable protocol base on udp + arq + fec.
C
121
star
3

ffjpeg

a simple jpeg codec.
C
106
star
4

ffcnn

ffcnn is a cnn neural network inference framework, written in 600 lines C language.
C
75
star
5

v4l2test

v4l2 camera test for android platform.
C
66
star
6

ffnes

this is a nes emulator
C
51
star
7

cube

implement a simple algorithm to solve Rubik's Cube.
C
46
star
8

ffmp4muxer

C
44
star
9

LiveDesk

win32 livedesk rtsp server, rtmp pusher, screen recorder, avkcp server, ffrdp server.
C
34
star
10

ffvm

a riscv32 rv32imc emulator written in c.
C
31
star
11

ffhttpd

a simple http server
HTML
31
star
12

tinygl

C
28
star
13

games

C
25
star
14

ping

C
25
star
15

ffavimuxer

C
20
star
16

CameraDVR

DVR app for android.
Java
18
star
17

xiangqi

Chinese chess implemention
C
15
star
18

fftask

a simple rtos.
C
12
star
19

soundlink

C
12
star
20

ffeq

C
11
star
21

lxqchip8

chip8 & schip8 emulator
C++
8
star
22

dither

halftone image dither tool.
C
8
star
23

sngen

a des sn & key gen program
C
8
star
24

tpms

codes for TPMS (Tire Pressure Monitoring System)
Java
8
star
25

mp4muxer

C
8
star
26

fanplayer-binary

fanplayer binary release
C
7
star
27

ffpl0

Yacc
7
star
28

motiondet

a simple motion detection c language library.
C
7
star
29

ffencoder

a video recorder based on ffmpeg.
C
7
star
30

edog

C
5
star
31

mini2440-bsp

mini2440 android bsp
C
5
star
32

smartlink

C
5
star
33

swfloat

a software float point library
C
5
star
34

onvif-server

C
4
star
35

Isdbt

Isdbt TV player for android.
Java
4
star
36

mt7628_eeprom_tool

C
4
star
37

ffann

C
4
star
38

riscv32-test

C
3
star
39

mstar_model_convert

Python
3
star
40

ffyolodet

C++
3
star
41

FactoryTestNew

new factory test app for android device.
Java
3
star
42

barcode

C
3
star
43

ffrecorder

C
2
star
44

ffota

Java
2
star
45

sounddet

C
2
star
46

fighter

a windows console fighter game.
C
2
star
47

riscv32-toolchain

C
2
star
48

dossharelib

share lib for dos.
C
2
star
49

speextest

C
1
star
50

librtmp

C
1
star
51

android-avdev-test

android platform capture mic audio and capture screen.
C++
1
star
52

WiFiTest

an android wifitest app.
Java
1
star
53

DiskScanner

an example code for scaning disk file and displaying on activity.
Java
1
star
54

FactoryTest

android device fatory test tool.
Java
1
star
55

ffrge

C
1
star
56

ffrpg2

C
1
star
57

bmp24to32

C
1
star
58

ffmtcnn

C++
1
star
59

ultrafacedet

C++
1
star
60

SoundRecorder

wince sound recorder
C++
1
star
61

BatteryTest

a battery test tool for android
C
1
star
62

soundtouch

this project is fork of soundtouch for android platform.
C++
1
star
63

MediaCodecTest

android mediacodec test app.
Java
1
star
64

ffsnserver

C
1
star
65

ffhal

an android hal implemention.
C
1
star
66

libuvc

usb uvc camera
C
1
star
67

fanplayer-wince

port fanplayer to wince platform.
C
1
star