• etherphon@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 days ago

    you can easily do this with ffmpeg, I did it all the time putting movie covers on movies. it won’t transcode so it’s pretty quick and you can use it in scripts or batch files.

    ffmpeg -i input.mp4 -c copy -attach cover.jpg -metadata:s:t mimetype=image/jpeg out.mp4  
    
      • etherphon@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        sure thing, I’m pretty sure that there may even be a way to do it without making a copy but that was part of a larger command or rather set of commands I used