FFV1 & 8K

It seems that there is a problem with the FFV1 codec and 8K resolution.

If I choose FFV1 / 10b / 4:2:0, it results in an error after a few seconds/minutes.
I have the same problem if I use ffmpeg myself with the standard settings.

I had to change the ffmeg settings several times to get a result file, which gives me warnings anyway.
The CPU is getting smashed like I rarely see.

What is known is that the FFV1 codec supports up to 8K in its level 3.
The problem is that FFV1 was mainly used by US GOv for archiving and level 3 was not used much outside of that. It is kind of hard to find documentation on how to handle it properly.

The development team is aware of the MAX_INT issue that was arbitrarily defined in 2005 when 8K was completely off the table.
Level 4 is on the way, but no release date planned, it seems very confidential, not really useful for streaming and no hype around this lossless codec.

The end goal is to re-encode this maxed quality file with AV1 codec in 4K or keep it as is and let the broadcaster downscale. AV1 will do the job to compress it to the maximum (preset 1, CRF 8), I already tested with RDNA2 to decompress it works, it gets hot, but it works.

So, is it fully implemented in TVAI and with all these issues in mind? If not, I would be so grateful if it is :wink:

Rhea gives me divine results from a 1080p quality source. If I don’t output in 4x1080p → 8K, I have much more mixed results.
The output file of about 2/3 TB is not a problem, the problem comes from the codec settings.

  • ffmpeg -i “C:\Source_1080p.mkv” -ss 01:00:00 -to 01:05:00 -vf scale=7680:4320 -c:v ffv1 -level 3 -g 239 -slicecrc 1 -slices 9 -threads 16 “D:\Dest_8K.mkv” The file is readable with warnings encoding

  • ffmpeg -i “C:\Source_1080p.mkv” -ss 01:00:00 -to 01:05:00 -vf scale=7680:4320 -c:v ffv1 -level 3 -g 1 -slicecrc 1 -slices 16 -threads 16 “D:\Dest_8K.mkv”
    File is playable with encoding warnings

  • ffmpeg -i “C:\Source_1080p.mkv” -ss 01:00:00 -to 01:05:00 -vf scale=7680:4320 -c:v ffv1 -level 3 -g 239 -slicecrc 1 -slices 12 -threads 12 “D:\Dest_8K.mkv”
    File is playable with encoding warnings

Hardware is 9950X / 1 Nvme Gen4 as source / 1 Nvme Gen4 as Dest / 64 GB RAM (that stay unused)

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.