kate decoder not detected even though it is installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gst-plugins-bad0.10 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Even though the kate decoder plugin is installer it is not detected by gstreamer and/or dependent applications. The file I was trying to play is at [1].
onkar@iBook:~$ gst-inspect-0.10 katedec|head -35
(gst-inspect-
Factory Details:
Long name: Kate stream text decoder
Class: Codec/Decoder/
Description: Decodes Kate text streams
Author(s): Vincent Penquerc'h <email address hidden>
Rank: none (0)
Plugin Details:
Name: kate
Description: Kate plugin
Filename: /usr/lib/
Version: 0.10.14
License: LGPL
Source module: gst-plugins-bad
Binary package: GStreamer Bad Plugins (Ubuntu)
Origin URL: https:/
GObject
+----GstObject
Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
subtitle/
SRC template: 'src'
Availability: Always
Capabilities:
text/plain
text/
video/
Here is the output I get when trying to play the file with subtitles in kate format using playbin.
onkar@iBook:
(gst-launch-
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPlayBin2:
Additional debug info:
gsturidecodebin
WARNING: from element /GstPlayBin2:
Additional debug info:
gsturidecodebin
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
Also find attached the screenshot of totem's plugin search when I try to play the file.
The problem seems to be because katedec does not have a rank assigned. Hence playbin does not automatically plug the decoder. This was changed in upstream git at [2]. If someone can confirm that this works in latest updated Lucid, I will work on SRU for karmic.
[1] http://
[2] http://
ProblemType: Bug
Architecture: powerpc
Date: Mon Mar 8 23:56:02 2010
DistroRelease: Ubuntu 9.10
Package: gstreamer0.
ProcEnviron:
LANG=en_IN
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gst-plugins-bad0.10
Uname: Linux 2.6.31-19-powerpc ppc
SRU information:
Justification - Makes kate decoder element in gstreamer useless for normal use (out of box).
Fix - Bug has been fixed by upstream by assigning a primary rank to katedec element. The relevant release version is 0.10.17.
TEST CASE:
1. Install gstreamer0.
2. Download file http://
3. Try to play file with totem.
4. Expected result - Totem plays file immediately and shows subtitles in English.
5. Actual result - Totem tries to search gstreamer plugins for Kate subtitle format.
Regression potential - None. In karmic the kate decoder element is not autoplugged by playbin. With this change there is no loss of functionality but instead there is improvement.
leopard@ps6432:~$ gst-inspect-0.10 katedec|head -35 Subtitle
Factory Details:
Long name: Kate stream text decoder
Class: Codec/Decoder/
Description: Decodes Kate text streams
Author(s): Vincent Penquerc'h <email address hidden>
Rank: primary (256)
Plugin Details: gstreamer- 0.10/libgstkate .so /launchpad. net/distros/ ubuntu/ +source/ gst-plugins- bad0.10
Name: kate
Description: Kate plugin
Filename: /usr/lib/
Version: 0.10.17
License: LGPL
Source module: gst-plugins-bad
Binary package: GStreamer Bad Plugins (Ubuntu)
Origin URL: https:/
GObject
+----GstElement
+ ----GstKateDec
+----GstObject
Pad Templates: x-kate
SINK template: 'sink'
Availability: Always
Capabilities:
subtitle/
SRC template: 'src' x-pango- markup x-dvd-subpictur e
Availability: Always
Capabilities:
text/plain
text/
video/
The video plays properly on totem.
leopard@ps6432:~$ gst-launch-0.10 playbin2 uri=file: ///home/ leopard/ Desktop/ Stephen_ Fry-Happy_ Birthday_ GNU-nq_ 600px_425kbit. ogv playbin20/ GstPlaySink: playsink0/ GstBin: tbin/GstSubtitl eOverlay: suboverlay: Internal GStreamer error: negotiation problem. Please file a bug at http:// bugzilla. gnome.org/ enter_bug. cgi?product= GStreamer. lay.c(736) : _pad_blocked_cb (): /GstPlayBin2: playbin20/ GstPlaySink: playsink0/ GstBin: tbin/GstSubtitl eOverlay: suboverlay: playbin20/ GstPlaySink: playsink0/ GstBin: tbin/GstSubtitl eOverlay: suboverlay: Internal GStreamer error: negotiation problem. Please file a bug at http:// bugzilla. gnome.org/ enter_bug. cgi?product= GStreamer. lay.c(736) : _pad_blocked_cb (): /GstPlayBin2: playbin20/ GstPlaySink: playsink0/ GstBin: tbin/GstSubtitl eOverlay: suboverlay:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPlayBin2:
Additional debug info:
gstsubtitleover
Subtitle sink is blocked but we have no subtitle caps
WARNING: from element /GstPlayBin2:
Additional debug info:
gstsubtitleover
Subtitle sink is blocked but we have no subtitle caps
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock