#7534 closed defect (invalid)
I used ffmpeg 4.02 + rockchip_mpp +libdrm to decodec H264 and get a AVFrame ,this format is DRM_PRIME,how do i convert to a cv::mat or bgr or yuv420p?
Reported by: | gtom | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I used ffmpeg 4.02 + rockchip_mpp +libdrm to decodec H264 and get a AVFrame ,this format is DRM_PRIME,how do i convert to a cv::mat or bgr or yuv420p?
I used swscontext to convert, but it not support DRM_PRIME format.
how should i do??
Change History (3)
follow-up: 3 comment:1 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 5 years ago
Component: | avcodec → undetermined |
---|---|
Keywords: | decodec with rkmpp removed |
Priority: | important → normal |
comment:3 by , 5 years ago
Thanks for you.but ,when i used this function,my cpu form 20% increase to 50%.Is this a high occupancy operation?
Replying to heleppkes:
Use av_hwframe_transfer_data.
Do note that this is an issue tracker, not a support forum.
Note:
See TracTickets
for help on using tickets.
Use av_hwframe_transfer_data.
Do note that this is an issue tracker, not a support forum.