I use raw AVI files from Blender to retain the highest quality possible when using a video editor. Most of my projects are small, and and I have large capacity hard drives and fast GPU processing, this is not a problem for me.
[UPDATE: I forgot to add, the settings below are just for converting SEQUENCED PNG files to a single video file]
VERY IMPORTANT: to make the video quality look exactly like the original sequence files:
Render properties>
Color Management>
Display Device: sRGB
View Transform: Standard
Look: None
Exposure: 0.000
Gamma: 1.000
Sequencer: sRGB
Unfortunately there is no more exporting animations to uncompressed lossless RAW AVI files in the current version of Blender.
I recommend the following:
(You can ignore the settings below if you use Blender 3.6 just for converting sequence images to an RAW AVI file)
Output properties>
Encoding>
Container: MPEG-4
Autosplit uotput: unchecked (not used)
Video>
Video Codec: H.264
Output quality: Lossless
Encoding Speed: Slowest
Keyframe Interval: 1
Max B frames: unchecked (not used)
If you have any better ideas, or if I missed something, please comment.