OBS Keyframe Interval
The keyframe interval is crucial. In a video, keyframes refer to the points where the full-frame is conveyed rather than simply the differences from the previous frame. As a result, a higher keyframe interval setting will make the video steady and reduce artifacts. The OBS keyframe interval determines the balance between picture quality and the smoothness of a stream.
A higher keyframe value will require more processing power but in return, it provides higher quality.
What does OBS keyframe interval mean?
Keyframes are points in a video where the entire frame is sent instead of just the differences from the previous frame. For example, a keyframe interval value of 2 means that a full video frame will be rendered every 2 seconds.
If a 30-frame-per-second video file is given, 30 frames are being shown in a second. For a 30-frame-per-second video with the keyframe interval set to 2 seconds, every 60 frames a frame or an image will be rendered.
It saves a lot of time and puts less pressure on the computer to decode a video. While streaming, a lower keyframe interval is usually recommended.
How does keyframe interval affect video quality?
Setting the right keyframe interval is very important. A higher keyframe interval value will make the video more stable and essen the artifacts.
But a higher keyframe interval will need more bandwidth and more GPU power as it needs to compress more bits per second. On the other hand, a lower keyframe interval value will cause more artifacts. However, in return, it will take less processing power to finish the job.
So, in the short term, a lower keyframe interval value will affect the video quality negatively and a higher keyframe value should affect the video quality positively. But the optimal keyframe interval value can vary in different scenarios.
For streaming, a higher keyframe interval is not needed but while recording a higher keyframe interval should be selected.
How to set the correct keyframe interval?
The correct keyframe interval is set based on the streamer and their requirements from a stream. The keyframe interval value of 0 means that the stream is set to automatic instead of 0 seconds. The value of 0 or automatic is usually around 8 seconds.
This value is not good for streaming, for streaming a keyframe interval value should be set according to the frame rate and bitrate of the stream. If a streamer is streaming a 1080p video in 25 or 30 fps then a keyframe interval value of 2 is optimal.
As in this situation, a keyframe interval of 2 means that it takes at most 2 seconds for the viewers to catch up to a point where they can properly display the feed. For a 30-frame-per-second video, the keyframe interval value should not exceed 4. A value above 4 will cause the stream to lag a lot as it will take higher bandwidth.
How does the keyframe interval work?
Keyframes are points in the video where the entire frame is sent instead of just the differences from the previous frame. When a 60-frame-per-second video is recorded with a keyframe interval of 5, every 300 frames a keyframe is made.
On the other hand, there is a delta frame, which is a “difference” frame that provides an incremental change from the previous frame. Keyframe is different from a delta frame. When we set a higher keyframe value, it will make the video clearer and reduce transmission artifacts. On the other hand, a lower keyframe value will result in more artifacts.
Using keyframes does not waste bandwidth but delta frames waste bandwidth as it records all the slight changes in a frame.
What is the importance of keyframe intervals in streaming?
Keyframe interval is important for streaming as it can create lag or it can cause streams to be pixelated. We cannot emphasize enough how important the correct keyframe interval is. Streamers need to make sure their stream is acceptable in quality and not choppy.
For this, a keyframe interval value of “2” in OBS is considered optimal. It provides the best balance between quality and smoothness. However, the value can change depending on the streamer’s internet bandwidth and processing capabilities.
When a streamer sets a higher keyframe value then the streamer will need a lot higher internet bandwidth. On the other hand, if he sets his keyframe interval to a very low value, he will need less bandwidth. However, the stream will look very bad.
It is very important that the keyframe interval is set perfectly according to the video’s bitrate and the frame per second. Consider a 29-frame-per-second video with a good bitrate. When the keyframe is set to a higher value like 10, the stream will start lagging a lot. But if you set a very low value like 1, the stream will be pixelated and with poor quality. Thus, a good keyframe value needs to be set to make the stream look good.
B-Frames OBS
B-frame is short for bi-directional predictive frame, a form of video compression. In the 1800 frames of your one-minute video, you are the only moving object. The wall remains still and unchangeable. To cut down on the file size of your video, it is compressed. That is, only the pixels that change position from frame to frame are retained. B-frames perform compression by consulting the frames that come both before and after a frame. So if you have frames 1, 2, and 3, in order to render frame 2, a B-frame checks the pixel alignment on frames one and three. If the pixel alignment is different, then the changed pixels are the only ones that are stored on frame two and later rendered.
By Kelvin Wamalwa Written by Kelvin Wamalwa
Updated on June 26, 2022
Contents
Let’s say you make a one-minute video dancing in front of a wall. The wall occupies two-thirds of the space and you occupy a third. As you’re dancing, you’re constantly moving but the wall isn’t. If it is a 30 fps video, a one-minute clip will have 1800 frames. The camera just takes 30 photographs per second and plays them at the same rate. These photographs are called frames. Showing these 1800 clips in quick succession with an is what makes them a video rather than a slideshow.
B-frame is short for bi-directional predictive frame, a form of video compression. In the 1800 frames of your one-minute video, you are the only moving object. The wall remains still and unchangeable. To cut down on the file size of your video, it is compressed. That is, only the pixels that change position from frame to frame are retained. B-frames perform compression by consulting the frames that come both before and after a frame. So if you have frames 1, 2, and 3, in order to render frame 2, a B-frame checks the pixel alignment on frames one and three. If the pixel alignment is different, then the changed pixels are the only ones that are stored on frame two and later rendered.
With perfect compression, there would be 1800 frames of you dancing superimposed on only one frame of the wall. The actual process is far more complicated than this but you get the general idea. Only the pixels that change in both frames are stored.
The reason compression is used is because it saves on space as raw video footage has an extremely large file size. This makes transmission and storage difficult. Compression cuts down on size by retaining changeless pixels and only changing the shifting ones.
What are B-frames in OBS?
B-frames are a type of compression algorithm. There are three types of video compression algorithms:
- I-frames (Intra-coded picture) – These are the least compressible as they hold a complete image, a jpeg, or a BMP file.
- P-frames (Predicted picture) – P-frames consult the previous image and only store the changes. So, with our dancing example, if you stand still in frame one and only move your hand in frame two, the hand motion will be the only thing that is stored by a P-frame algorithm.
- B-frames (Bi-directional predicted picture) – B- frames are more advanced than P-frames in that the algorithm consults both the frame that comes before and the frame than comes after the frame in question. The image is only stored if it defers from both. So, if you stand still in frame 1, raise your hand in frame 2, keep it still in frame 3, and return it to its original position in frame 4, no changes are stored for frame 3 as it is identical to frame 2.
Do B-frames increase quality?
No. Video quality is increased by increasing the video’s resolution (say from 1280 x 720p to 1920 by 1080p) and its frame rate (say from 24 fps to 30 fps).
The purpose of B-frames isn’t to increase quality. It’s to reduce the file size of the video output. Smaller videos take up less space on your hard disk and are easier to stream as they take up little bandwidth.
Compression isn’t always guaranteed to be great. It all depends on the moving elements in the video. A one-person dance in front of a wall is bound to be far more compressible than a ten-person dance shot in front of a billowing curtain or a busy street. In the second video, almost every element is moving while in the first one only the dancer is moving while the background is static.
How many B-frames should you use?
Two B-frames per group of pictures is a good rule of thumb. The more B-frames you have per group, the more processing power you will need. So if your machine is very powerful, this can be as high as three or even four.
What should your max B-frames be on OBS?
Max B-frames depend on the computing power you have at your disposal. Two is the recommended number but you can go as high as four if your machine can handle it.
What is the keyframe interval in OBS?
A keyframe interval is the time between different keyframes, say two seconds, four seconds, or even ten seconds. This raises a new question: what even is a keyframe?
Let’s go back to our dance video example. Our one-minute video at 30 fps has 1800 frames. These frames are not compressed all at once. Instead, they’re divided into image groups. If you choose a keyframe interval of two, that means the frames are divided every two seconds. Each group of pictures contains 60 images. If you have a higher frame rate or a larger keyframe interval, you will have more images per image group.
The first image in a group of pictures is the keyframe as it is a full-frame image. Subsequent images are called delta frames. They only contain the data that changes from frame to frame.
The keyframe interval is the time difference between two keyframes. The recommended keyframe interval for OBS is two seconds. The smaller the keyframe interval the smoother the video. This will also require more processing power, however.
Интервал ключевых кадров в OBS: что это, какой показатель выставить?
![]()
Интервал ключевых кадров в OBS: что это за показатель, какие цифры можно выставлять в настройках стримингового ПО?
Описание
Open Broadcast Studio – это бесплатное программное обеспечение, предназначенное для трансляции мультимедиа. Видеофайлы передаются с вашего устройства в сеть интернет, на одну из возможных платформ.
Прежде чем начать стримить пользователь должен выставить определенные параметры. В процессе оптимальной настройки всплывает показатель интервала ключевых кадров ОБС. Что это?
Возможно ли перемотать стрим назад на Твич? Ответ для вас уже здесь
- Число фрагментов, после обработки которых кодек создает ключевой момент для экспорта видео;
- Значение указывает кодировщику частоту проведения повторной оценки видеоизображения и записи данных в файл.
Интервал ключевых кадров OBS можно менять – по умолчанию число определяется автоматически на основе частоты смены данных в текущей трансляции. Вы можете поставить собственное значение!
Регулировка параметра поможет улучшить качество картинки и использовать выбранный битрейт максимально эффективно. Указанный момент кодируется полностью: следующий за ним содержит отличия от него, третий – отличия от второго и далее.
Где искать
- Чтобы изменить параметр перейдите в настройки;

