79160303

Date: 2024-11-05 18:34:05
Score: 0.5
Natty:
Report link

avcodec_ functions return -12 value when the AVERROR_INVALIDDATA error is encountered. Therefore, you don't use the AV_CODEC_ID_ASS to open the context for the libass subtitle, but the AV_CODEC_ID_MOV_TEXT identifier is used instead. The mov_text codec seems incompatible with the graphical subtitle format you feed to it.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Andrei Vukolov