obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
60.51k stars 8k forks source link

Incorrect frame order along with b-frames in h264 #11252

Open bnjlkanjlowka opened 2 months ago

bnjlkanjlowka commented 2 months ago

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.

BuyMyMojo commented 1 month ago

What GPU are you using btw?

BuyMyMojo commented 1 month ago

I believe I am experiencing this issue too along with another VAAPI issue that I'll open another issue for after this.

System info:

OS: Nobara Linux 40 (KDE Plasma) x86_64
Host: X570 Phantom Gaming 4
Kernel: Linux 6.11.3-200.fsync.fc40.x86_64
Shell: zsh 5.9
Display (LC27G5xT): 2560x1440 @ 144 Hz in 32" [External]
Display (M27U): 3840x2160 @ 160 Hz in 27" [External] *
DE: KDE Plasma 6.2.0
WM: KWin (Wayland)
WM Theme: Breeze
CPU: AMD Ryzen 9 5900X (24) @ 4.95 GHz
GPU: AMD Radeon RX 7800 XT [Discrete]
Memory: 19.97 GiB / 46.95 GiB (43%)

https://www.youtube.com/watch?v=WK34k64__VA

While writing this a friend running a 7900XTX tested and can confirm this issue:

https://github.com/user-attachments/assets/e5f1f09c-df85-4369-af8f-aca365c842b5