A lightweight, cross-platform video player built from scratch in C++ with FFmpeg for decoding and custom rendering pipeline.
- π₯ Custom video decoding with FFmpeg backend
- π Dedicated audio engine with sync
- β±οΈ Precise clock management for A/V sync
- π₯οΈ Cross-platform rendering
- π Modular architecture (decoder, renderer, audio engine)
src/
βββ audio/ # Audio engine & playback
β βββ AudioEngine.cpp
β βββ AudioEngine.hpp
βββ core/
β βββ decoder/ # FFmpeg decoder backend
β β βββ FFmpegDecoder.cpp
β β βββ IDecoderBackend.hpp
β β βββ IInputStream.hpp
β βββ player/ # Main player controller
β β βββ VideoPlayerController.cpp
β β βββ Clock.cpp
β βββ renderer/ # Video rendering pipeline
β βββ VideoRenderer.cpp
mkdir build && cd build
cmake ..
make- CMake 3.16+
- FFmpeg (libavformat, libavcodec, libavutil, libswscale, libswresample)
- C++17 compatible compiler
See docs/DEPENDENCIES.md for full dependency list.
- Phase 1: Core playback engine
- Phase 2: GUI interface
- Phase 3: Playlist & subtitle support
- Phase 4: Streaming support
MIT