Skip to content
Encode .NET bitmaps to h264 in mp4 container using ffmpeg.
HTML C C++ C# Makefile Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
H264Encoder Change arg name. Dec 8, 2016
H264MP4Encode Add appveyor for ci. Jan 14, 2017
ffmpeg-latest-win64-dev Initial files. Nov 28, 2016
.gitignore Updates to param, safer functions. Nov 28, 2016
H264MP4Encode.sln Initial files. Nov 28, 2016 Update Jan 18, 2019

Build status


A sample x64 application written in C/C++/C# that generates bitmaps for h264 encoding (using mp4 as container) using ffmpeg. ffmpeg's dev and shared packages are included. These packages were downloaded from this location.

You need to copy ffmpeg's bin files (*.dll) to the output directory of the C# project. This project is tested in Debug|x64 configuration so the bin files are already included there.

Note that the output path of the .mp4 file is hardcoded to c:\users\idril\downloads\encoded.mp4 so you might want to change it as well.

You can’t perform that action at this time.