Skip to content

torresjeff/videoplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Decoding

This is just a personal repo to play around with video related stuff.

Dependencies

FFmpeg 7

brew install ffmpeg@7

SDL2

brew install sdl2

Building

From the root of the CMake project:

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
cmake --build . --target all
  • Note: Switch the DCMAKE_BUILD_TYPE to Release for optimized builds.

Running

Binaries will be placed in build/bin once they're built.

A path can technically be any URI (e.g. a URL to an online video file also works).

Play a video file

./VideoPlayer path/to/video/file

Print information of every frame in a video

./framedata path/to/video/file

Transmux (only copies video, strips out audio)

./transmux path/to/input/video path/to/output/video

About

C++ video player made with FFmpeg and SDL2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published