Replay Buffer: Missing Initial keyframe
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- audio-video-rtc
Research direction
Start by reproducing the replay buffer sequence described in the issue on Windows 10 with the listed NVENC H.264 settings, and review the linked OBS log. Trace how the replay buffer handles its first encoded frame after starting and saving. Done means every saved buffer begins with a complete keyframe and no missing data or smearing.
Written by the indexing model from the issue text.
Description
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
29.0.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
OBS Studio Crash Log URL
No response
Expected Behavior
When the replay buffer starts with a format that uses inter-frame compression, the first frame of the replay buffer should always be a keyframe / whole frame, not an interpolated frame.
Current Behavior
Replay buffer occasionally uses a non-key frame on the first frame of a saved buffer, resulting in missing data and video smearing.
Steps to Reproduce
- Start replay buffer
- Save replay buffer
- Stop replay buffer
- Start replay buffer
- Save replay buffer
etc
Anything else we should know?
The issue may become more common when using the "Advanced Scene Switcher" plugin's macros to quickly start and stop the buffers. (Example: macro that saves, then stops, then starts the replay buffer in quick succession)
Encoding settings:
MKV container
HNIDIA NVEC H.264
VBR
Keyframe Interval: Auto (0)
Preset: P4: Medium
Tuning: High Quality
Multipass mode: Single pass
Profile: High
Psycho Visual tuning: True
Max B-Frames: 2
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from obsproject/obs-studio
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
obsproject/obs-studio#13918 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
obsproject/obs-studio#13905 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
obsproject/obs-studio#13896 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
obsproject/obs-studio#13823 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
obsproject/obs-studio#13809 · 1 comment ·
All issues in obsproject/obs-studio
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100