mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
lost the last frame in complex filter #23
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#23
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 @mcerveny on GitHub (Mar 8, 2024).
Hello.
I found that complex filter (double RGA filter) lost the last frame.
in.tshas 100 frames../ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -i in.ts -i ovr.png -filter_complex '[0:v]hwupload[main];[1:v]hwupload[overlay];[main][overlay]overlay_rkrga=eof_action=repeat:repeatlast=true:format=nv12' -c:v h264_rkmpp out.ts -y--> 100 frames./ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -i in.ts -filter_complex 'hwupload,scale_rkrga=w=1280:h=720' -c:v h264_rkmpp out.ts -y--> 100 frames./ffmpeg -hwaccel rkmpp -hwaccel_output_format drm_prime -i in.ts -i ovr.png -filter_complex '[0:v]hwupload[main];[1:v]hwupload[overlay];[main][overlay]overlay_rkrga=eof_action=repeat:repeatlast=true:format=nv12,scale_rkrga=w=1280:h=720' -c:v h264_rkmpp out.ts -y--> 99 frames@nyanmisaka commented on GitHub (Mar 9, 2024):
Good catch. In my use case
overlay_rkrgais always the last filter so I didn't notice this.@nyanmisaka commented on GitHub (Mar 9, 2024):
@mcerveny
27136b05e0should fix this issue.@mcerveny commented on GitHub (Mar 9, 2024):
Yes ! resolved problem. Thank you.