I've got an image generator written in C. Now I want to pass those images to x264 to encode them and write it to a file.
- Every 100th image should be a key frame in order to save the video to disk every 100th frame.
- The image generator calls onImageGenerated() after each image.
I'd appreciate any pointers on how to set up x264 in this way.