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 357493 - Fails to play trailer
Fails to play trailer
Status: RESOLVED NOTGNOME
Product: totem
Classification: Core
Component: GStreamer backend
2.16.x
Other Linux
: Normal normal
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
Depends on:
Blocks:
 
 
Reported: 2006-09-24 18:24 UTC by Sven Arvidsson
Modified: 2007-04-02 13:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Sven Arvidsson 2006-09-24 18:24:03 UTC
The Totem plugin fails to play this trailer http://www.apple.com/trailers/touchstone/apocalypto/teaser_small.html 
I can see the video window, but it never plays, no error messages. Debug output from Epiphany follows below.

If I try to load the URL in Totem I get an error "Internal data flow error" and this error "** Message: don't know how to handle audio/mpeg, mpegversion=(int)4, framed=(boolean)true, rate=(int)44100, channels=(int)2".

If I dump the stream with MPlayer, Totem plays the file (with the same error message on the terminal) but with no sound.

Using Gstreamer 0.10.10-1.



** Message: totem_plugin_new_instance
totemNarrowSpacePlugin ctor [0x8958238]
mode 1
mime type: video/quicktime
argv[0] src http://movies.apple.com/movies/touchstone/apocalypto/apocalypto-tsr1_h.320.mov
argv[1] pluginspage http://www.apple.com/quicktime/download/
argv[2] controller TRUE
argv[3] target myself
argv[4] type video/quicktime
argv[5] height 188
argv[6] width 320
** Message: plugin_get_value 14 (e)

** Message: plugin_set_window
** Message: waiting for data to come
** Message: leaving plugin_set_window
** Message: plugin_set_window
** Message: existing window
** Message: resize
** Message: leaving plugin_set_window
** Message: plugin_new_stream
** Message: plugin_new_stream type: video/quicktime url: http://movies.apple.com/movies/touchstone/apocalypto/apocalypto-tsr1_h.320.mov
** Message: Is dual type 'video/quicktime'

** Message: Launching: /usr/lib/totem/totem-mozilla-viewer --xid 44041758 --width 320 --height 188 --url http://movies.apple.com/movies/touchstone/apocalypto/apocalypto-tsr1_h.320.mov --target myself --mimetype video/quicktime fd://0

** Message: waiting for signal org.totem_2857.MozillaPluginService
** Message: Received notification for :1.26

** Message: Received notification for :1.26

** Message: Received notification for org.totem_2857.MozillaPluginService

** Message: Received notification for org.totem_2857.MozillaPluginService

** Message: Done forking, new proxy=0x888a730
** Message: plugin_stream_as_file: /home/sa/.gnome2/epiphany/mozilla/epiphany/Cache/3BCDCED3d01
CMD line: /usr/lib/totem/totem-mozilla-viewer --xid 44041758 --width 320 --height 188 --url http://movies.apple.com/movies/touchstone/apocalypto/apocalypto-tsr1_h.320.mov --target myself --mimetype video/quicktime fd://0
** Message: Setting the current path to /home/sa/.gnome2/epiphany/mozilla/epiphany/Cache/3BCDCED3d01
** Message: plugin_stream_as_file

** Message: plugin_destroy_stream, reason: 0
** Message: totem_embedded_open 'file:///home/sa/.gnome2/epiphany/mozilla/epiphany/Cache/3BCDCED3d01'
** Message: url: http://movies.apple.com/movies/touchstone/apocalypto/apocalypto-tsr1_h.320.mov
** Message: redirect: apocalypto-tsr1_h320.mov
** Message: totem_embedded_open 'http://movies.apple.com/movies/touchstone/apocalypto/apocalypto-tsr1_h320.mov'
** Message: don't know how to handle audio/mpeg, mpegversion=(int)4, framed=(boolean)true, rate=(int)44100, channels=(int)2

