SimpleScreenRecorder error: "Can't write header!"

In fact, the ogg container is not compatible with any other codecs than Theora and Vorbis. Even there is no uncompatibility warnings. Using the regular MKV container works.

If anyone have the same issue, using the MKV container may fix the issue.