javacv
javacv copied to clipboard
Does ffmpegframerecorder support '-force_key_frames- option?
I would like to know if there's a way to make ffmpegframerecorder adjust the keyframes every N seconds and not by GOP.
Thank you.
Please ask the FFmpeg team about that. Then we will be able to integrate the support to FFmpegFrameRecorder. Thanks
Well it's right here at the FFmpeg documents: https://ffmpeg.org/ffmpeg.html#Advanced-Video-options Look for -force_key_frames at the bottom. So it's available using FFmpeg but how can we use it in FFmpegFrameRecorder.
I see, so, sure. We'll have to look inside ffmpeg.c to figure out what API they use to achieve that...
@saudet is the force_key_frames
option supported yet
No, but as usual contributions are welcome!