0

The awesome trick for adding a thumb to a simple mp4 video with ffmpeg works perfectly, until I took an mp4 with chapters in it. The thumbnail is added, but the output file can't be played on many devices. This command didn't work as required:

ffmpeg -i video.mp4 -i image.png -map 1 -map 0 -c copy -disposition:0 attached_pic out.mp4

What can be wrong and how to do it right?

  • On which app does it fail to play in? I've tested your command and it plays fine in vlc – kesh Apr 08 '22 at 01:23
  • Quick Look in macOS and on my TV (doesn't recognize the video format). VLC and IINA do play it, of course. – Alexander Zhurovich Apr 08 '22 at 11:02
  • And the original video with chapters work on those devices? (I had an issue with pixel format when I tried the test case on FireFox but that was because my input video was encoded in yuv444 not yuv420p) – kesh Apr 08 '22 at 13:46

0 Answers0