Could we have ProRes presets updated so they better match official profiles (in this case ProRes_ks is better). It will be slower, but more Apple alike.
We need color tag as well, so parameters like this for ProRes HQ:
-metadata:s "encoder=Apple ProRes 422 (HQ)" -vendor apl0 -movflags write_colr -c:v prores_ks -flags "+bitexact"
Then also have interlaced box (+field order) to tick which adds:
-vf "setfield=1, fieldorder=tff" -top 1 -flags "+ildct+ilme+bitexact"
*tff or bff (and top 1 or 0)
This way we enforce proper interlaced encoding.
I'm not sure about this bit, but if you can set:
AVFormatContext.flags |= AVFMT_FLAG_BITEXACT.
|