aboutsummaryrefslogtreecommitdiffstats
path: root/doc/muxers.texi
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-17 15:31:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-17 15:34:24 +0100
commit58770db2ae67d9b4b6adcf2b15951f9608442051 (patch)
treea155b0f27369b59cfa7651a4a1ecd6627d3d8a58 /doc/muxers.texi
parent5049b6a1fe52f549bad6721f162b4ec2d9d0a357 (diff)
parent33018907bd07b34e0e70d5ae12097265eb3734d7 (diff)
downloadffmpeg-58770db2ae67d9b4b6adcf2b15951f9608442051.tar.gz
Merge commit '33018907bd07b34e0e70d5ae12097265eb3734d7'
* commit '33018907bd07b34e0e70d5ae12097265eb3734d7': mp3enc: allow omitting the id3v2 header with -id3v2_version 0 Conflicts: doc/muxers.texi libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r--doc/muxers.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 0dc8a33628..f369df5ab9 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -541,8 +541,10 @@ ffmpeg -re @var{<normal input/transcoding options>} -movflags isml+frag_keyframe
The MP3 muxer writes a raw MP3 stream with an ID3v2 header at the beginning and
optionally an ID3v1 tag at the end. ID3v2.3 and ID3v2.4 are supported, the
-@code{id3v2_version} option controls which one is used. The legacy ID3v1 tag is
-not written by default, but may be enabled with the @code{write_id3v1} option.
+@code{id3v2_version} option controls which one is used. Setting
+@code{id3v2_version} to 0 will disable the ID3v2 header completely. The legacy
+ID3v1 tag is not written by default, but may be enabled with the
+@code{write_id3v1} option.
The muxer may also write a Xing frame at the beginning, which contains the
number of frames in the file. It is useful for computing duration of VBR files.
@@ -574,6 +576,11 @@ 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
+Write a "clean" MP3 without any extra features:
+@example
+ffmpeg -i input.wav -write_xing 0 -id3v2_version 0 out.mp3
+@end example
+
@section mpegts
MPEG transport stream muxer.