Skip to content

Video player implemented as C++14 using FFmpeg and SDL2

Notifications You must be signed in to change notification settings

heesu0/my-little-video-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-little-video-player

my-little-video-player is a video player implemented as C++14 using FFmpeg and SDL2

Demo

demo1

Usage

Linux

$ sudo apt-get install cmake pkg-config libsdl2-dev libavformat-dev libavfilter-dev libavdevice-dev ffmpeg

MacOS

$ brew install cmake pkg-config ffmpeg sdl2

Build & Run

$ ./init.sh
$ ./build/video_player ./sample_video.mp4

Control

  • Space Key : Play / Stop
  • Arrow Key : Forward / Reverse

TODO

  • logging
  • demuxing
  • decoding
  • video converting
  • video rendering
  • audio sampling
  • audio rendering
  • multi threading
  • video synching
  • audio synching
  • seeking, start, stop

About

Video player implemented as C++14 using FFmpeg and SDL2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published