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 537599 - [oggdemux] skeleton streams not skipped in ogg
[oggdemux] skeleton streams not skipped in ogg
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.21
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-10 14:14 UTC by j^
Modified: 2008-08-23 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Skip the skeleton stream when a chain is activated. (972 bytes, patch)
2008-08-09 12:00 UTC, Alessandro Decina
committed Details | Review

Description j^ 2008-06-10 14:14:16 UTC
detecting media streams in ogg files with skeleton track fails in gstreamer

/usr/share/doc/python-gst0.10/examples/gstfile.py test.ogv 
Running on test.ogv
Mime Type :	application/x-annodex
Length :	 0m  0s   0
	Audio:  0m  0s   0 	Video:  0m  0s   0
Video :
	0 x 0 @ 0/1 fps
Other unsuported Multimedia stream : application/x-ogg-skeleton, parsed=(boolean)false

this should not happen; instead it should detect the theora and vorbis streams and the corresponding length.
Comment 1 Sebastian Dröge (slomo) 2008-06-11 08:48:30 UTC
Could you attach such file?
Comment 2 j^ 2008-06-11 15:31:47 UTC
i.e. this one: http://pad.ma/v/Vdx5nvud.ogv
Comment 3 Sebastian Dröge (slomo) 2008-06-16 08:19:14 UTC
$ /usr/share/doc/python-gst0.10/examples/gstfile.py Vdx5nvud.ogv 
Running on Vdx5nvud.ogv
Mime Type :	application/x-annodex


It doesn't even try to return length, etc here.
Comment 4 jeff 2008-08-09 03:57:09 UTC
This bug seems to be the same as bug 458404 in the Red Hat bugzilla:

[Fedora] Bug 458404 - x-ogg-skeleton element reported as missing when playing many Ogg Theora videos
https://bugzilla.redhat.com/show_bug.cgi?id=458404

Here are a couple more sample files that exhibit the problem:

http://blip.tv/file/get/Geeko-GregKHTalksAboutTheLinuxKernel503.ogg
http://www.gnome.org/~federico/docs/rpm2git/rpm2git-intro.ogg
Comment 5 Alessandro Decina 2008-08-09 12:00:00 UTC
Created attachment 116224 [details] [review]
Skip the skeleton stream when a chain is activated.
Comment 6 Alessandro Decina 2008-08-09 12:03:52 UTC
The patch above skips the skeleton pad when a chain is activated. 
The skeleton is parsed inside oggdemux anyway. I doubt that there are apps using the skeleton pad directly so I think it's safe to remove it.
Comment 7 Bastien Nocera 2008-08-20 14:39:34 UTC
Really annoying as it pops up the plugin install helper for nearly every recent ogg files.
Comment 8 Bastien Nocera 2008-08-22 23:50:45 UTC
If somebody wants to test the Fedora packages with the patch:
http://koji.fedoraproject.org/koji/taskinfo?taskID=779551
Comment 9 Bastien Nocera 2008-08-23 00:24:06 UTC
Patch works fine for me.

$ python /usr/share/doc/gstreamer-python-0.10.11/examples/gstfile.py ~/Desktop/diffmatte.ogv 
Running on /home/hadess/Desktop/diffmatte.ogv
Mime Type :	application/x-annodex
Length :	 0m 20s 555
	Audio:  0m  0s   0 	Video:  0m 20s 555
Video :
	1280 x 800 @ 9/1 fps
	Codec : Theora
Additional information :
     encoder-version :	3
     nominal-bitrate :	45000
             encoder :	Xiph.Org libTheora I 20071025 3 2 1
    extended-comment :	recordMyDesktop=0.3.7.3
             bitrate :	45000

And removes the error as well.
Comment 10 Sebastian Dröge (slomo) 2008-08-23 09:34:43 UTC
Makes sense I guess... if nobody disagrees I'll commit the patch this evening.
Comment 11 Sebastian Dröge (slomo) 2008-08-23 15:20:06 UTC
2008-08-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

	Patch by: Alessandro Dessina <alessandro nnva org>

	* ext/ogg/gstoggdemux.c: (gst_ogg_demux_deactivate_current_chain),
	(gst_ogg_demux_activate_chain):
	Don't add pads and activate them for skeleton streams. These are already
	handled inside oggdemux. Fixes bug #537599.