After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 502655 - [avimux] creates corrupt avi files (wrong stream numbering)
[avimux] creates corrupt avi files (wrong stream numbering)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal major
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-09 13:08 UTC by Mark Nauwelaerts
Modified: 2007-12-11 16:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Possible patch (953 bytes, patch)
2007-12-09 13:13 UTC, Mark Nauwelaerts
committed Details | Review

Description Mark Nauwelaerts 2007-12-09 13:08:39 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.
Comment 1 Mark Nauwelaerts 2007-12-09 13:13:22 UTC
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.
Comment 2 Wim Taymans 2007-12-11 16:47:41 UTC
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.