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

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Dec 11 16:14:32 EET 2016


2016-12-10 23:36 GMT+01:00 Ronald S. Bultje <rsbultje at gmail.com>:
> Hi,
>
> On Sat, Dec 10, 2016 at 5:24 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com>
> wrote:
>
>> 2016-12-10 14:07 GMT+01:00 Ronald S. Bultje <rsbultje at gmail.com>:
>> > Hi,
>> >
>> > On Sat, Dec 10, 2016 at 7:11 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com>
>> > wrote:
>> >
>> >> 2016-12-09 12:56 GMT+01:00 Ronald S. Bultje <rsbultje at gmail.com>:
>> >>
>> >> > On IRC, we discussed at what values OOM start occurring, which
>> >> > seems to be around 30k-60k
>> >>
>> >> This is not true, why do you think so?
>> >
>> > http://lists.ffmpeg.org/pipermail/ffmpeg-devel-irc/
>> 2016-December/003980.html
>>
>> http://www.openwall.com/lists/oss-security/2016/12/08/1
>> Iiuc (which isn't sure at all) this is about 26000 streams.
>
> And how does that fundamentally change the discussion? The question was
> about orders of magnitude (think powers of 10), so you just changes the
> answer from log10(30k)=4.48 to log10(26k)=4.41.

> In both cases, a sensible
> limit is something like exp10(3) or exp10(4), but exp10(2) is not necessary
> IMHO,

Isn't this exactly what I requested in this very thread?

Carl Eugen


More information about the ffmpeg-devel mailing list