This project is my attempt at creating a basic (scuffed) video player in order to learn SDL3 and the FFmpeg API, as well as a refresher for myself on programming in C.
The video player has the following functionalities:
- Play videos by dragging a video file to the window
- Pause/Resume with the Space key, or with the play/pause button in the UI
- Seek backward/forward by 10 seconds with the Left/Right arrow keys, or with the -/+ buttons in the UI
- Restart video from the beginning with the R key
- Volume adjustment with the Up/Down arrow keys, or with the volume slider in the UI
- Video scrubbing via the time slider
- Increase responsiveness of video scrubbing
- Ability to open video files via a file dialog
- FFmpeg libav Tutorial
- How to Decode Audio Streams in C/C++ Using libav*
- FFmpeg Documentation
- SDL3 examples
All code in this project is handwritten, given that the main purpose of this project is to learn the basics of the FFmpeg API.
