
Recherche avancée
Autres articles (40)
-
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (6026)
-
ffmpeg — copy attached cover image (cover.jpg) of video file during encode ? [closed]
15 octobre 2024, par emk2203I am trying to encode a video with
ffmpeg
which has a cover file attached. This cover file should end up in the encoded video as well.

I can do this with
mkvextract attachments movie.mkv 1
&&<long ffmpeg="ffmpeg" encode="encode" command="command"></long>
&&mkvpropedit movie_new.mkv --add-attachment cover.jpg
. Both old and new show up inmediainfo
with the two lines

Cover : Yes
Attachments : cover.jpg



But when I try to integrate this into a
ffmpeg
command,ffmpeg
insists on detecting a second video stream and either dropping it or encoding it as a second video stream which completely confuses the player.

What I tried :

-map 0:t
—> error, cannot find attachments ;-map 0:t?
—> runs and encodes second video stream

All kinds of
-map
combinations, even a merge with a separatecover.jpg
andffmpeg -i movie.mkv -i cover.jpg ... -map 1 -map 0 -c copy -disposition:0 attached_pic
fails.

Any ideas ?


-
Revision 103226 : 1.4.1 et 2017
10 mars 2017, par kent1@… — Log1.4.1 et 2017
-
Revision 103226 : 1.4.1 et 2017
10 mars 2017, par kent1@… — Log1.4.1 et 2017