- Затем Кликните на вкладку «Вывод» тут и будет нужный вам раздел

Значение можно изменить:
- Повысить для игр с плавной графикой – где картинка меняется не часто/ не резко;
- Понизить для игр с динамичным движением/ частой сменой кадров/ быстродвижущимися объектами (или видео с частой анимацией). Если переборщить с цифрой, можно получить замыленное изображение.
Какое значение выбрать
Подходим к главному: сколько ставить интервал ключевых кадров в OBS?
Оптимальное число – 2 , идеально соответствует нуждам стриминговых платформ (Ютуб или Твич).
Вы можете варьировать цифры в диапазоне от 0 до 3:
- Ролик плавный, сцены переключаются редко? Ставьте три;
- Ожидается запуск динамичной игры? Остановитесь на единице.
Совет: остановитесь на двойке. Это оптимальное значение, которое позволяет передать картинку в высоком качестве.
Получить значок динозавра сейчас доступно? Узнай по ссылке
Управление битрейтом OBS: что выбрать для наилучшего качества?
![]()
Управление битрейтом OBS: что выбрать, на какие значения стоит ориентироваться, почему важно разбираться в этих цифрах? Очень увлекательная тема, в которой стоит разобраться более детально – постарались простым языком объяснить важность этого параметра!
Что это
Настройка битрейта OBS играет большую роль – этот показатель представляет собой степень сжатия потока, обратно пропорциональную качеству. Чем ниже этот показатель, тем выше уровень сжатия, тем больше потеря качества на выходе.
Почему этот параметр столь важен? Он определяет качество картинки, которая выходит на стрим. Чем больше – тем лучше. Видео битрейт OBS принято использовать при измерении эффективной скорости передачи потока данных по каналу, то есть минимального размера, который может пропускать поток без задержек.
При этом важно помнить: ставить самое максимальное из доступных значений не имеет смысла – если пропускная способность платформы не поддерживает подобные цифры (например, максимум 6000 на Твиче, даже если вы поставите битрейт 20000, больше 6000 на выходе не получите).
При этом можно выбирать очень высокий битрейт для OBS для записи, если ваша единственная цель сделать VoD. Когда вы записываете трансляцию исключительно на своём компьютере, можно ставить цифры побольше. Для стриминга нужно выбирать меньшие значения.
Какой ставить
Сейчас попробуем разобраться, сколько битрейта ставить в OBS и от чего этот показатель зависит.
Нам не обойтись без таблицы битрейта для OBS! Если вы будете опираться на возможный показатель частоты кадров и желаемое качество, сможете с лёгкостью подобрать нужное значение. Вам также может будет полезен материал о том, какой должен быть fps в играх.
| Разрешение/ Частота кадров | Низкое качество | Нормальное качество | Отличное качество |
| 360p/ 25fps | 500 | 800 | 1200 |
| 480p/ 25fps | 750 | 1200 | 1600 |
| 480p/ 30fps | 1000 | 1400 | 1800 |
| 720p/ 30fps | 2000 | 2750 | 3500 |
| 1080p/ 30fps | 3200 | 6000 | 9000 |
| 1080p/ 60fps | 5500 | 8000 | 14000 |
Если вы уже решили, какой битрейт в OBS ставить, делаем следующее:
- Откройте настройки (кнопка снизу справа);
- Перейдите на вкладку «Вывод» ;
- В верхней строке «Режим вывода» выберите значение «Расширенный» ;
- Оставайтесь на вкладке «Потоковое вещание» , найдите строчку «Битрейт» ;
- Поставьте нужную цифру в Kbps.

