Question / Help keyframe interval and the keyint=X parameter

Status
Not open for further replies.

Boozfob

New Member
I have been sitting here trying to get some setting profiles ready but i would need some help on this.
(All the profiles are for local recording only.)

Basically what i am wondering is how "Keyframe Interval" works

I have been googling alot but it has not really helped me at all, all info i found was for streaming.

So question 1: Is keyframe interval the same as keyint but in seconds?
If i record at 30fps, would a keyframe interval of 2 do the same thing as putting keyint=60 in the encoder settings?

Question 2: What keyframe interval/ keyint should i use for local recording? I will use Sony vegas to cut the recording and then upload it to youtube

Question 3: What exactly is it doing? (Is a higher/lower value better? etc)

I uploaded the profiles incase someone is interested.
https://mega.co.nz/#!YF9lwRhJ!wRALUqEJ1HXdRN5zPVXvOSnPWhZIPwDuANTIZK8MDu8

My specs / info

I play at 1440p@96Hz.
CPU: 2500k @ 4,8GHz
GPU: GTX 690 (+110/+450)

Thanks in advance
 
Last edited:

Hopewithinchaos

Forum Moderator
It's just the gaps in seconds between keyframes in the video stream. Just set it to 2 (Twitch's requirement) And leave it, and you'll be golden. You don't really need to change it. Ever.
 

Jack0r

The Helping Squad
If you want to read a bit more on the background:
1. yes, keyint is the Keyframe Interval: http://mewiki.project357.com/wiki/X264_Settings#keyint
If you enter 2 in the selection in OBS it will set keyint according to your fps for you. So while keyint=60 only works for 30fps, setting obs to keyframe interval of 2 will work for any fps configuration.
2. for recording just leave the default of 0 and the encoder will decide when it needs a keyframe
3. http://en.wikipedia.org/wiki/Key_frame
the question about higher/lower values cannot be answered to my knowledge, the content you encode and other settings affect it too much. Its also just the maximum time it will take between two keyframes, which does not mean it will necessarily do a keyframe every two seconds. twitch.tv just wants the keyframe interval of 2 seconds for their HLS system.
 
Status
Not open for further replies.
Top