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-0.10:28957): GLib-WARNING **: g_set_prgname() called multiple times
Factory Details:
Long name: Kate stream text decoder
Class: Codec/Decoder/Subtitle
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/gstreamer-0.10/libgstkate.so
Version: 0.10.14
License: LGPL
Source module: gst-plugins-bad
Binary package: GStreamer Bad Plugins (Ubuntu)
Origin URL: https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad0.10
Here is the output I get when trying to play the file with subtitles in kate format using playbin.
onkar@iBook:~/programs$ gst-launch-0.10 playbin2 uri=file:///home/onkar/Desktop/Stephen_Fry-Happy_Birthday_GNU-nq_600px_425kbit.ogv
(gst-launch-0.10:23528): GLib-WARNING **: g_set_prgname() called multiple times
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'subtitle/x-kate'.
Additional debug info:
gsturidecodebin.c(627): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'subtitle/x-kate'.
Additional debug info:
gsturidecodebin.c(627): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
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.
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- 0.10:28957) : GLib-WARNING **: g_set_prgname() called multiple times 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: none (0)
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.14
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/
Here is the output I get when trying to play the file with subtitles in kate format using playbin. ~/programs$ gst-launch-0.10 playbin2 uri=file: ///home/ onkar/Desktop/ Stephen_ Fry-Happy_ Birthday_ GNU-nq_ 600px_425kbit. ogv
onkar@iBook:
(gst-launch- 0.10:23528) : GLib-WARNING **: g_set_prgname() called multiple times playbin20/ GstURIDecodeBin :uridecodebin0: No decoder available for type 'subtitle/x-kate'. .c(627) : unknown_type_cb (): /GstPlayBin2: playbin20/ GstURIDecodeBin :uridecodebin0 playbin20/ GstURIDecodeBin :uridecodebin0: No decoder available for type 'subtitle/x-kate'. .c(627) : unknown_type_cb (): /GstPlayBin2: playbin20/ GstURIDecodeBin :uridecodebin0
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:// stallman. org/fry/ Stephen_ Fry-Happy_ Birthday_ GNU-nq_ 600px_425kbit. ogv cgit.freedeskto p.org/gstreamer /gst-plugins- bad/commit/ ?id=23e07bc1974 bfa67878013fe73 25eb60b0b757ab
[2] http://
ProblemType: Bug 10-plugins- bad 0.10.14-4ubuntu1 ature: Ubuntu 2.6.31- 19.56-powerpc
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