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

Mironov, Mikhail Mikhail.Mironov at amd.com
Wed Nov 29 17:13:01 EET 2017


> 
> > +    { 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


More information about the ffmpeg-devel mailing list