Jump to content

Whats keyframe interval?

applesuxD
Go to solution Solved by ALwin,

Theres this constant quality option,i know that vbr is generally better for quality and my pc can handle it but i wanna know if constant quality is better

What exactly is the label of the setting you are curious about?

 

Are you talking about this?

http://slhck.info/articles/crf

 

Here's a guide for OBS settings

https://obsproject.com/forum/threads/technical-explanation-of-obs-settings.642/

Whats keyframe interval and which number is better for quality,more or less

“It would seem that Our Lord finds our desires not too strong, but too weak. We are half-hearted creatures, fooling about with drink and sex and ambition when infinite joy is offered us, like an ignorant child who wants to go on making mud pies in a slum because he cannot imagine what is meant by the offer of a holiday at the sea. We are far too easily pleased.”


 


―  C.S. Lewis  :)

Link to comment
Share on other sites

Link to post
Share on other sites

Whats keyframe interval and which number is better for quality,more or less

 

Keyframe interval, if you're talking about videos, means that a keyframe will be set at every X number of frames.  It helps when videos are encoded into lossy compressed formats, where only incremental changes of data for most frames are saved.

 

As for choosing the right value:

http://www.streaminglearningcenter.com/blogs/whats-the-right-keyframe-interval-.html

http://foscam.us/forum/key-frame-interval-t4416.html

 

You can set every frame to be a keyframe, in which case the video file will be very large, or you can set every 1000 frames or a frame ever 10 minutes to be a keyframe which will make the video file smaller to a certain degree with the risk of losing quality.  You have to base it on how the scenes in the video are changing.  If you are filming a scene with very little change (e.g. a video of pouring water from a bottle into a cup, with a very clean static background) you can set a longer interval, but if you were filming a scene that's very dynamic then a shorter interval is better.

Guide: DSLR or Video camera?, Guide: Film/Photo makers' useful resources, Guide: Lenses, a quick primer

Nikon D4, Nikon D800E, Fuji X-E2, Canon G16, Gopro Hero 3+, iPhone 5s. Hasselblad 500C/M, Sony PXW-FS7

ICT Consultant, Photographer, Video producer, Scuba diver and underwater explorer, Nature & humanitarian documentary producer

Link to comment
Share on other sites

Link to post
Share on other sites

Keyframe interval, if you're talking about videos, means that a keyframe will be set at every X number of frames. It helps when videos are encoded into lossy compressed formats, where only incremental changes of data for most frames are saved.

As for choosing the right value:

http://www.streaminglearningcenter.com/blogs/whats-the-right-keyframe-interval-.html

http://foscam.us/forum/key-frame-interval-t4416.html

You can set every frame to be a keyframe, in which case the video file will be very large, or you can set every 1000 frames or a frame ever 10 minutes to be a keyframe which will make the video file smaller to a certain degree with the risk of losing quality. You have to base it on how the scenes in the video are changing. If you are filming a scene with very little change (e.g. a video of pouring water from a bottle into a cup, with a very clean static background) you can set a longer interval, but if you were filming a scene that's very dynamic then a shorter interval is better.

Mm ok,for 15000 bitrate,should i use constant quality or VBR

“It would seem that Our Lord finds our desires not too strong, but too weak. We are half-hearted creatures, fooling about with drink and sex and ambition when infinite joy is offered us, like an ignorant child who wants to go on making mud pies in a slum because he cannot imagine what is meant by the offer of a holiday at the sea. We are far too easily pleased.”


 


―  C.S. Lewis  :)

Link to comment
Share on other sites

Link to post
Share on other sites

Keyframe interval, if you're talking about videos, means that a keyframe will be set at every X number of frames. It helps when videos are encoded into lossy compressed formats, where only incremental changes of data for most frames are saved.

As for choosing the right value:

http://www.streaminglearningcenter.com/blogs/whats-the-right-keyframe-interval-.html

http://foscam.us/forum/key-frame-interval-t4416.html

