[gst-plugins-base-0.10.32] playbin2 detects 'text/x-ssa' not 'application/x-ssa' or 'application/x-ass' when play ass subtitle

bcxa sz bcxa.sz at gmail.com
Tue Aug 23 22:22:18 PDT 2011


Hi Developer,

Just tried one avi file with .ass subtitle and found that there is no
approprate subtitle element picked up by playbin2 because the type
found is 'text/x-ssa'.

And the caps of ssaparse is 'application/x-ssa' or
'application/x-ass'. So it seemed that the gstreamer had issue to
playback .ass/.ssa subtitle.

[liud at fedora14 x86-source]$ gst-launch playbin2
uri=file:///mnt/winhost/sub_9/SUB-08.avi
suburi=file:///mnt/winhost/sub_9/SUB-08.en.ass  --gst-debug=2
PROP_URI file:///mnt/winhost/sub_9/SUB-08.avi
PROP_SUBURI file:///mnt/winhost/sub_9/SUB-08.en.ass
Setting pipeline to PAUSED ...
0:00:00.296188803 13473  0x9d7f070 WARN                 default
descriptions.c:985:gst_pb_utils_get_codec_description: No description
available for media type: text/x-ssa
0:00:00.296533109 13473  0x9d7f070 WARN            uridecodebin
gsturidecodebin.c:756:unknown_type_cb:<uridecodebin1> warning: No
decoder available for type 'text/x-ssa'.
0:00:00.296657752 13473  0x9d7f070 WARN              decodebin2
gstdecodebin2.c:3152:gst_decode_bin_expose:<decodebin20> No suitable
plugins found
0:00:00.296682904 13473  0x9d7f070 WARN              decodebin2
gstdecodebin2.c:3154:gst_decode_bin_expose:<decodebin20> error: no
suitable plugins found
0:00:00.296758082 13473  0x9d7f070 WARN                 default
descriptions.c:985:gst_pb_utils_get_codec_description: No description
available for media type: text/x-ssa
0:00:00.296835774 13473  0x9d7f070 WARN              decodebin2
gstdecodebin2.c:1567:analyze_new_pad:<decodebin20> error: A text/x-ssa
decoder plugin is required to play this stream, but not installed.
0:00:00.296868193 13473  0x9d7f070 WARN              decodebin2
gstdecodebin2.c:1567:analyze_new_pad:<decodebin20> error: No decoder
to handle media type 'text/x-ssa'
0:00:00.311817004 13473  0x9ed4230 WARN                 basesrc
gstbasesrc.c:2574:gst_base_src_loop:<source> error: Internal data flow
error.

[liud at fedora14 x86-source]$ gst-inspect ssaparse
Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      application/x-ssa
      application/x-ass

Please let me know whether I am wrong. If I am correct, I will raise
one bugzilla.

best regards

BCXA


More information about the gstreamer-devel mailing list