GNOME Bugzilla – Bug 332892
[faad] 'Negative scalefactor found' and 'Maximum number of scalefactor bands exceeded'
Last modified: 2006-05-03 21:54:24 UTC
Please describe the problem: I downloaded this [1] video file (197.43 MB / 38:33 mm:ss). After 0:33 Totem says: "Failed to decode JPEG image". I suspect at this time the JPEG still image should be replaced by the video. [1] http://www.danieleluttazzi.it/themes/chameleon/background.png Steps to reproduce: 1. Download the file (if you can) 2. Open in toten+gstreame-0-10 3. Actual results: Error "Failed to decode JPEG image" after 0:33 Expected results: Play the movie :-) Here is a movie somewhere in this file. Does this happen every time? Yes Other information: The video is also available as m4v (iPod) and 3gp (Mobile phone). I could try them also, but in the next days. Links here http://www.danieleluttazzi.it/?q=node/250
Note 1: link to mov file is wrong. It's http://www.danieleluttazzi.it/files/daniele_luttazzi_20050227_sky.mov Note 2: "if you can" in step 1 means: * if you have ADSL or similar * if you have flat connection Very slow server. I'm downloading the 3gp file (~21 MB) now: it needs ~30 minutes O_O
A final note about console messages: $ totem /daniele_luttazzi_20050227_sky.mov GTK Accessibility Module initialized Bonobo accessibility support initialized ERROR (0x8118d18 - 0:00:06.753709000) qtdemux(15358) qtdemux.c(1634):qtdemux_parse: length too long (1024 > 107) ERROR (0x8118d18 - 0:00:06.755021000) qtdemux(15358) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8118d18 - 0:00:06.755170000) qtdemux(15358) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8118d18 - 0:00:06.755283000) qtdemux(15358) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8)
Increased severty. It seems that a lot of mov files fail to play (in Totem) with or without JPEG still image. Here is a list. 1) http://www.mightymcpilgrim.com/films/brokemac/Mighty_McPilgrim_broke_mac_small.mov (900 KB) totem error: Could not decode stream. console error: ERROR (0x8118cc0 - 0:00:02.061007000) qtdemux(10245) qtdemux.c(1634):qtdemux_parse: length too long (1024 > 151) other info: also available at med size, large size and WMV at http://www.mightymcpilgrim.com/films/brokemac/ 3) http://www.ryb.it/fosindaco/foallamore.mov (~ 14 MB) totem error: Could not decode stream. consolo error: ERROR (0x8118d10 - 0:00:02.270481000) qtdemux(10566) qtdemux.c(1634):qtdemux_parse: length too long (1024 > 143) ERROR (0x8118d10 - 0:00:02.271763000) qtdemux(10566) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8118d10 - 0:00:02.271898000) qtdemux(10566) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8118d10 - 0:00:02.272044000) qtdemux(10566) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8118d10 - 0:00:02.272161000) qtdemux(10566) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8118d10 - 0:00:02.272259000) qtdemux(10566) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) 3) http://media.arstechnica.com/images/tiger/intro.mov (~15 MB) totem error: Could not decode stream. console error: ERROR (0x8114e98 - 0:00:02.439567000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.440867000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.441021000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.441263000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.441408000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.441530000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.441653000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.441788000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.441910000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.442031000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.442175000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.442297000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.442429000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.442550000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.442671000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.442803000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.442924000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.443055000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.443266000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.443390000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.443524000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.443645000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.443778000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.443899000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.444020000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.446278000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.446588000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.446734000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.446855000) qtdemux(10657) qtdemux.c(1634):qtdemux_parse: length too long (1024 > 107) ERROR (0x8114e98 - 0:00:02.446969000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.447106000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.447242000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) ERROR (0x8114e98 - 0:00:02.447390000) qtdemux(10657) qtdemux.c(1569):qtdemux_parse: atom length too long (1114112 > 21) ERROR (0x8114e98 - 0:00:02.447502000) qtdemux(10657) qtdemux.c(1565):qtdemux_parse: atom length too short (0 < 8) 4) http://www.ghettoyouths.com/jamrock.mov (from bug 302606) works fine 5) http://www.oldeenglish.org/OldeEnglish.org_-_Gymclass.mov (~25 MB) (from bug 302606) works fine
Other test case: see comment 2 on bug 333232 http://www.arstechnica.com/reviews/003/panther/movies/sheet-still.mov this makes totem and totem-mozilla crash
(In reply to comment #3) > Increased severty. It seems that a lot of mov files fail to play (in Totem) > with or without JPEG still image. Here is a list. > > 1) > http://www.mightymcpilgrim.com/films/brokemac/Mighty_McPilgrim_broke_mac_small.mov > (900 KB) The only problem with this file is on the audio stream: gstfaad.c(930):gst_faad_chain:<faad0> error: Failed to decode buffer: Negative scalefactor found, should be impossible Using decodebin/playbin that error emission causes the whole pipeline to stop unfortunately. The following works fine (without sound): gst-launch-0.10 -v -t filesrc location=Mighty_McPilgrim_broke_mac_small.mov ! qtdemux ! ffdec_h264 ! queue ! xvimagesink > > > 3a) http://www.ryb.it/fosindaco/foallamore.mov (~ 14 MB) > 3b) http://media.arstechnica.com/images/tiger/intro.mov (~15 MB) The two files have the same problem as above with a slightly different error: gstfaad.c(930):gst_faad_chain:<faad0> error: Failed to decode buffer: Maximum number of scalefactor bands exceeded Plays fine (video only) using: 3a/ qtdemux ! ffdec_mpeg4 3b/ qtdemux ! jpegdec > 4) http://www.ghettoyouths.com/jamrock.mov > (from bug 302606) > works fine > > 5) http://www.oldeenglish.org/OldeEnglish.org_-_Gymclass.mov (~25 MB) > (from bug 302606) > works fine > So I guess the one to blame here is faad and not qtdemux...
Changing the title to properly reflect the problem.
*** Bug 338935 has been marked as a duplicate of this bug. ***
The patch in bug #173007 fixes these file for me as well.
All these videos work fine for me now: 2006-04-28 Tim-Philipp Müller <tim at centricular dot net> * ext/faad/gstfaad.c: (gst_faad_init), (aac_rate_idx), (gst_faad_setcaps), (gst_faad_chain), (gst_faad_open_decoder), (gst_faad_close_decoder), (gst_faad_change_state): * ext/faad/gstfaad.h: If we run into a decoding error, try re-opening the decoder with faacDecInit2() using fake codec data created from the data the demuxer gave us. Should fix a whole bunch of GStreamer-faad problems incl. 'channel coupling not implemented', 'maximum number of scalefactor bands exceeded' etc. (#173007, #332892).
*** Bug 331207 has been marked as a duplicate of this bug. ***