January 20, 2021, 08:13:18 PM

News:

--


Cannot open lossless libx265 12bit files

Started by sebsi, October 14, 2020, 05:15:32 PM

Previous topic - Next topic

sebsi

I am generating 12bit gray12le lossless HEVC files with FFMPEG and can open these no problem with MPC-BE. But when I open them in AVI Demux, I just see a black video and nothing more. Is there a way I can change the decoder to something that supports it?

eumagga0x2a

Avidemux doesn't support this colorspace (yet). Support for yuv420p12le has been just added, so this should not be a big deal to implement.

However, the internal picture format in Avidemux is YV12 (yuv420p 8-bit with U and V planes swapped), so the original bit depth is always lost when the video is re-encoded, even when using 12-bit HEVC for output.

sebsi

I see. Thanks. I guess I will have to find another tool.

eumagga0x2a

Just to avoid misunderstandings: when cutting in copy mode, the original bit depth and quality is fully preserved.