Skip to content

Youtube saying "Please use a keyframe frequency of four seconds or less." #5952

Discussion options

You must be logged in to vote

The keyframe frequency and other parameters depend on the VOD file that you are using to create a playlist.

The recommended upload encoding settings for YouTube streaming can be found at this link.

So in this case, you need to reencode your video with the required parameters.

You can use FFMPEG to change the key frame interval. The below command will re-encode the file with a key frame interval of 2.
 
ffmpeg -i input.mp4 -qscale 0 -g 2 outputFile.mp4

You can also use the HANDBRAKE tool to re-encode the video. Please check out this article.

I hope it helps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sampsoe
Comment options

Answer selected by mariia-artamonova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants