[FFmpeg-devel] [PATCH] lavc/qsvenc_h264: don't support P010 format
James Almer
jamrial at gmail.com
Fri Nov 25 21:47:53 EET 2022
On 11/25/2022 3:03 PM, Soft Works wrote:
>
>
>> -----Original Message-----
>> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
>> Anton Khirnov
>> Sent: Friday, November 25, 2022 2:46 PM
>> To: FFmpeg development discussions and patches <ffmpeg-
>> devel at ffmpeg.org>
>> Cc: Haihao Xiang <haihao.xiang at intel.com>
>> Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvenc_h264: don't support
>> P010 format
>>
>> Why?
>
> It's rarely used. There's not even a hwaccel that can decode this.
The dxva2/d3d11 hwaccels seemingly do, as does the qsv decoder. And
being rarely used alone is not a reason to remove something. There needs
to be some benefit to justify it (Simplifying maintenance, removing
legacy code, etc).
Also, p010 can be generated by swscale, and the only other software
pixel format supported in this list is nv12, which is 8bit. If we remove
p010, we would be making 10bit encodings not longer work with the output
of software decoders as input, right?
More information about the ffmpeg-devel
mailing list