When I share a series of video files on whatsapp or telegram, the filenames are ommitted. Only thumbnails can be used to identify the video chapter/part/episode. To solve this issue, I’ve written a script to run in a folder containing my video files.

The script simply:

  • Extract the first frame of each video as an image
  • Add a label to that image with FILENAME
  • Create a 1-second video from that image with label
  • Concatenate that 1-second to the original video