mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #3398] [MERGED] Fixed green artifacts in movies/animations (ffmpeg) #3438
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3438
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3398
Author: @marecl
Created: 8/6/2025
Status: ✅ Merged
Merged: 8/6/2025
Merged by: @georgemoralis
Base:
main← Head:mediafix📝 Commits (3)
b0da09eFixed green artifacts in movies/animations (ffmpeg)c5c927acleanup&clange630543Avoid for-loop when source and target widths are equal📊 Changes
1 file changed (+18 additions, -4 deletions)
View changed files
📝
src/core/libraries/videodec/videodec2_impl.cpp(+18 -4)📄 Description
Reason
Green artifacts in some movies/embedded scenes. This bug affects following, but not limited to, games: Catherine Full Body, Burnout Paradise (allegedly).
Fix
FFMPEG dynamically allocates buffer, which may or may not have the same width as target media. Dumping raw frames shows additional padding (green), but Orbis can't handle differing widths resulting in broken images (mismatched chroma layer, green patches, noise).
Copying data as-is caused padding to be included. Now it's not.
Before:


After:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.