How I fixed H.264 macroblocking/pixelation on my RX 9070 xt while streaming Battlefield 6 to Twitch (Single PC)
I use a Dual-Scaling Filter Trick Streaming 936p60 to Twitch while recording 1080p60 gameplay locally. Most guides tell you to scale once. Doing it twice with specific filters creates a controlled detail reduction that tames the H.264 encoder.
In OBS Video Tab: Set Base Canvas to your native res (e.g., 2560x1440). Set Output Resolution to 1920x1080 (1080p) using the Bilinear filter at 60 FPS.
In OBS Output (Streaming) Tab: Check "Rescale Output" and downscale a second time to 1664x936 (936p) using the Lanczos (36 samples) filter.
Stream Settings:
Streaming Tab (Twitch)
Encoder: AMD HW H.264
Rate Control: CBR
Bitrate: 7600 Kbps to 8000 Kbps (+ 160 Kbps for audio).
Keyframe Interval: 2s
Preset: Quality
Profile: High
Max B-Frames: 2
AMF Custom Custom Configuration String (AMF Options): Paste this exact string into your encoder settings to unlock hardware optimizations:
PAPerceptualAQMode=2 PATemporalAQMode=2 PAHighMotionQualityBoostMode=1 EnableVBAQ=true MaxConsecutiveBPictures=2 BReferenceEnable=true
For local Recording I use Encoder: AMD HW H.264, Rate Control: CQP with CQ-Level 16, Preset: Quality, Profile: High
Capture Method: Use Display Capture.
Game Mode: Run your game in Borderless Windowed mode at native resolution (1440p) because Borderless allows the Windows Desktop Window Manager (DWM) to handle frame pacing.
In-Game & Driver Settings I use
AMD Adrenalin Driver: Turn Radeon Image Sharpening to 80%. Turn off the ingame sharpening. Turn Adaptive Sync / FreeSync ON (eye comfort, OBS frame pacing still Looks good).
In-Game (Battlefield): Turn OFF Chromatic Aberration, Motion Blur, and Film Grain. Foliage/grass details to Low.
Try it out! Dual PC Streaming Setup with Software Encoding on the Streaming PC is better, but hey, not bad for a single PC!
Posted Aug 5, 2026, 1:30 PM UTC