jackun / openencodevfw

No longer a VFW (video for windows) frontend for AMD VCE H264 encoder
58 stars 12 forks source link

Keyframes #10

Closed Verifiable closed 10 years ago

Verifiable commented 10 years ago

Is it possible to have the encoder create a keyframe every second, as opposed to every 5? I think it may be possible through the Force Keyframes option, but I haven't found any documentation on how to use it, and Afterburner doesn't want to show a tooltip explaining what it does. Right now, it's set to 250, but 250 of what, exactly? Frames? Seconds? Who knows. Allowing the end user to create keyframes every second would allow for easier editing in the future (speaking of the ability to quick-seek to a second-specific timestamp in FFMpeg without having to go full on frame-accurate.)

If there's something obvious I'm missing, I apologize.

Edit: Oh god I'm retarded. Sorry, I was acting under the assumption that MPC-HC seeked by keyframe, but it appears it goes by seconds. For those wondering, Force Keyframes does indeed go by frames, so setting it to 60 if you record at a stable 60fps will place a keyframe approximately every second, for reasonably accurate but still fast seeking in FFMpeg.