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 322552 - totem hangs in gst0.9 while playing video files using osssink
totem hangs in gst0.9 while playing video files using osssink
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-27 11:13 UTC by Luca Ognibene
Modified: 2006-02-19 17:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdb output of the blocked totem while playing alien.mpg (7.35 KB, text/plain)
2005-11-27 11:18 UTC, Luca Ognibene
Details
full gst debug (gzipped) (766.20 KB, application/x-gzip)
2005-11-27 11:20 UTC, Luca Ognibene
Details

Description Luca Ognibene 2005-11-27 11:13:18 UTC
This is a followup of #319784.
With current cvs of gst and totem totem hangs while loading video files. I can
reproduce it every time i try to play a avi or a mpeg file. For example i can
reproduce it with world_of_warcraft_m480.ogg and alien.mpg from our test suite.
I can also reproduce it with the file i've linked in the other bug report. All
i've reported in the other bug is still true (i can't reproduce it if i don't
use the gconf*sink, i can reproduce it only on totem). I'll attach a debug log
and a full backtrace.
Comment 1 Luca Ognibene 2005-11-27 11:18:05 UTC
Created attachment 55270 [details]
gdb output of the blocked totem while playing alien.mpg

gdb output of the blocked totem while playing alien.mpg
Comment 2 Luca Ognibene 2005-11-27 11:20:58 UTC
Created attachment 55271 [details]
full gst debug (gzipped)

gzipped output of:
GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:5 ./totem
/mnt/stor/Multimedia/Examples/alien.mpg &>
/home/luogni/totem-hangs-full-log.txt
Comment 3 Michael Smith 2005-11-27 12:17:57 UTC
Does this _really_ happen with all mpeg files? How about avi files (you didn't
mention any specific ones). 

world_of_warcraft_m480.ogg is an incorrectly muxed file, see bug #319618.
Remuxing it causes it to play correctly.

The backtrace from the mpeg decode makes it look like a variant of the same
problem: if one queue fills completely before we've completely prerolled, we
deadlock.
Comment 4 Luca Ognibene 2005-11-27 13:14:44 UTC
at least it happens with all mine mpeg files :)
Avi files:
 - I've found only a file that plays fine: "WobblyWindows.avi" (477kb, really small)

For example these two files hang:
 - http://skaboy.no-ip.org/~luogni/video/IceAge2_trailer.avi
 - http://skaboy.no-ip.org/~luogni/video/order00.avi

Sometimes i can see the first frame of the video and then totem blocks. Sometime
it just blocks after resizing the output window.

As i've said in the other bug report playing these file with the seek example or
using playbin from gst-launch works fine. It also works fine if i
"s/gconfvideosink/xvimagesink s/gconfaudiosink/alsasink" in the gst-0.10 totem's
backend.
Comment 5 Tim-Philipp Müller 2005-11-27 13:22:29 UTC
Does it work as well if you only do one of  s/gconfaudiosink/alsasink/  or
s/gconfvideosink/xvimagesink/ ?
Comment 6 Luca Ognibene 2005-11-27 13:32:46 UTC
I can reproduce it using gconfaudiosink/xvimagesink, alsasink/gconfvideosink
work fine.
Comment 7 Luca Ognibene 2005-11-28 19:07:55 UTC
I can replicate it also with current cvs :(
Comment 8 Luca Ognibene 2005-11-28 19:13:36 UTC
ok, i'm stupid :/
The gconf audio key was pointing to "osssink" and not to "alsasink" as i thought.
Changeing the key to "alsasink" makes totem happy :))
I'm not closing the bug because with osssink totem doesn't work. 
Comment 9 Lionel Dricot 2006-02-19 10:13:54 UTC
Is this bug still relevant in GST 0.10 ? Is osssink still not working ?
Comment 10 Luca Ognibene 2006-02-19 17:28:35 UTC
No, it works fine now! closing :)