[FFmpeg-devel] [PATCH] avformat/options_table: Set the default maximum number of streams to 100

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Dec 10 14:36:33 EET 2016


2016-12-10 13:33 GMT+01:00 Marton Balint <cus at passwd.hu>:
>
> On Sat, 10 Dec 2016, Carl Eugen Hoyos wrote:
>
>> 2016-12-09 20:33 GMT+01:00 Marton Balint <cus at passwd.hu>:
>>>
>>> If we still want a default limit, that limit should be IMHO
>>> _insanely_ high, tens of thousands, not hundreds.
>>
>> Do you have a file that has hundreds of streams?
>
> No I don't, but that does not mean that nobody has such a file,
> and we should not support it by default. Also I mentioned that
> corrupted sources can generate dummy streams.

I thought that I am normally on the user's (and broken stream's)
side (and I believe that 16k is not so unusual) but 100 streams
seem already unrealistic to me, 1000 even more so.

>> Note that I suggested 1000 as limit.
>
> Even 1000 does not seems so unthinkable to me, so I
> suggested tens of thousands.

Then we can leave the option at INT_MAX imo.

Carl Eugen


More information about the ffmpeg-devel mailing list