<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
what's done is:<br>
&nbsp;- enc_lib=gst_plugin_load_file("libffmpeg_plugin.so", &amp;err)<br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
&nbsp;- encoder=gst_element_factory_make("ffenc_h263"<font color="#000000"><span
 style="color: rgb(221, 0, 0);"></span>,</font> "encoder")<br>
&nbsp;- use the encoder in a pipeline<br>
&nbsp;- play pipeline<br>
&nbsp;- destroy pipeline<br>
&nbsp;- unref(enc_lib)<br>
<br>
next:<br>
&nbsp;- enc_lib=gst_plugin_load_file("libffmpeg_plugin.so", &amp;err)<br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
&nbsp;- encoder=gst_element_factory_make("ffenc_h263"<font color="#000000"><span
 style="color: rgb(221, 0, 0);"></span>,</font> "encoder")<br>
<br>
encoder element is not created this time (whereas the same thing done
with a tee element, for instance, works perfectly) and is set to NULL.<br>
<br>
Hope that helps understand,<br>
G&eacute;raldine<br>
<br>
<br>
Thomas Vander Stichele wrote:
<blockquote cite="mid1148473450.10564.134.camel@otto.amantes"
 type="cite">
  <pre wrap="">On Mon, 2006-05-22 at 14:38 +0200, Geraldine Rougier wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">When I create a new ffmpeg element with
"pl_encoder = gst_element_factory_make("ffenc_h263", "encoder");"
and I make it run into a bin everything is ok the first time.
But, if I stop encoding, then unload the ffmpeg plugin library, reload
ffmpeg plugin library
    </pre>
  </blockquote>
  <pre wrap=""><!---->
What do you mean by unloading and reloading ?

Thomas




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
<a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=107521&amp;bid=248729&amp;dat=121642</a>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a>
  </pre>
</blockquote>
</body>
</html>