mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
'buffer_hwupload': Invalid argument #116
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#116
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 @tickmoo on GitHub (Nov 18, 2024).
下面是我初始化filter的部分代码,看起来是没问题的,device_ref 也有设置,为什么最终跑起来时候,会爆这个错误?


以下是错误代码:

@nyanmisaka commented on GitHub (Nov 18, 2024):
It should be the lack of setting the hardware context for the filter.
Search
hworfilter_hw_deviceorhw_device_for_filterin these codes:https://github.com/FFmpeg/FFmpeg/blob/master/fftools/ffmpeg_hw.c
https://github.com/FFmpeg/FFmpeg/blob/master/fftools/ffmpeg_filter.c
@tickmoo commented on GitHub (Nov 18, 2024):
不使用hwupload 过滤器,仅仅使用vpp_rkrga过滤器可以实现crop和yuv->rgb24的格式转换吗?
@nyanmisaka commented on GitHub (Nov 18, 2024):
Nope.
hwuploadis a must have filter for memory input.memory ->(hwupload)-> hardware DMA-BUF -> RGA -> ...
@JianJingGao commented on GitHub (Dec 3, 2024):
我跟你一样的情况,你后来怎么弄的?