[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 at gmail.com
Tue Aug 23 23:17:57 PDT 2011
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.
2011/8/24 Sebastian Dröge <sebastian.droege at collabora.co.uk>:
> 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.
> 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
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel