Skip to content
ffmpeg-tutorial
C++ CMake
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apps
docs
include
libs
src
tests
.gitignore
CMakeLists.txt
README.md

README.md

ffmpeg-tutorial

ffmpeg-tutorial

How to compile

Download vcpkg

install SDL2, FFmpeg and Opencv

please use x64 and dynamic triplets:

for instance on Mac

 cat x64-osx.cmake

 set(VCPKG_TARGET_ARCHITECTURE x64)
 set(VCPKG_CRT_LINKAGE dynamic)
 set(VCPKG_LIBRARY_LINKAGE dynamic)
 
 set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
 vcpkg install SDL2 FFmpeg opencv
 mkdir build
 cd build
 cmake ..
 ninja

tutorials

  • tutorial01 -- basic usage of ffmpeg
  • tutorial02 -- use SDL2 to display video
  • tutorial03 -- use opencv to process video

Video

OpenCv

You can’t perform that action at this time.