You can set every frame to be a keyframe, in which case the video file will be very large, or you can set every 1000 frames or a frame ever 10 minutes to be a keyframe which will make the video file smaller to a certain degree with the risk of losing quality. You have to base it on how the scenes in the video are changing. If you are filming a scene with very little change (e.g. a video of pouring water from a bottle into a cup, with a very clean static background) you can set a longer interval, but if you were filming a scene that's very dynamic then a shorter interval is better.

Looking for 1080p 60fps

“It would seem that Our Lord finds our desires not too strong, but too weak. We are half-hearted creatures, fooling about with drink and sex and ambition when infinite joy is offered us, like an ignorant child who wants to go on making mud pies in a slum because he cannot imagine what is meant by the offer of a holiday at the sea. We are far too easily pleased.”


 


―  C.S. Lewis  :)

Link to comment
Share on other sites

Link to post
Share on other sites

Mm ok,for 15000 bitrate,should i use constant quality or VBR

 

Do you mean CBR (Constant Bit Rate) or VBR (Variable Bit Rate)?

 

Generally I would say VBR is better, however for some cases CBR can provide better quality.  Again I would use my example of a simple video of pouring water into a cup, CBR could be enough.  However with dynamic scenes where there is a lot of changes VBR will be better.

 

Good discussion here.

https://forums.creativecow.net/thread/24/893298

 

Quote:

Variable Bit Rate means that you can vary the amount of bits used to represent a frame so that the overall average amount of bits-per-frame is achieved. It does this by stealing bits from frames with less information to encode (that don't need them) and giving them to frames that have more information to encode (and does need them).

Constant Bit Rate means that each frame uses the same amount of bits regardless of whether it needs them or not.

If you encode a video at 6Mbit CBR and 6Mbit VBR the VBR can have better quality. This is because it will vary the bitrate perhaps giving some frames as much as 8 or 9Mbit while others only 3 or 4Mbit but in the end it will average out to 6Mbit. CBR, on the other hand, will never give any frame more that 6Mbit. If there are frames that need more than 6Mbit to encode, CBR will look worse than VBR.

Guide: DSLR or Video camera?, Guide: Film/Photo makers' useful resources, Guide: Lenses, a quick primer

Nikon D4, Nikon D800E, Fuji X-E2, Canon G16, Gopro Hero 3+, iPhone 5s. Hasselblad 500C/M, Sony PXW-FS7

ICT Consultant, Photographer, Video producer, Scuba diver and underwater explorer, Nature & humanitarian documentary producer

Link to comment
Share on other sites

Link to post
Share on other sites

Looking for 1080p 60fps

 

Can you explain what you mean?  What are you trying to record, what camera or software (e.g. ShadowPlay) are you using, for what purpose?

Guide: DSLR or Video camera?, Guide: Film/Photo makers' useful resources, Guide: Lenses, a quick primer

Nikon D4, Nikon D800E, Fuji X-E2, Canon G16, Gopro Hero 3+, iPhone 5s. Hasselblad 500C/M, Sony PXW-FS7

ICT Consultant, Photographer, Video producer, Scuba diver and underwater explorer, Nature & humanitarian documentary producer

Link to comment
Share on other sites

Link to post
Share on other sites

Can you explain what you mean? What are you trying to record, what camera or software (e.g. ShadowPlay) are you using, for what purpose?

obs

“It would seem that Our Lord finds our desires not too strong, but too weak. We are half-hearted creatures, fooling about with drink and sex and ambition when infinite joy is offered us, like an ignorant child who wants to go on making mud pies in a slum because he cannot imagine what is meant by the offer of a holiday at the sea. We are far too easily pleased.”


 


―  C.S. Lewis  :)

Link to comment
Share on other sites

Link to post
Share on other sites

Do you mean CBR (Constant Bit Rate) or VBR (Variable Bit Rate)?

Generally I would say VBR is better, however for some cases CBR can provide better quality. Again I would use my example of a simple video of pouring water into a cup, CBR could be enough. However with dynamic scenes where there is a lot of changes VBR will be better.

Good discussion here.

https://forums.creativecow.net/thread/24/893298

Quote:

