Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x264-encoder

The purpose of this encoder is to acheive a target file size of 10 MB with two-pass encoding. Renders in 60 fps.

Instructions

  1. Install FFmpeg

    brew install ffmpeg

    If you don't have Homebrew installed, view this page for setup instructions.

  2. Create your build directory (assuming your project is named video-encoder)

    mkdir -p video-encoder/build
    cd video-encoder/build
  3. Run CMakeLists.txt

    cmake ..
    make

    From then on, you can just run make to compile the encoder.

  4. Run main.cpp

    ./VideoEncoder your-video-file.mov

    Please specify the directory of your .mov file, it should look something like this: \Users\your-username\directory\your-video-file.mov.

Resources

https://trac.ffmpeg.org/wiki/Encode/H.264

About

Encoder using H.264 codec

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages