【ffmpeg】問題解決: Unable to find a suitable output format for 'text=%{n}:' text=%{n}:: Invalid argument

前言

此為 ffmpeg 上遇到以下問題,個人的解決問題筆記

[NULL @ 0x557eb6366300] Unable to find a suitable output format for 'text=%{n}:' text=%{n}:: Invalid argument

解決方法:

通常指的是 ffmpeg 下的指令中有誤,

以下附上幾個可能的常見錯誤,可以檢查看看:

  • 「’’」、「""」: 單雙引號使用無對稱
  • 「{}」、「[]」、「()」: 括弧使用無對稱
  • output影片格式不支援:例如「mp4」打成「mp5」之類的…
  • 其他使用參數上的問題…

reference

unable to find a suitable output format for ‘ffmpeg’
https://stackoverflow.com/questions/32718364/unable-to-find-a-suitable-output-format-for-ffmpeg