Немного отойдём от поисков ответа на вопрос, как узнать свой битрейт для OBS – поговорим о других доступных параметрах.
- В разделе «Управление…» лучше ставить значение CBR;
- Сжатие с помощью ABR даёт возможность установить минимум и максимум, за которое приложение не будет выходить;
- Вариант VBR лучше не использовать, с ним картинка начинает периодически «осыпаться».
Почему лучше оставить CBR? При иных значениях возможно урезание качества для сохранения скорости передачи информации! Этого мы стремимся избежать.
Программный кодировщик лучше не менять – по умолчанию будет установлено значение х264. Пока оставим его без изменений.
Хотите разобраться, как узнать, какой битрейт ставить в ОБС? Попробуем подсказать! Ниже небольшая таблица с рекомендованными значениям и для стрима на популярных платформах.
| Разрешение | Битрейт | Комментарий |
| 1080p/ 60fps | 3500 | Высокое качество изображения без лагов и задержек, но повышенная нагрузка на процессор |
| 1080p/ 30fps | 2000 | Хорошее качество с минимумом задержек, но низкой плавностью изображения |
| 720p/ 60fps | 1500 | Картинка может быть слегка замыленной, но эти настройки подходят даже слабым компьютерам |
| 720p/ 30fps | 1500 | Заметная расплывчатость. |
Если приведённых значений недостаточно для понимания того, какой битрейт оставить в OBS, воспользуемся таблицей расширенных настроек. При подборе показателей нужно учитывать скорость интернета (скорость передачи данных от вас на сервер) и общее качество трансляции!
В приведённой ниже таблице вы увидите рекомендованные показатели не только для видео, но и аудио битрейт OBS.
| Качество | Разрешение | Видео Kbps | Аудио Kbps | FPS |
| Низкое | 240р (426х240) | 400 (300-700) | 32 | 15/30 |
| Низкое | 270р (480х270) | 400 (300-700) | 64 | 15/30 |
| Среднее | 360р (640х360) | 750 (400-1000) | 96 | 15/30 |
| Среднее | 480р (854х480) | 1000 (500-2000) | 96 | 15/30 |
| Высокое | 540р (960х540) | 1000 (800-2000) | 96 | 30/60 |
| Высокое | 720р (1280х720) | 2500 (1560-4000) | 128 | 30/60 |
| Высокое | 720р (1280х720) | 3800 (2500-6000) | 128 | 60 |
| Высокое | 1080р (1920х1080) | 4500 (3000-6000) | 128 | 30 |
| Высокое | 1080р (1920х1080) | 6800 (4500-9000) | 128 | 60 |
| Высокое | 1440р (2560х1440) | 9000 (6000-13000) | 128 | 30 |
| Высокое | 1440р (2560х1440) | 13000 (9000-18000) | 128 | 60 |
| Высокое | 4к/2560р (3840х2160) | 23000 (13000-34000) | 128 | 30 |
| Высокое | 4К/2560 (3840х2160) | 35000 (20000-51000) | 128 | 60 |
Вместе постарались определить и поставить оптимальный битрейт для стрима OBS. Надеемся, теперь качество ваших трансляций станет еще лучше! Очень важно разобраться, как на работу приложения влияют те или иные параметры – особенно, если вы хотите стать классным стримером. Читайте нашу статью о том, как повысить фпс в играх. Удачи!