<div dir="ltr"><span></span>Hi Tim!<br><div><br><span></span><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
> gst-launch-1.0 -v \<br>
> udpsrc port=10204 caps="application/x-rtp,clock-<wbr>rate=8000,channels=1"<br>
> ! queue ! rtppcmadepay ! alawdec ! \<br>
> liveadder name=mix latency=20000 ! audioconvert ! alsasink<br>
> device="hw:0,0" sync=false \<br>
> udpsrc port=10206 caps="application/x-rtp,clock-<wbr>rate=8000,channels=1"<br>
> ! queue ! rtppcmadepay ! alawdec ! mix. \<br>
> udpsrc port=10208 caps="application/x-rtp,clock-<wbr>rate=8000,channels=1"<br>
> ! queue ! rtppcmadepay ! alawdec ! mix. \<br>
> udpsrc port=10210 caps="application/x-rtp,clock-<wbr>rate=8000,channels=1"<br>
> ! queue ! rtppcmadepay ! alawdec ! mix.<br>
<br>
</span>This doesn't look like something that should take huge amounts of CPU<br>
at first glance.<br></blockquote><div><br></div><div>Yes, i thought so.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
What kind of embedded device is this with?<br></blockquote><div><br></div><div>It is an i.MX287 (454MHz Arm926EJ-S core with 16KB/32KB Cache) <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
What GStreamer version are you using?<br></blockquote><div><br></div><div>1.12.0<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
What do perf or perf top say where the cpu time is spent?<br></blockquote><div><br></div><div>Had to install perf first.<br></div><div>perf top is not usable.</div><div>The top 20 lines of "perf report":</div><div><br></div><div># Samples: 268K of event 'cpu-clock'<br># Event count (approx.): 67059250000<br>#<br># Overhead Command Shared Object Symbol<br># ........ .............. .............................. ...............................................<br>#<br> 9.23% gst-launch-1.0 [kernel.kallsyms] [k] _raw_spin_unlock_irq <br> 4.28% gst-launch-1.0 [kernel.kallsyms] [k] _raw_spin_unlock_irqrestore <br> 3.05% gst-launch-1.0 [kernel.kallsyms] [k] lock_acquire <br> 1.47% gst-launch-1.0 [kernel.kallsyms] [k] _raw_read_unlock_irq <br> 1.44% gst-launch-1.0 [kernel.kallsyms] [k] ktime_get_ts <br> 1.38% gst-launch-1.0 <a href="http://libpthread-2.18.so">libpthread-2.18.so</a> [.] pthread_getspecific <br> 1.21% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] g_slice_alloc <br> 1.16% gst-launch-1.0 libgobject-2.0.so.0.5200.1 [.] g_type_check_instance_is_fundamentally_a <br> 1.10% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] g_slice_free1 <br> 1.08% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] g_private_get <br> 0.95% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] g_mutex_lock <br> 0.87% gst-launch-1.0 [kernel.kallsyms] [k] __do_softirq <br> 0.78% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] g_datalist_get_flags <br> 0.77% gst-launch-1.0 [kernel.kallsyms] [k] lock_release <br> 0.70% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] g_mutex_unlock <br> 0.68% gst-launch-1.0 libgobject-2.0.so.0.5200.1 [.] g_type_check_instance_is_a <br> 0.67% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] 0x0009461c <br> 0.64% gst-launch-1.0 [kernel.kallsyms] [k] vector_swi <br> 0.64% gst-launch-1.0 libgstreamer-1.0.so.0.1200.0 [.] gst_mini_object_unlock <br> 0.64% gst-launch-1.0 libgobject-2.0.so.0.5200.1 [.] g_type_is_a <br> 0.60% gst-launch-1.0 <a href="http://libc-2.18.so">libc-2.18.so</a> [.] syscall <br> 0.59% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] 0x00093828 <br> 0.58% gst-launch-1.0 libgstreamer-1.0.so.0.1200.0 [.] gst_pad_push <br> 0.58% gst-launch-1.0 libgstreamer-1.0.so.0.1200.0 [.] gst_mini_object_lock <br> 0.56% gst-launch-1.0 libgstbadbase-1.0.so.0.1200.0 [.] gst_aggregator_iterate_sinkpads <br> 0.52% gst-launch-1.0 libgstreamer-1.0.so.0.1200.0 [.] gst_buffer_get_sizes_range <br> 0.52% gst-launch-1.0 [kernel.kallsyms] [k] _raw_read_unlock_irqrestore <br> 0.50% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] g_atomic_pointer_get <br> 0.50% gst-launch-1.0 libgstreamer-1.0.so.0.1200.0 [.] gst_buffer_map_range <br> 0.50% gst-launch-1.0 libgobject-2.0.so.0.5200.1 [.] g_object_ref <br> 0.50% gst-launch-1.0 libgstreamer-1.0.so.0.1200.0 [.] gst_mini_object_unref <br> 0.49% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] g_slice_free_chain_with_offset <br> 0.48% gst-launch-1.0 <a href="http://libpthread-2.18.so">libpthread-2.18.so</a> [.] pthread_mutex_lock <br> 0.48% gst-launch-1.0 libgobject-2.0.so.0.5200.1 [.] g_object_unref <br> 0.45% gst-launch-1.0 [kernel.kallsyms] [k] do_sys_poll <br> 0.44% gst-launch-1.0 [kernel.kallsyms] [k] __copy_from_user <br> 0.42% gst-launch-1.0 libgstaudio-1.0.so.0.1200.0 [.] gst_audio_buffer_clip <br> 0.42% gst-launch-1.0 libgstreamer-1.0.so.0.1200.0 [.] gst_iterator_next <br> 0.42% gst-launch-1.0 libgstreamer-1.0.so.0.1200.0 [.] gst_object_unref <br> 0.39% gst-launch-1.0 libgstreamer-1.0.so.0.1200.0 [.] gst_memory_map <br> 0.39% gst-launch-1.0 libglib-2.0.so.0.5200.1 [.] g_atomic_int_get <br> 0.38% gst-launch-1.0 libgobject-2.0.so.0.5200.1 [.] qsort@plt <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
You might also want an rtpjitterbuffer latency=50 or somesuch after<br>
each udpsrc.<br>
<br>
Does your audiomixer use liborc and is it active on your cpu?<br></blockquote><div><br></div>All plugins are compiled with "--enable-orc".</div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><font color="#888888">Greetings</font></div><div class="gmail_extra"><font color="#888888"><br></font></div><div class="gmail_extra"><font color="#888888">Fritz</font><br></div></div></div>