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 324082 - [qtdemux] [faad] playback issues with quicktime videos
[qtdemux] [faad] playback issues with quicktime videos
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 332892
Blocks:
 
 
Reported: 2005-12-14 15:42 UTC by Jeroen Zwartepoorte
Modified: 2006-05-03 21:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for our get/release buffer functions in gstffmpeggdecoders (2.06 KB, patch)
2006-02-13 12:56 UTC, Edward Hervey
rejected Details | Review
rails-ajax.mov video screenshot (113.60 KB, image/png)
2006-02-19 11:52 UTC, Jeroen Zwartepoorte
  Details

Description Jeroen Zwartepoorte 2005-12-14 15:42:18 UTC
Totem + gst 0.10 (including gst-ffmpeg HEAD) has problems playing back the
videos @ http://rubyonrails.org/screencasts.

Symptoms are:

1. qtdemux errors in terminal. "Can't decode stream" dialog appears.

2. grey rectangle with the changes in frames gradually appearing (start out with
a grey rectangle, text appears as the user enters it in the video; old changes
are not being cleared etc)

3. Problems reading local file:
(totem:21620): libgnomevfs-CRITICAL **: gnome_vfs_read_cancellable: assertion
`handle != NULL' failed
ERROR (0x8ff39c8 - 0:00:02.739307000)          gnomevfssrc(21620)
gstgnomevfssrc.c(1036):gst_gnomevfssrc_create:<source> Failed to read data:
Invalid parameters

4. "Internal dataflow error" dialog appears for the flickr video on the above page.
Comment 1 Tim-Philipp Müller 2006-01-17 11:54:55 UTC
I think (3) and (4) are unrelated to this, and (4) seems to be due to (3).

I've never been able to reproduce those libgnomevfs warnings, but now I just got it on an AVI file (but only once, not reproducable).
Comment 2 Jeroen Zwartepoorte 2006-01-27 13:41:25 UTC
Ronald tested the videos with 0.8. They play fine with 0.8. So this is a regression.
Comment 3 Edward Hervey 2006-01-27 14:06:55 UTC
by uncommenting "#define FORCE_OUR_GET_BUFFER" in gstffmpegdec.c HEAD, it works perfectly fine (no more gray, just like 0.8).
Comment 4 Edward Hervey 2006-02-13 12:56:45 UTC
Created attachment 59254 [details] [review]
patch for our get/release buffer functions in gstffmpeggdecoders
Comment 5 Edward Hervey 2006-02-13 12:58:22 UTC
damn bugzilla, patch for the wrong bug :)
Comment 6 Wim Taymans 2006-02-17 19:35:43 UTC
ping?
Comment 7 Jeroen Zwartepoorte 2006-02-19 11:51:09 UTC
Just built everything from HEAD (including gst-ffmpeg). I still get decoding errors and the "Cannot decode stream" dialog when playing the flickr video:

$ totem flickr-rails-ajax.mov
ERROR (0x921a0d0 - 0:00:02.326256000)              qtdemux(28326) qtdemux.c(1461):qtdemux_parse: atom length too long (1441792 > 26)
ERROR (0x921a0d0 - 0:00:02.326582000)              qtdemux(28326) qtdemux.c(1457):qtdemux_parse: atom length too short (0 < 8)
ERROR (0x921a0d0 - 0:00:02.326692000)              qtdemux(28326) qtdemux.c(1609):qtdemux_parse: length too long (1751411826 > 407)
ERROR (0x921a0d0 - 0:00:02.326807000)              qtdemux(28326) qtdemux.c(1526):qtdemux_parse: length too long (1024 > 151)
ERROR (0x921a0d0 - 0:00:02.326914000)              qtdemux(28326) qtdemux.c(1457):qtdemux_parse: atom length too short (0 < 8)
ERROR (0x921a0d0 - 0:00:02.327046000)              qtdemux(28326) qtdemux.c(1457):qtdemux_parse: atom length too short (0 < 8)
ERROR (0x921a0d0 - 0:00:02.327149000)              qtdemux(28326) qtdemux.c(1457):qtdemux_parse: atom length too short (0 < 8)

Other quicktime videos also still start out totally black and only updates/changes appear in the video. I'll attach a screenshot.
Comment 8 Jeroen Zwartepoorte 2006-02-19 11:52:44 UTC
Created attachment 59697 [details]
rails-ajax.mov video screenshot
Comment 9 Luca Ognibene 2006-02-19 18:16:34 UTC
I can't reproduce the "Other quicktime videos also still start out totally black and only
updates/changes appear in the video" error with current cvs but i can reproduce the error with the flickr video. The error is in faad:
ERROR: from element /pipeline0/decodebin0/faad0: Could not decode stream.
Additional debug info:
gstfaad.c(930): gst_faad_chain (): /pipeline0/decodebin0/faad0:
Failed to decode buffer: Maximum number of scalefactor bands exceeded
Comment 10 Edward Hervey 2006-03-01 15:14:26 UTC
Jeroen : the problem is this codec does not support seeking. If you use mplayer and seek through the file you will encounter the same thing.

The only difference I notice is the very first image not being displayed.
Comment 11 Jeroen Zwartepoorte 2006-03-01 16:35:10 UTC
I'm not seeking when playing back the videos. I just launch totem with the quicktime video and sit back (and watch the errors appear).
Comment 12 Priit Laes (IRC: plaes) 2006-03-15 18:00:51 UTC
Using mplayer, seeking using "up" and "down" (seek backward/forward 1 minute) works. What doesn't sometimes work is seeking using "left" and "right" buttons.
Comment 13 Wim Taymans 2006-04-11 18:16:33 UTC
seek fine. faaddec has the usual problem (see #332892), video seems to freeze for some reason, seeking restarts it. Also appears to leak quite a lot of memory, maybe it's related.
Comment 14 Tim-Philipp Müller 2006-04-28 11:29:34 UTC
All of these work fine for me now with CVS (after the latest fixes to faad in gst-plugins-bad).
Comment 15 Tim-Philipp Müller 2006-05-02 13:36:09 UTC
Assuming qtdemux rewrite and faad fixes in CVS fixed this issue.

Videos look fine for me now even without the get_buffer function patch.

Please re-open if there are still problems with CVS -bad and -ffmpeg.