javacv icon indicating copy to clipboard operation
javacv copied to clipboard

Does ffmpegframerecorder support '-force_key_frames- option?

Open tomerhatav opened this issue 8 years ago • 5 comments

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.

tomerhatav avatar Nov 29 '15 21:11 tomerhatav

Please ask the FFmpeg team about that. Then we will be able to integrate the support to FFmpegFrameRecorder. Thanks

saudet avatar Nov 30 '15 00:11 saudet

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.

tomerhatav avatar Nov 30 '15 00:11 tomerhatav

I see, so, sure. We'll have to look inside ffmpeg.c to figure out what API they use to achieve that...

saudet avatar Nov 30 '15 00:11 saudet

@saudet is the force_key_frames option supported yet

ashraf-revo avatar Dec 18 '23 11:12 ashraf-revo

No, but as usual contributions are welcome!

saudet avatar Dec 18 '23 12:12 saudet