> -----Original Message----- > From: James Almer [mailto:jamr...@gmail.com] > Sent: January 28, 2018 6:32 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Mironov, Mikhail <mikhail.miro...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel