<div dir="ltr">I would be interested in an answer to this i asked a similar question a while back and have still not figured it out, i tend to agree it feels like liveaddr is just broke adder seems to work but everthing goes strange when i switch possibly something i am doing but there is a lack of information for liveaddr.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 5:19 PM, johnwesting <span dir="ltr"><<a href="mailto:john.blank.westing@gmail.com" target="_blank">john.blank.westing@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm having trouble getting the liveadder element to work.<br>
<br>
This pipeline works:<br>
<br>
gst-launch filesrc location=tone.mp3 ! flump3dec ! adder ! alsasink<br>
<br>
This does not:<br>
<br>
gst-launch filesrc location=tone.mp3 ! flump3dec ! liveadder ! alsasink<br>
<br>
The output from the second pipeline is audio mostly filled with gaps. I read<br>
several posts on this forum, and also looked at the liveadder source and<br>
determined that the problem was likely due to invalid timestamps in the<br>
pipeline. So I modified my own decoder to set exact timestamps and durations<br>
on the outgoing buffers.<br>
<br>
After the change I ran this pipeline:<br>
<br>
gst-launch filesrc location=./myformat.myf ! myparse ! mydec ! liveadder !<br>
alsasink<br>
<br>
There is 0 sound coming from alsasink.<br>
<br>
I ran the following pipeline to get some debug information:<br>
<br>
GST_DEBUG=liveadder:5 gst-launch -v --gst-debug-level=2 filesrc<br>
location=./myformat.myf ! myparse ! mydec ! liveadder ! alsasink<br>
<br>
The output can be found here: <a href="http://pastebin.com/MvXtFKQ3" target="_blank">http://pastebin.com/MvXtFKQ3</a>. I don't see any<br>
errors or warnings that look relevant to the problem. It does look like the<br>
src caps of liveadder are never set even though the sink caps are. The same<br>
pipeline works when liveadder is replaced with adder. What is going on? Does<br>
this element work?<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Using-liveadder-tp4659841.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Using-liveadder-tp4659841.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>
</blockquote></div><br></div>