[gst-devel] Fwd: doubts about subtitle in Gstreamer

Ronald S. Bultje rsbultje at gmail.com
Sat Jul 11 03:48:18 CEST 2009

Can someone help this guy?


Begin forwarded message:

> From: 刘照华 <mervynliu at gmail.com>
> Date: July 9, 2009 11:02:33 PM EDT
> To: rbultje at ronald.bitfreak.net
> Subject: doubts about subtitle in Gstreamer

> Dear Ronald,
> Firstly, please forgive me for disturbing you.
> I have download a .mkv file and the .srt subtitle file.
> Now I want to develop a media to show the .srt file on OSD when I  
> play the .mkv file. I have met some questions:
> Q: should I use the playbin or subparse element? In playbin, I saw  
> the uri propriety which seems to download the subtitle from Internet.
> Q: I see the subparse folder in gst-plugins-base-0.10.22\gst, and  
> this folder has compiled and built, because I can see  
> libgstsubparse_la-gstsubparse.lo has generated. but when I run the  
> gst_element_factory_make to generate element, it returns NULL which  
> makes the error msg printed.
>         srtparse = gst_element_factory_make("subparse", "srtparser");
>         if(!srtparse)
>         {
>              printf(" -> Failed to create subparse component\n");
>         }
> the error also happens even when I change the subparse to ssaparse.
> Could you spend a little time to give me some advice?
> -- 
> Regards & thanks,
> mervynliu at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090710/4be24f58/attachment.htm>

More information about the gstreamer-devel mailing list