@John,

SRU information added. Please let me know if anything is missing.

** Description changed:

  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].
  
  on...@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 <ogg.k.og...@googlemail.com>
    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
  
  GObject
   +----GstObject
         +----GstElement
               +----GstKateDec
  
  Pad Templates:
    SINK template: 'sink'
      Availability: Always
      Capabilities:
        subtitle/x-kate
  
    SRC template: 'src'
      Availability: Always
      Capabilities:
        text/plain
        text/x-pango-markup
        video/x-dvd-subpicture
  
  Here is the output I get when trying to play the file with subtitles in kate 
format using playbin.
  on...@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.
  
  [1] 
http://stallman.org/fry/Stephen_Fry-Happy_Birthday_GNU-nq_600px_425kbit.ogv
  [2] 
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=23e07bc1974bfa67878013fe7325eb60b0b757ab
  
  ProblemType: Bug
  Architecture: powerpc
  Date: Mon Mar  8 23:56:02 2010
  DistroRelease: Ubuntu 9.10
  Package: gstreamer0.10-plugins-bad 0.10.14-4ubuntu1
  ProcEnviron:
   LANG=en_IN
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-19.56-powerpc
  SourcePackage: gst-plugins-bad0.10
  Uname: Linux 2.6.31-19-powerpc ppc
  
  
- SRU Justification: Makes kate decoder element in gstreamer useless for
- normal use.
+ 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.10-plugins-bad package.
+ 2. Download file 
http://stallman.org/fry/Stephen_Fry-Happy_Birthday_GNU-nq_600px_425kbit.ogv
+ 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.

-- 
kate decoder not detected even though it is installed
https://bugs.launchpad.net/bugs/534561
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to