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 342345 - [riff] Elephant's Dream AVI does not play, JUNK chunk before LIST
[riff] Elephant's Dream AVI does not play, JUNK chunk before LIST
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 342626 343323 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-19 13:30 UTC by Tim-Philipp Müller
Modified: 2006-05-29 19:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2006-05-19 13:30:48 UTC
The 425MB AVI version of Elephant's dream, downloadable from:

  http://orange.blender.org/download

does not play. Looks like avidemux doesn't like the 'JUNK' chunk padding before the LIST chunk:

$ hexdump -n 256 -C ~/Elephants_Dream_1024.avi
00000000  52 49 46 46 e2 3c 12 00  41 56 49 20 4a 55 4e 4b  |RIFF.<..AVI JUNK|
00000010  00 00 00 00 4c 49 53 54  92 ff 00 00 68 64 72 6c  |....LIST....hdrl|
00000020  61 76 69 68 38 00 00 00  c3 a2 00 00 00 00 00 00  |avih8...........|
00000030  00 00 00 00 10 01 00 00  4a 00 00 00 00 00 00 00  |........J.......|
00000040  02 00 00 00 00 00 00 00  00 04 00 00 40 02 00 00  |............@...|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  4c 49 53 54 c4 00 00 00  73 74 72 6c 73 74 72 68  |LIST....strlstrh|
00000070  38 00 00 00 76 69 64 73  44 49 56 58 00 00 00 00  |8...vidsDIVX....|
00000080  00 00 00 00 00 00 00 00  cd 2d 03 00 40 4b 4c 00  |.........-..@KL.|
Comment 1 Tim-Philipp Müller 2006-05-19 15:01:49 UTC
Fixed in -base CVS:

 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>

        * gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk):
          On second thought, just skip JUNK chunks automatically, so
          the caller doesn't have to handle this. Fixes #342345.
          Also, return GST_FLOW_UNEXPECTED if we get a short read,
          not GST_FLOW_ERROR.

 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>

        * gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk):
          Don't bail out on JUNK chunks with a size of 0 (would try to
          pull_range 0 bytes before, which sources don't like too much).
          See #342345.

Comment 2 Tim-Philipp Müller 2006-05-22 22:39:30 UTC
*** Bug 342626 has been marked as a duplicate of this bug. ***
Comment 3 Tim-Philipp Müller 2006-05-29 19:29:41 UTC
*** Bug 343323 has been marked as a duplicate of this bug. ***