It is possible to get wrong config in "profile" field like "high". Only below options are available (from ffmpeg version 2023-03-05):
-profile <int> E..V....... Set the encoding profile (from 0 to 4) (default main)
main 0 E..V.......
main10 1 E..V.......
rext 2 E..V.......