• Resolved emanradin

    (@emanradin)


    Hi!
    Not sure if it’s a question relating to the plugin or FFMPEG,
    But is there a way to change the way the thumbnail filenames are generated?
    My goal is to remove the number after “_thumb”.
    However I’d still like the dimensions at the end, just the number/ID.

    Eg: When I upload a video file called test.mp4 the thumbnail returns
    test_thumb29.jpg / test_thumb29-220×123.jpg / test_thumb29-220×160.jpg

    I can’t find a way to remove that ’29’ or whatever random number it comes up with.
    Any help would be greatly appreciated

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    The number isn’t random, it’s the timecode of the thumbnail. It ensures that thumbnails aren’t overwritten if more than one user is generating thumbnails at the same time and avoids regenerating thumbnails that have already been created. You could hack the plugin to remove the number, but maybe we could solve your problem a different way. Can I ask why it matters in your workflow what the thumbnail filename is?

    Thread Starter emanradin

    (@emanradin)

    Oh i see!
    you’re right, all I wanted to do was basically use the featured-thumb (or poster) as the image to show when loading a modal (lightbox).

    What I’ve got is a list of videos (thumbnails) on a page in a wordpress loop, and when clicking on a particular video I want to display the thumbnail instead of the ajax-loader that pops up.

    But I think i’ve managed to use meta-data when clicking to transfer the url of the image to the popup instead of changing any filenames.

    Thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change the filename of FFMPEG Thumbnails’ is closed to new replies.