You have to use two more plugins appsrc &appsink<br>So your application will look like<br><br>fread -> {appsrc ! decoder ! appsink } ->fwrite<br><br>Best Luck<br>Kapil<br><br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 7:28 PM, Siber <span dir="ltr"><<a href="mailto:marchenkovadim@mail.ru">marchenkovadim@mail.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello everybody!<br>
<br>
Can I use only one plugin in a pipeline for my application? I want to make a<br>
very simple application: I read some data from a file (e.g with function<br>
fread(....)), then pass the buffer filled with a data from the file to a<br>
decoder and at last I save decoded data to another file (e.g. with function<br>
fwrite(...)). I know that there are special plugins: filesrc and filesink,<br>
but still can I escape necessity of using this plugins and read and save<br>
data "manually"?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Using-only-one-plugin-in-a-pipeline-tp3847453p3847453.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Using-only-one-plugin-in-a-pipeline-tp3847453p3847453.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br><a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> <br>
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)<br><br><br>