<html>
<body>
<div style='font: 12pt sans-serif;'>
  
    
  
  
  <br />
  <blockquote class="ukr_editor_quotation" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">2010/1/21 Sergiy Skuratov &lt;skuratov@ukr.net&gt;:
  <br />&gt;
  <br />&gt;&gt;&gt; hello!
  <br />&gt;&gt;&gt; if use "gst-launch playbin uri=file:///absolut/path/to/file", playbin use
  <br />&gt;&gt;&gt; filesrc element by default.
  <br />&gt;&gt;&gt; I'm created new file source, e.g. "newfilesrc", and I need that playbin
  <br />&gt;&gt;&gt; use
  <br />&gt;&gt;&gt; it. how can I do it?
  <br />&gt;&gt;
  <br />&gt;&gt; In this particular case, you should explain why you want to replace
  <br />&gt;&gt; filesrc, and add the features you need to filesrc - or (more likely)
  <br />&gt;&gt; we can suggest a better way to accomplish your goals.
  <br />&gt;&gt;
  <br />&gt;&gt; To more directly answer your question, playbin2 (you should be using
  <br />&gt;&gt; this instead of playbin) will select the highest-ranked element that
  <br />&gt;&gt; can handle the uri it's given, so you'd give your new element a higher
  <br />&gt;&gt; rank than filesrc.
  <br />&gt;&gt;
  <br />&gt;&gt; Mike
  <br />&gt;&gt;
  <br />&gt;&gt;
  <br />&gt;&gt; I need read files ciphered other my program, and deciph it. no file sourse
  <br />&gt;&gt; element, which can do it.
  <br />&gt;&gt; really, playbin2 works like I need -- it takes my newfilesrc!
  <br />&gt;&gt; so thank you again
  <br />
  <br />&gt; You should write a decoder element to decode your format then -
  <br />&gt; replacing the source element is a bad design. It means you won't be
  <br />&gt; able to read your format from elsewhere - this is a pretty basic part
  <br />&gt; of designing gstreamer plugins.
  <br />
  <br />&gt; Mike
  <br />
  <br /></blockquote>
  <br />
  <br />I see. but, at this time, I needn't more.
  <br />
  <br />  Sergiy
  <br />


</div></body>
</html>