Are you using any other coded than h264? I need to make some changes on the other ones so they work better.
yeah, looks like it's not crf values but using codecs other than h264 that is the problem. h265 and avi cause the black frames regardless of the crf value.
I think I need to redo a lot of the codec code. It really give all kinda of strange problems.
thanks for the troubleshooting help, and good luck with fixing that.