[FFmpeg-trac] #7534(undetermined:closed): 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?
FFmpeg
trac at avcodec.org
Wed Nov 7 03:11:58 EET 2018
#7534: 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?
-------------------------------------+-------------------------------------
Reporter: gtom | Owner:
Type: defect | Status: closed
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution: invalid
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by gtom):
Thanks for you.but ,when i used this function,my cpu form 20% increase to
50%.Is this a high occupancy operation?
Replying to [comment:1 heleppkes]:
> Use av_hwframe_transfer_data.
>
> Do note that this is an issue tracker, not a support forum.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7534#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list