[FFmpeg-devel] Command-line parameters used too late for has_codec_parameters()
Alexandre FERRIEUX - FT/RD/SIRP/ASF/SOFTL
alexandre.ferrieux
Fri Jan 16 11:30:14 CET 2009
Hi,
Currently in av_find_stream_info(), the logic deciding whether or not to
engage into parameter-guessing (by pre-reading several frames), which
calls has_codec_parameters(), comes _before_ command-line parameters
like -pix_fmt get copied into the fields of the codec.
The net result is that the parameter-guessing game is played even though
all needed params have been provided in the command-line.
Am I missing something, or is the analysis correct ?
-Alex
More information about the ffmpeg-devel
mailing list