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@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@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 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Wed, 2011-08-24 at 13:22 +0800, bcxa sz wrote:
> 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. Hi, this happens because there's no real typefinder for SSA subtitles and the XDG typefinder uses the "official" mimetype for SSA subtitles. Even if both caps would be the same this wouldn't work though, we currently don't support SSA/ASS subtitles from external files. See https://bugzilla.gnome.org/show_bug.cgi?id=625113 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (205 bytes) Download Attachment |
Hi Sebastian,
yes, you are right. I just saw gstssaparse.c. And in gst_ssa_parse_setcaps(), I found that GST_ERROR ("Only SSA subtitles embedded in containers are supported"); It means that ssaparse is only used for ssa subtitle embedded in the container. I think external .ssa or .ass are popular. Let me know if I am wrong. best regards BCXA 2011/8/24 Sebastian Dröge <[hidden email]>: > On Wed, 2011-08-24 at 13:22 +0800, bcxa sz wrote: >> 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. > > Hi, > this happens because there's no real typefinder for SSA subtitles and > the XDG typefinder uses the "official" mimetype for SSA subtitles. > > Even if both caps would be the same this wouldn't work though, we > currently don't support SSA/ASS subtitles from external files. See > https://bugzilla.gnome.org/show_bug.cgi?id=625113 > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |