Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Maybe some problem with the chapters try removing them with -map_chapters -1, if that doesn't work try removing all metadata: -map_metadata -1.... Commented Jul 16, 2024 at 10:30
  • @RicardoBohner I tried both options, but I'm still getting the same error. Commented Jul 18, 2024 at 7:33
  • The input vídeo might be damaged at some point, try to repair it with somethinng like this: ffmpeg -err_detect ignore_err -i video.mkv -c copy video_fixed.mkv Commented Jul 18, 2024 at 7:56
  • @RicardoBohner Still producing the same error. Btw, I inspected the metadata and found that the file was processed by mkvmerge, so I tried mkvmerge -o out.mkv in.mkv subtitle.ass, and everything worked well. Althoung it solves my original problem, I'm still curious about why ffmpeg produced the error. Is there other method I can try to find out the problem? Commented Jul 19, 2024 at 7:33
  • Is it possible for you to provide the file? Commented Jul 19, 2024 at 12:25