Variable Bit Rate means that you can vary the amount of bits used to represent a frame so that the overall average amount of bits-per-frame is achieved. It does this by stealing bits from frames with less information to encode (that don't need them) and giving them to frames that have more information to encode (and does need them).

Constant Bit Rate means that each frame uses the same amount of bits regardless of whether it needs them or not.

If you encode a video at 6Mbit CBR and 6Mbit VBR the VBR can have better quality. This is because it will vary the bitrate perhaps giving some frames as much as 8 or 9Mbit while others only 3 or 4Mbit but in the end it will average out to 6Mbit. CBR, on the other hand, will never give any frame more that 6Mbit. If there are frames that need more than 6Mbit to encode, CBR will look worse than VBR.

Theres this constant quality option,i know that vbr is generally better for quality and my pc can handle it but i wanna know if constant quality is better

“It would seem that Our Lord finds our desires not too strong, but too weak. We are half-hearted creatures, fooling about with drink and sex and ambition when infinite joy is offered us, like an ignorant child who wants to go on making mud pies in a slum because he cannot imagine what is meant by the offer of a holiday at the sea. We are far too easily pleased.”


 


―  C.S. Lewis  :)

Link to comment
Share on other sites

Link to post
Share on other sites

Theres this constant quality option,i know that vbr is generally better for quality and my pc can handle it but i wanna know if constant quality is better

What exactly is the label of the setting you are curious about?

 

Are you talking about this?

http://slhck.info/articles/crf

 

Here's a guide for OBS settings

https://obsproject.com/forum/threads/technical-explanation-of-obs-settings.642/

Guide: DSLR or Video camera?, Guide: Film/Photo makers' useful resources, Guide: Lenses, a quick primer

Nikon D4, Nikon D800E, Fuji X-E2, Canon G16, Gopro Hero 3+, iPhone 5s. Hasselblad 500C/M, Sony PXW-FS7

ICT Consultant, Photographer, Video producer, Scuba diver and underwater explorer, Nature & humanitarian documentary producer

Link to comment
Share on other sites

Link to post
Share on other sites

What exactly is the label of the setting you are curious about?

Are you talking about this?

http://slhck.info/articles/crf

Here's a guide for OBS settings

https://obsproject.com/forum/threads/technical-explanation-of-obs-settings.642/

Obs multiplatform

Under advanced

Record

Keyframe interval seconds and Rate control

3 options cbr vbr and cqp

“It would seem that Our Lord finds our desires not too strong, but too weak. We are half-hearted creatures, fooling about with drink and sex and ambition when infinite joy is offered us, like an ignorant child who wants to go on making mud pies in a slum because he cannot imagine what is meant by the offer of a holiday at the sea. We are far too easily pleased.”


 


―  C.S. Lewis  :)

Link to comment
Share on other sites

Link to post
Share on other sites

With x264 you can set your Keyframe intervals as long as you want.

Benefit; better quality at lower bitrate

Drawback; slower to edit

But x264 has a scenecut detection which sets Keyframe automatically so it won't produce long GOPs if they aren't necessary

The Keyframe decision is based on this simple formula [1 - (bit size of P-frame) / (bit size of I-frame) ] < [(scenecut / 100) * (distance from previous keyframe) / keyint]

As you can see raising the scenecut value could be a good idea.

If you are recording to file you only want to use rate control.

Link to comment
Share on other sites

Link to post
Share on other sites

With x264 you can set your Keyframe intervals as long as you want.

Benefit; better quality at lower bitrate

Drawback; slower to edit

But x264 has a scenecut detection which sets Keyframe automatically so it won't produce long GOPs if they aren't necessary

The Keyframe decision is based on this simple formula [1 - (bit size of P-frame) / (bit size of I-frame) ] < [(scenecut / 100) * (distance from previous keyframe) / keyint]

As you can see raising the scenecut value could be a good idea.

If you are recording to file you only want to use rate control.

To file

“It would seem that Our Lord finds our desires not too strong, but too weak. We are half-hearted creatures, fooling about with drink and sex and ambition when infinite joy is offered us, like an ignorant child who wants to go on making mud pies in a slum because he cannot imagine what is meant by the offer of a holiday at the sea. We are far too easily pleased.”


 


―  C.S. Lewis  :)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×