https://github.com/merofuruya/cpp_video_gen
https://github.com/merofuruya/cpp_video_gen
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/merofuruya/cpp_video_gen
- Owner: MeroFuruya
- License: apache-2.0
- Created: 2023-08-24T19:48:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-25T18:16:08.000Z (almost 2 years ago)
- Last Synced: 2024-12-29T05:08:01.012Z (5 months ago)
- Language: C++
- Size: 263 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cpp_video_gen
## Requirements
- [CImg](http://cimg.eu/) (C++ library for image processing)
- ffmpeg (for video encoding) - no headers, only the binary is needed and the app output must be piped to it
- g++ (or any other C++ compiler)## Usage
```
./bin/main | ffmpeg -y -f rawvideo -pixel_format gbrp -video_size 1024x768 -i - -c:v h264 -pix_fmt yuv420p out/video.mov
```## build
```
make
```