Hi This error occures when calling `avcodec_open2` with the `AV_CODEC_ID_H265` or `AV_CODEC_ID_H264` encoder on windows: ``` "COM must not be in STA mode\n" Could not open the codec: "Invalid argument" ``` Does anyone have an idea how to fix this?
Hi
This error occures when calling
avcodec_open2with theAV_CODEC_ID_H265orAV_CODEC_ID_H264encoder on windows:Does anyone have an idea how to fix this?