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

James Almer jamrial at gmail.com
Mon Jan 29 01:31:33 EET 2018


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.



More information about the ffmpeg-devel mailing list