在 android 上使用段输出格式的 ffmpeg javacpp 包装器时 SIGSEGV 崩溃

Crash with SIGSEGV while using ffmpeg javacpp wrapper on android with segment output format

如果输出格式为 'segment'

,应用程序会因 SIGSEGV 不断崩溃
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8 in tid 17059

问题出在输出文件命名中。 它应该包含格式指令,如 'name_%03d.ts',因此创建的文件将是 'name_001.ts'、'name_002.ts'...