[FFmpeg-devel] [PATCH] WAV demuxer: Document the ignore_length option.

Calvin Walton calvin.walton at kepstin.ca
Wed Sep 16 23:13:54 CEST 2015

 doc/demuxers.texi | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index 34bfc9b..fe9b7b1 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -522,4 +522,27 @@ Example: convert the captions to a format most players understand:
 ffmpeg -i http://www.ted.com/talks/subtitles/id/1/lang/en talk1-en.srt
 @end example
+ at section wav
+WAV demuxer.
+This demuxer accepts the following option:
+ at table @option
+ at item ignore_length
+Ignore the length field in the WAV file header.
+Some tools, when generating extremely long or streaming WAV files, may set the
+length field to an incorrect or invalid value.
+If you set the @option{ignore_length} option to 1, FFmpeg will ignore the
+length field in the WAV header, and treat all of the data in the file after
+the header as a continuous stream of audio data. If the file contains non-audio
+data after the audio (e.g. ID3 tags), it will be treated as audio data and
+cause audible artifacts or decoding errors.
+The default, 0, respects the length field.
+ at end table
 @c man end DEMUXERS

More information about the ffmpeg-devel mailing list