How do I add a cover image to a MP4 file with ffmpeg?
Solution 1
It can be done with ffmpeg like this. Alternatively, you can use atomicparsley:
atomicparsley video.mp4 --artwork cover.jpg --overWrite
Solution 2
"So which FFMPEG commands can help me to add an cover image to mp4 video file?"
Fo sure, only do a try with this code:
ffmpeg -i "input_file.mp4" -i "Input_file.jpg" -map 1 -map 0 -acodec copy -vcodec copy "output_file.mp4"
IremadzeArchil19910311
Education General School Dates 1. Public School N 8, Batumi 01.09.1997 - 17.09.1999 2. Lyceum “Euro-2000”, Batumi 17.09.1999 - 25.05.2009 High Institution Faculty/Specialty Degree Dates BSU Science/Math & Computing Bachelor 2009-2013
Updated on June 04, 2022Comments
-
IremadzeArchil19910311 almost 2 years
In Windows Explorer, when in the "Large icons" or "Extra large icons" layout, a MP4 file appears as a thumbnail. By default, the thumbnail image is taken from some frame in the middle of the video.
How do I replace this automatically generated thumbnail with a specific cover image?
What ffmpeg commands will add a cover image to a MP4 video file?
-
Crissov over 4 yearsThe issue has been closed as fixed in the meantime.
-
Gyan over 4 yearsNow possible, see link on top of Q.