<html><body bgcolor="#FFFFFF"><div>Can someone help this guy?</div><div><br><div>Ronald</div></div><div><br>Begin forwarded message:<br><br></div><blockquote type="cite"><div><b>From:</b> 刘照华 &lt;<a href="mailto:mervynliu@gmail.com">mervynliu@gmail.com</a>><br><b>Date:</b> July 9, 2009 11:02:33 PM EDT<br><b>To:</b> <a href="mailto:rbultje@ronald.bitfreak.net"><a href="mailto:rbultje@ronald.bitfreak.net">rbultje@ronald.bitfreak.net</a></a><br><b>Subject:</b> <b>doubts about subtitle in Gstreamer</b><br><br></div></blockquote><div></div><blockquote type="cite"><div><div><br clear="all">Dear Ronald,</div>
<div>Firstly, please forgive me for disturbing you.</div>
<div>I have download a .mkv file and the .srt subtitle file.</div>
<div>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:</div>
<div>Q: should I use the playbin or subparse element? In playbin, I saw the uri propriety which&nbsp;seems to&nbsp;download the subtitle from Internet.</div>
<div>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.</div>

<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; srtparse = gst_element_factory_make("subparse", "srtparser");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(!srtparse)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(" -> Failed to create subparse component\n");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>

<div>the error also happens even when I change the subparse to ssaparse.</div>
<div>Could you spend a little time to give me some advice?<br>-- <br>Regards &amp; thanks,<br><a href="mailto:mervynliu@gmail.com"><a href="mailto:mervynliu@gmail.com">mervynliu@gmail.com</a></a> </div>
</div></blockquote></body></html>