what settings are necessary to use h264 lossless encoding? I'm not talking about ffmpeg commandline tool, but about the c api.
I manage to encode video with lossy h264, but I don't know how to set the encoder to lossless.?
I code in MSVC++ and use precompiled libraries. online i found some .ffpreset files (for example libx264-lossless_max.ffpreset) which don't seem to be part of the precompiled version i use (at least they are not in the presets folder). I'm not sure whether ffpreset files are somehow compiled into the library, or whether they can be loaded into the encoder somehow? if so, how would I use such a preset file?