GNOME Bugzilla – Bug 502655
[avimux] creates corrupt avi files (wrong stream numbering)
Last modified: 2007-12-11 16:47:41 UTC
Problem: Create any AVI file using avimux containing both video and audio, less than 2GB (no ODML extension); the resulting file does not play (with totem, mplayer, etc) Cause: Bug introduced in (revision 1.94, Tue Oct 2 10:23:04 2007 UTC): specifically, both video and audio stream are assigned stream number 00 (leading to tags 00db and 00wb). This causes all entries in the idx1 chunk to be assigned to stream 0 (= video stream). So, e.g. mplayer ends up with no audio stream data, and video decoder does not like the audio data.
Created attachment 100639 [details] [review] Possible patch * Best of both worlds: Fix stream numbering for (normal) video included AVI, and also keep it OK for audio-only AVI.
Thank you! Patch by: Mark Nauwelaerts <manauw skynet be> * gst/avi/gstavimux.c: (gst_avi_mux_start_file): Fix regression in stream numbering. Fixes #502655.