Skip to content

snehasadap/x264-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published