[FFmpeg-trac] #7534(avcodec: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
Tue Nov 6 10:55:18 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:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:  invalid
             Keywords:  decodec      |               Blocked By:
  with rkmpp                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by heleppkes):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 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:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list