[FFmpeg-devel] Fwd: [issue2563] AVI encoder create a file (contains multiple video and audio streams) with uncorrect fourcc tag

Måns Rullgård mans
Mon Jan 24 18:27:38 CET 2011

compn <tempn at twmi.rr.com> writes:

> On Mon, 24 Jan 2011 11:53:36 -0500, Ronald S. Bultje wrote:
>>On Mon, Jan 24, 2011 at 11:50 AM, Luca Barbato <lu_zero at gentoo.org> wrote:
>>> On 01/24/2011 05:44 PM, M?ns Rullg?rd wrote:
>>>> We should refuse to mux more than 100 streams in AVI, not do something
>>>> random and contribute to the proliferation of broken AVI files.
>>> Out of curiosity, why 100 streams in avi? Since it's probably a custom
>>> usage, using something more capable (nut, mkv) might help.
>>Right, so we should error out in write_header(). Anyone want to update
>>the patch to do that also?
> would it be better to error if >100 streams, but have a way to create
> such if needed? it seems like max_streams problem all over again. just
> because we cant think of a use... unfair limits are unfair if within
> specs?

The AVI spec makes it impossible to have more.  If you need more, use
another format.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list