View Single Post
Old 15th April 2022, 16:26   #40  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Quote:
Originally Posted by PCU View Post
I'm confused: Does FFV1 support HDR and 4K? I searched but did not find any answer.
FFv1 same as most lossless codecs doesn't really care about resolution. Max frame size will be down to particular implementation limits, but it will be more like 16K or 32K.

Same with HDR. HDR is nothing more than 10 or 12bit video. Rest is flagging and metadata, but this can be stored in container (so codec itself doesn't need to support HDR flags). MOV, MXF or MKV will work (forget about AVI- old and limited).

I would not bother with x265 for lossless. It's terribly slow for no real gain. If you want good speed use ffvhuff. If you don't care about speed ffv1 is safe. If your source is RGB use codec which supports it natively at your desired bit depth.
As always- there is no simple answer what is the best. It all depends on your specific case.

Some limited numbers for UHD (10bit 4:2:2) source made of BM RAW, Canon RAW and Arri RAW source:
x265 lossless (preset=medium, GOP=1) 1740Mbit= 2.44 compression ratio
ffv1 lossless (ffmpeg) 1471Mbit=2.89 compression ratio
ffvhuff lossless (ffmpeg) 2021Mbit=2.10 compression ratio (10x faster than other 2)

High quality source with noise/grain etc. is typically 2-3x (even less sometimes). Anything above 3x will be rather specific case related to "easy" source (CGI, something lossy compressed many times already, etc.). Maybe long GOP is different.

x265 lossless (preset=medium, GOP=25) 1724Mbit= 2.46 compression ratio - not much gain over I frame only

Last edited by kolak; 15th April 2022 at 17:31.
kolak is offline   Reply With Quote