https://github.com/flowerinthenight/ffmpeg-encode-h264mp4
Encode .NET bitmaps to h264 in mp4 container using ffmpeg.
https://github.com/flowerinthenight/ffmpeg-encode-h264mp4
bitmap c cpp csharp dotnet ffmpeg h264 windows
Last synced: 6 months ago
JSON representation
Encode .NET bitmaps to h264 in mp4 container using ffmpeg.
- Host: GitHub
- URL: https://github.com/flowerinthenight/ffmpeg-encode-h264mp4
- Owner: flowerinthenight
- License: mit
- Created: 2016-11-28T04:11:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-18T01:45:05.000Z (about 7 years ago)
- Last Synced: 2025-10-08T12:02:40.447Z (6 months ago)
- Topics: bitmap, c, cpp, csharp, dotnet, ffmpeg, h264, windows
- Language: HTML
- Homepage:
- Size: 17.4 MB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://ci.appveyor.com/project/flowerinthenight/ffmpeg-encode-h264mp4/branch/master)
# Overview
A sample x64 application written in C/C++/C# that generates bitmaps for h264 encoding (using mp4 as container) using [ffmpeg](https://www.ffmpeg.org/). ffmpeg's [`dev`](./ffmpeg-latest-win64-dev/) and [`shared`](./ffmpeg-latest-win64-shared/) packages are included. These packages were downloaded from [this location](https://ffmpeg.zeranoe.com/builds/win64/).
You need to copy ffmpeg's [bin](./ffmpeg-latest-win64-shared/bin/) files (`*.dll`) to the output directory of the C# project. This project is tested in [Debug|x64](./H264MP4Encode/bin/x64/Debug/) 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.