aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-02-01 17:54:48 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-02-01 17:57:12 +0100
commit9bcb84810f535ae89e698e4298fc9ac4d986eebe (patch)
tree115e15909101de44dc9434e99b280a06cf03f93e
parent54e19092fd6084ed8e11f071853a0dca18e0d920 (diff)
downloadffmpeg-9bcb84810f535ae89e698e4298fc9ac4d986eebe.tar.gz
doc/muxers.texi: Fix mp3 picture attachment documentation.
(cherry picked from commit 99eedfc40086972987aa27df8b1259c8bf15b20c)
-rw-r--r--doc/muxers.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index fb642847e1..3c6415f112 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -711,10 +711,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