High CPU usage in multiple audio track in playbin3
HoonHee Lee
hoonh83.lee at gmail.com
Mon Aug 22 07:24:21 UTC 2016
Dear All.
In playbin3(decodebin3) with GST v1.9.1, CPU usage is more high compared
with playbin2(decodebin2) when multiple audio track contents.
I tested 1-video and 8-audio stream by launching gst-launch.
Multiqueue is set as below in playbin3.
=> g_object_set (dbin->multiqueue, "sync-by-running-time", TRUE,
"use-interleave", TRUE, "max-size-buffers", 0, NULL);
In that case, CPU usage is around *210*%. And most of them are related with
*srcpads of multiqueue*.
In playbin2(decodebin2), CPU usage is around *15*%.
And I turned off the *'sync-by-running-time'* in MQ and CPU usage is similar
with playbin2.
I am guessing 'sync-by-running-time' mode consumes much more CPU usage than
playbin2.
Look at the captured image with top command.
Test Result in Playbin3
:
<http://gstreamer-devel.966125.n4.nabble.com/file/n4679179/desktop_playbin3_1.png>
:
<http://gstreamer-devel.966125.n4.nabble.com/file/n4679179/desktop_playbin3_2.png>
Test Result in Playbin2
:
<http://gstreamer-devel.966125.n4.nabble.com/file/n4679179/desktop_playbin2_1.png>
:
<http://gstreamer-devel.966125.n4.nabble.com/file/n4679179/desktop_playbin2_2.png>
Test Result in Playbin3 with turning off 'sync-by-running-time'
:
<http://gstreamer-devel.966125.n4.nabble.com/file/n4679179/desktop_playbin3_off_sync_by_running_time_1.png>
:
<http://gstreamer-devel.966125.n4.nabble.com/file/n4679179/desktop_playbin3_off_sync_by_running_time_2.png>
*Dear Edward Hervey, Tim-Philipp Müller and Jan Schmidt*
1) Do you have similar phenomenon?
2) Do you have a plan to reduce CPU usage when using "sync-by-running-time"?
3) May I get any opinions or guide to reduce CPU usage?
Please refer https://harmony.lge.com:8443/issue/browse/CTRGST-288.
I am always welcome any questions and opinions.
Thanks.
And
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/High-CPU-usage-in-multiple-audio-track-in-playbin3-tp4679179.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list