How effort-intensive (or automatable) is it to take a large video file and append a picture/thumbnail to it so its not a black thumbail?
from cheese_greater@lemmy.world to nostupidquestions@lemmy.ca on 09 Jul 16:11
https://lemmy.world/post/49235015

#nostupidquestions

threaded - newest

joeljoelle@piefed.blahaj.zone on 09 Jul 16:26 collapse

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
cheese_greater@lemmy.world on 09 Jul 17:15 collapse

ffmpeg -i input.mp4 -c copy -attach cover.jpg -metadata:s:t mimetype=image/jpeg out.mp4

Thanks!