-
Notifications
You must be signed in to change notification settings - Fork 245
Description
Is your feature request related to a problem? Please describe.
I am currently working with diffusion models to upscale videos. The output from these models is of very high quality, often in a lossless format to preserve all the generated details. When compressing this footage to common distribution formats like 8-bit or 10-bit 4:2:0, a significant amount of color information and fine detail is lost. This effectively negates some of the benefits of the high-quality upscale.
Describe the solution you'd like
I would like to request the implementation of support for encoding into the following formats:
H.265 (HEVC) 12-bit 4:4:4
AV1 12-bit 4:4:4
Why this is important
This feature would be incredibly valuable for workflows involving AI-generated or upscaled content. These specific profiles offer the perfect balance:
**Quality Preservation**: They retain the full chroma information (4:4:4) and high bit depth (12-bit), which is crucial for preserving the subtle details and color fidelity produced by diffusion models.
**Efficient Compression**: They still provide a significant file size reduction compared to lossless intermediate codecs like ProRes or FFV1, making file storage and handling much more manageable.
Thank you in advance for your time and consideration.
Activity
AustinMroz commentedon Nov 6, 2025
Adding the format to h265 is simple, but
libsvtav1only supportyuv420pandyuv420p10lefor pix_fmts. The best I can do there is create a new format type that uses the slowerlibaom-av1zelenooki87 commentedon Nov 6, 2025
@AustinMroz I've just looked it up and it says that the AV1 codec you mentioned is considerably slower. In that case, please go with improving H.265 if it's not a problem. Thanks.