[FFmpeg-cvslog] doc/muxers.texi: Fix mp3 picture attachment documentation.

Carl Eugen Hoyos git at videolan.org
Fri Feb 1 17:57:23 CET 2013


ffmpeg | branch: release/1.0 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Feb  1 17:54:48 2013 +0100| [5c1a1b47f378506132b26f893f2a78149582697a] | committer: Carl Eugen Hoyos

doc/muxers.texi: Fix mp3 picture attachment documentation.
(cherry picked from commit 99eedfc40086972987aa27df8b1259c8bf15b20c)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5c1a1b47f378506132b26f893f2a78149582697a
---

 doc/muxers.texi |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 83c21db..1685b12 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -641,10 +641,11 @@ Write an mp3 with an ID3v2.3 header and an ID3v1 footer:
 ffmpeg -i INPUT -id3v2_version 3 -write_id3v1 1 out.mp3
 @end example
 
-Attach a picture to an mp3:
+To attach a picture to an mp3 file select both the audio and the picture stream
+with @code{map}:
 @example
-ffmpeg -i input.mp3 -i cover.png -c copy -metadata:s:v title="Album cover"
--metadata:s:v comment="Cover (Front)" out.mp3
+ffmpeg -i input.mp3 -i cover.png -c copy -map 0 -map 1
+-metadata:s:v title="Album cover" -metadata:s:v comment="Cover (Front)" out.mp3
 @end example
 
 @c man end MUXERS



More information about the ffmpeg-cvslog mailing list