** (<unknown>:2857): WARNING **: Error: Internal data flow error. (gstbasesrc.c(1569): gst_base_src_loop (): /play/source:
streaming task paused, reason not-linked (-1))
** Message: totem_embedded_open 'http://movies.apple.com/movies/touchstone/apocalypto/apocalypto-tsr1_h320.mov'
** Message: don't know how to handle audio/mpeg, mpegversion=(int)4, framed=(boolean)true, rate=(int)44100, channels=(int)2
** Message: plugin_destroy
totemNarrowSpacePlugin dtor [0x8958238]
Comment 1 Baptiste Mille-Mathias 2006-09-24 18:37:01 UTC
Working fine here with totem-gstreamer  2.16.1, gstreamer 0.10.10 and
gstreamer0.10-alsa 0.10.10-1ubuntu1
gstreamer0.10-esd 0.10.4-0ubuntu3
gstreamer0.10-ffmpeg 0.10.1-2ubuntu1
gstreamer0.10-gnomevfs 0.10.10-1ubuntu1
gstreamer0.10-pitfdll 0.9.1.1+cvs20060515-1
gstreamer0.10-plugins-bad 0.10.3+cvs20060918-0ubuntu1
gstreamer0.10-plugins-bad-multiverse 0.10.3+cvs20060918-1
gstreamer0.10-plugins-bad-multiverse-dbg 0.10.3+cvs20060918-1
gstreamer0.10-plugins-base 0.10.10-1ubuntu1
gstreamer0.10-plugins-base-apps 0.10.10-1ubuntu1
gstreamer0.10-plugins-base-dbg 0.10.10-1ubuntu1
gstreamer0.10-plugins-good 0.10.4-0ubuntu3
gstreamer0.10-plugins-good-dbg 0.10.4-0ubuntu3
gstreamer0.10-plugins-ugly 0.10.4-0ubuntu2
gstreamer0.10-plugins-ugly-dbg 0.10.4-0ubuntu2
gstreamer0.10-plugins-ugly-multiverse 0.10.4-2
gstreamer0.10-plugins-ugly-multiverse-dbg 0.10.4-2
gstreamer0.10-x 0.10.10-1ubuntu1
libgstreamer-plugins-base0.10-0 0.10.10-1ubuntu1
libgstreamer-plugins-base0.10-dev 0.10.10-1ubuntu1
Comment 2 Sven Arvidsson 2006-09-24 20:26:49 UTC
ii  gstreamer0.10-alsa                0.10.9-2  
ii  gstreamer0.10-doc                 0.10.10-1 
ii  gstreamer0.10-ffmpeg              0.10.1-2 
ii  gstreamer0.10-gnomevfs            0.10.9-2
ii  gstreamer0.10-gnonlin             0.10.5-1
ii  gstreamer0.10-plugins-bad         0.10.3-3
ii  gstreamer0.10-plugins-base        0.10.9-2
ii  gstreamer0.10-plugins-good        0.10.3-3
ii  gstreamer0.10-plugins-ugly        0.10.4-1
ii  gstreamer0.10-tools               0.10.10-1
ii  gstreamer0.10-x                   0.10.9-2
ii  libgstreamer0.10-0                0.10.10-1
ii  libgstreamer0.10-dev              0.10.10-1

These are my installed Gstreamer 0.10 packages on Debian unstable.
Comment 3 Tim-Philipp Müller 2006-09-25 08:49:42 UTC
You'll need to install the 'faad' plugin from gst-plugins-bad for this to work.

There really should be an error message of course. Bug #357066 tracks this problem of the missing error dialog/message. The internal flow error is probably fixed in -bad CV, probably due to bad aggregation/accumulation of flow return values by the demuxer I think.

Marking as duplicate of #357066, please re-open if you still have problems after installing the 'faad' element.


*** This bug has been marked as a duplicate of 357066 ***
Comment 4 Tim-Philipp Müller 2006-11-02 13:16:37 UTC
I think the problem here was actually that the totem-mozilla-viewer didn't catch errrors that occur after the stream has started playing. This is fixed in totem CVS now.
Comment 5 Sven Arvidsson 2006-12-18 23:45:37 UTC
> please re-open if you still have problems after installing the 'faad' element.

Hi,

I still have trouble getting the trailer to play. Totem doesn't even play the dumped file anymore.

I have been using gst-plugins-bad 0.10.3, with version 2.5 of faad. gst-launch gives this error message,

gst-launch-0.10 playbin uri=file:///home/sa/Media/Sample/film.mov 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /playbin0/decodebin0/faad0: Could not decode stream.
Additional debug info:
gstfaad.c(1314): gst_faad_chain (): /playbin0/decodebin0/faad0:
faacDecInit2() failed
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

I also tried the version in CVS as of yesterday (20061219) with the same result. I noticed that Baptiste Mille-Mathias who could play the file uses Ubuntu, they ship a much earlier version of faad, 2.0.0+cvs20040908.

I'm not sure if this is a bug in GStreamer, faad, or the Debian packages. My other video players (MPlayer, ffplay) seems to use an inline copy of faad. They all play the video fine.
Comment 6 Tim-Philipp Müller 2006-12-19 09:36:50 UTC
Is this on a 32 or a 64 bit machine? What's the output of  uname -a ?

Comment 7 Sven Arvidsson 2006-12-19 09:47:42 UTC
32 bit.

Linux zoe 2.6.18-2-686 #1 SMP Wed Nov 8 19:52:12 UTC 2006 i686 GNU/Linux
Comment 8 Sven Arvidsson 2006-12-19 11:12:52 UTC
I'm not sure if it's relevant, but the audio is processed correctly by faad if I extract it from the video file with mplayer -dumpaudio.
Comment 9 Tim-Philipp Müller 2006-12-19 11:48:41 UTC
I suspect it's got to do with the faad version debian is shipping and possibly involved API/ABI changes (or the redefinition of the wrong headers in previous versions of faad that we do in our file). There are similar bugs open about this which may or may not be related (those only affect 64-bit systems though apparently).
Comment 10 Sven Arvidsson 2006-12-19 18:08:58 UTC
Could this be related to the patches the Debian package apply?

http://www.whiz.se/temp/01_configure.dpatch
http://www.whiz.se/temp/02_faad.dpatch
Comment 11 Sven Arvidsson 2007-01-16 11:23:46 UTC
Hi,

Playback now works fine, I'm still running 0.10.3 of gst-plugins-bad. Seems like this change in the Debian faad packages did the trick:

  * Compile without Digital Radio Mondiale support, as it breaks base
    functionality
Comment 12 Baptiste Mille-Mathias 2007-04-02 13:09:41 UTC
Sven,

this bug can be closed?

regards
Comment 13 Sven Arvidsson 2007-04-02 13:22:07 UTC
Yes, thanks for the reminder. I'm closing as NOTGNOME as this was a problem specific to the Debian package.