[FFmpeg-trac] #5086(ffmpeg:new): Option 'analyzeduration' not respected when using concat demuxer
FFmpeg
trac at avcodec.org
Sun Dec 13 12:40:30 CET 2015
#5086: Option 'analyzeduration' not respected when using concat demuxer
--------------------------------+---------------------------------------
Reporter: amoe | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+---------------------------------------
Summary of the bug:
When using the concat demuxer, the option -analyzeduration does not have
any effect. This can cause some files to be incorrectly analyzed.
How to reproduce:
Compare the output of the following commands
{{{
amoe at motylyok $ ffmpeg -v 9 -loglevel 99 -analyzeduration 2147483647 -i
file1.mkv bsfj.mkv
amoe at motylyok $ cat concat.lst
file 'file1.mkv'
amoe at motylyok $ ffmpeg -v 9 -loglevel 99 -analyzeduration 2147483647 -f
concat -i concat.lst bsfj.mkv
...
[matroska,webm @ 0x2e656e0] max_analyze_duration 5000000 reached at
5019000 microseconds
[matroska,webm @ 0x2e656e0] Could not find codec parameters for stream 0
(Video: h264, none(left), 496x360, 1/2000): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
...
}}}
The first command analyzes the input file {{{file1.mkv}}} without
problems, although only when using the {{{analyzeduration}}} option.
However, specifying {{{analyzeduration}}} on the {{{concat}}} demuxer has
no effect. I would hope that each file to be concatenated would be
analyzed. For this demo it's only one file that's being concatenated so
there is technically no point in using {{{concat}}}. In actuality though,
I need to concatenate longer lists of files, but those that require a
higher value for {{{analyzeduration}}} can't be used in these lists
without causing broken output.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5086>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list