<div dir="ltr"><div><div><div>Thanksvfor the suggestions Stefan, i have been playing around with caps and pads but not getting very far, thought I would post the older working but incorrectly versions here.<br><br><a href="http://pastebin.com/Wm3QqV5m">http://pastebin.com/Wm3QqV5m</a><br>
<a href="http://pastebin.com/5jC02KRp">http://pastebin.com/5jC02KRp</a><br><br></div>first is the write raw data file the second is the read, my understanding is i need to create a caps and pad it to the pipeline, then the read should play it correctly.<br>
<br></div>there is also extra debug code in this that generates the dot files and displays them, the code is written using gstremer 1.0 framework with python.<br><br></div>I am looking to make some working examples out of my programs for others to use, because there is a lack of examples on the newer 1.0 series so would be nice to make some available, with this in mind if i am doing anything very wrong in my pipelines please let me know so i dont parse on bad examples.<br>
<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 1, 2013 at 6:54 PM, Stefan Sauer <span dir="ltr"><<a href="mailto:ensonic@hora-obscura.de" target="_blank">ensonic@hora-obscura.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="im">
<div>On 05/30/2013 11:56 PM, Oly wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>I have bee experimenting with gstreamer, mainly
looking at ways to speed up audio mixing.<br>
<br>
</div>
I have created this pipeline filesrc > wavparse >
filesink which creates a file now i am trying to play the
file using filesrc > audioparse > alsasink.<br>
</div>
</div>
</div>
</div>
</blockquote></div>
the first pipeline creates a raw audio file without and metadata.
Thus you need to check the negotiated caps (e.g. signed-16bit, 1
channel, 48khz) and use a caps filter on the 2nd pipeline after
filesrc to add the format info again. <br><div class="im">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<br>
</div>
The problem is the ouput sound is a beep and not the
original sound, if i parse the first pipline to alsasink it
plays fine however, what am i missing ?<br>
</div>
</div>
</div>
</blockquote></div>
if you give some more context we might be able to suggest you
alternative approaches.<br>
<br>
Stefan<br>
<blockquote type="cite"><div class="im">
<div dir="ltr">
<div>
<div><br>
</div>
Basically i am looking at playing, seeking and mixing audio
together with as little delay as possible, so any suggestions
on pipelines for this would also be appreciated, but i would
like to understand what may be the cause with the second
program playing a different noise.<br>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div><pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</div>
<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>
<br></blockquote></div><br></div>