On 11/25/2022 8:26 PM, Dong, Ruijing wrote:
[AMD Official Use Only - General]
Will it make sense to accept P010 input, however encode to h264 8bit?
If it works (the encoder accepts the 10 bit input even if it encodes it
as 8bit), then i don't see why not. I assume it would also be faster
than using swscale to convert said 10bit input to nv12 before passing
that to the encoder.
Removing support for a pixel format as input in an encoder needs a
reason other than "It's rarely used", more so when it's a single line.
It either needs to not work, or somehow get in the way of further
improvements.
Thanks,
Ruijing
-----Original Message-----
From: ffmpeg-devel <[email protected]> On Behalf Of James Almer
Sent: Friday, November 25, 2022 6:25 PM
To: [email protected]
Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvenc_h264: don't support P010 format
On 11/25/2022 8:20 PM, Soft Works wrote:
-----Original Message-----
From: ffmpeg-devel <[email protected]> On Behalf Of
James Almer
Sent: Friday, November 25, 2022 8:48 PM
To: [email protected]
Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvenc_h264: don't support
P010 format
On 11/25/2022 3:03 PM, Soft Works wrote:
-----Original Message-----
From: ffmpeg-devel <[email protected]> On Behalf Of
Anton Khirnov
Sent: Friday, November 25, 2022 2:46 PM
To: FFmpeg development discussions and patches <ffmpeg-
[email protected]>
Cc: Haihao Xiang <[email protected]>
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
No, only for HEVC and VP9. Probably for AV1 as well in the near future.
Well, then that is a good reason to not remove support in this encoder for a
pixel format that not only our software scaler can generate, but decoders using
hwaccel backends can output too.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-devel&data=05%7C01%7Cruijing.dong%40amd.com%7Cf449421fd89948ad96cc08dacf3c324b%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C638050154742304108%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xFeOvsaJw%2F9BlPifrqx33Pv8GurJ1N2lVyuUYHIOClo%3D&reserved=0
To unsubscribe, visit link above, or email [email protected] with subject
"unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".