Skip to content

About

🎬 Lightweight cross-platform video player built with C/C++ and CMake

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 VideoPlayer

A lightweight, cross-platform video player built from scratch in C++ with FFmpeg for decoding and custom rendering pipeline.

✨ Features

  • πŸŽ₯ 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)

πŸ—οΈ Architecture

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

πŸš€ Building

mkdir build && cd build
cmake ..
make

Dependencies

  • CMake 3.16+
  • FFmpeg (libavformat, libavcodec, libavutil, libswscale, libswresample)
  • C++17 compatible compiler

See docs/DEPENDENCIES.md for full dependency list.

πŸ“‹ Roadmap

  • Phase 1: Core playback engine
  • Phase 2: GUI interface
  • Phase 3: Playlist & subtitle support
  • Phase 4: Streaming support

πŸ“„ License

MIT

About

🎬 Lightweight cross-platform video player built with C/C++ and CMake

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages