mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
[PR #4] [CLOSED] rkmppdec: Allow to change AFBC mode from env #232
Labels
No labels
bug
enhancement
help wanted
invalid
pull-request
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/ffmpeg-rockchip#232
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/nyanmisaka/ffmpeg-rockchip/pull/4
Author: @hbiyik
Created: 1/4/2024
Status: ❌ Closed
Base:
master← Head:ffmpeg-rockchip-decoder-afbc📝 Commits (1)
b987b0crkmppdec: Parse decoder options via FFMPEG_RKMPP_DEC_OPT📊 Changes
1 file changed (+14 additions, -3 deletions)
View changed files
📝
libavcodec/rkmppdec.c(+14 -3)📄 Description
This helps video players which do not support AVOptions (ie:Kodi) to use AFBC mode.
With this change and this PR in Kodi, i initially got AFBC output. However i think there are some problems:
Output of AV1:

Output of H264 & Hevc

Output of VP9:

With VP9 you can see it is almost correct except some stride issue, i think it should be divided by 4.
However with H264, HEVC and AV1 it seems that there are some other issues, i suspect some of those modifiers might differ from decoder to decoder.
As always please do not merge yet :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.