obsproject / obsproject/obs-studio

Incorrect frame order along with b-frames in h264

Open
#11,252 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Other

Other OS

Arch Linux

OBS Studio Version

Other

OBS Studio Version (Other)

30.2.1

OBS Studio Log URL

https://obsproject.com/logs/AEcFSzMB7BQZMb2f

OBS Studio Crash Log URL

No response

Expected Behavior

I expect to see non-intermittent video sequence

Current Behavior

https://youtu.be/65wL9Wmu7Rg

By setting b-frames in the encoder settings, I get a video similar to the one in the link above.

Steps to Reproduce
  1. Select VAAPI H.264
  2. Set b-frames
  3. Start recording
Anything else we should know?

The flathub version does not have such problems. I also tried obs-studio-tytan652 30.2.3 the problem is present in it too.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked OBS log and reproduce the issue using the VAAPI H.264 encoder with B-frames enabled, following the listed steps. Compare the resulting frame sequence with the Flathub version, and consider the issue done when recordings no longer show incorrect or intermittent frame order.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.