techsharad / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

FFMpegFrameRecorder is sending an unusually high keyframe rate #325

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Normal use of RecordActivity
2.
3.

What is the expected output? What do you see instead?
I would expect a keyframe interval of ~12 (which is the ffmpeg default). 
Instead every frame published is a keyframe. 

What version of the product are you using? On what operating system?
0.5 / android

Please provide any additional information below.

I have tried these two lines:
   recorder.setVideoOption("g", "30");
   recorder.setVideoOption("keyint_min", "30");

but it doesn't seem to affect the output

Original issue reported on code.google.com by klomm...@gmail.com on 13 Jun 2013 at 5:54

GoogleCodeExporter commented 9 years ago
Clearly, I'm an idiot. I forgot to filter the audio frames. And that's after 
doing the same test for 15 times, just to be sure before publishing.

Sorry guys

Original comment by klomm...@gmail.com on 13 Jun 2013 at 6:08

GoogleCodeExporter commented 9 years ago
So, is it working correctly?

Original comment by samuel.a...@gmail.com on 16 Jun 2013 at 2:07

GoogleCodeExporter commented 9 years ago
Yes. I think it works correctly. Sorry about that.

K

Original comment by klomm...@gmail.com on 19 Jun 2013 at 7:19

GoogleCodeExporter commented 9 years ago

Original comment by samuel.a...@gmail.com on 21 Jun 2013 at 2:47