mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
rkrga filter seems not working with yuv420p format. #224
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#224
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?
Originally created by @xuc1995 on GitHub (Nov 27, 2025).
Test filter using code below:
sudo ~/ffmpeg-rockchip/ffmpeg -init_hw_device rkmpp=hw -filter_hw_device hw -f lavfi -i testsrc2=s=1920x1080,format=yuv420p
-vf hwupload,scale_rkrga=w=1280:h=720:format=nv12 -c:v h264_rkmpp -b:v 4M -maxrate 4M -vframes 1000 -y ./tmp.mp4
and it pops an error like:
I run this on a rk3588s2 chip: radxa rock 5c, i'm not sure is this propblem comes with chip or ffmpeg-rockchip.
@nyanmisaka commented on GitHub (Nov 27, 2025):
I cannot reproduce this issue. Make sure you have followed the tutorials in the wiki and used the mpp and rga branches I provided.
https://github.com/nyanmisaka/ffmpeg-rockchip/wiki/Compilation
@xuc1995 commented on GitHub (Nov 27, 2025):
Thanks a lot, i currently use code below to compile ffmpeg-rockchip:
I will try to compile mpp and rga my self.