Fwd: doubts about subtitle in Gstreamer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: doubts about subtitle in Gstreamer

Ronald S. Bultje-3
Can someone help this guy?

Ronald

Begin forwarded message:

From: 刘照华 <[hidden email]>
Date: July 9, 2009 11:02:33 PM EDT
To: [hidden email]
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,
[hidden email]

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel