Skip to content

chinue/single_file_encode_decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

single c/c++ header file for video encode/decode using FFmpeg

First make sure FFmpeg command could work in your command line. If you don't set up a FFmpeg yet, you could down load an executable file from here, and set the path of ffmpeg to you environment variable PATH. After that, open the command line and input ffmpeg to ensure that the system can recognize the command correctly.

compile

gcc main.c -fPIC -O3 -lm -DNDEBUG -o test

test

./test cactus.mp4 out.mp4 -crf 29

Releases

No releases published

Packages

No packages published

Languages