[FFmpeg-devel] [PATCH] Add HW H.264 and HEVC encoding for AMD GPUs based on AMF SDK

Mironov, Mikhail Mikhail.Mironov at amd.com
Mon Jan 29 20:30:15 EET 2018


> -----Original Message-----
> From: James Almer [mailto:jamrial at gmail.com]
> Sent: January 28, 2018 6:32 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Mironov, Mikhail <Mikhail.Mironov at amd.com>
> Subject: Re: [FFmpeg-devel] [PATCH] Add HW H.264 and HEVC encoding for
> AMD GPUs based on AMF SDK
> 
> On 11/29/2017 12:13 PM, Mironov, Mikhail wrote:
> >>
> >>> +    { AV_PIX_FMT_D3D11,      AMF_SURFACE_NV12 },
> >>
> >> Wut, really? It's not a typo? It looks tricky.
> >>
> >> I assume AMF has D3D11 input, but then it'd still need to exclude P010.
> >> I don't think this is ever done, and sending a P010 frame probably
> >> crashes the thing?
> >>
> >>> +};
> >
> > There is a checking at initialization time of sw_format that will fail for P010.
> >
> > Thanks,
> > Mikhail
> 
> Could you take a look at https://trac.ffmpeg.org/ticket/6990? h264_amf has
> issues encoding d3d11 frames.

I reproduced the issue. Looks like a broken sync on texture between encoder and decoder. 
I submitted an internal ticket to the driver team. Will push for ASAP fix.
Thanks, 
Mikhail



More information about the ffmpeg-devel mailing list