Opened 3 years ago

Closed 2 years ago

#9770 closed defect (invalid)

FFmpeg embed thumbnail Windows

Reported by: svnpenn Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I have seen commands like this online:

ffmpeg -i video.mp4 -i image.png -map 1 -map 0 -c copy \
-disposition:0 attached_pic out.mp4

However these command don't work as advertised with Windows Explorer, while other tools such as AtomicParsley and TagEditor do. What I mean is that, it appears that FFmpeg does add an image stream, but the thumbnail is not visible with Windows Explorer. Does FFmpeg have some command that will work with Windows?

Change History (2)

comment:1 by svnpenn, 3 years ago

I figured it out. You have to change the video codec, for it to work:

ffmpeg -i audio.opus -i image.jpg -c:a copy -c:v mjpeg \
-disposition:v attached_pic out.mp4

comment:2 by Marton Balint, 2 years ago

Resolution: invalid
Status: newclosed

So not a bug then :)

Note: See TracTickets for help on using tickets.