Using playbin2 causes high CPU load on embedded system
Icarus Alive
icarus.alive at gmail.com
Tue Oct 11 12:11:47 PDT 2011
On Tue, Oct 11, 2011 at 6:56 PM, M. Amirul Syahmi
<amirulsyahmi at gmail.com> wrote:
> Try to play it using Hardware accleration
That might help, assuming your system has HW-acceleration. Also, I've
found that some non-gst based apps (e.g. vlc) plays a media
file/stream lot more smoothly than a gst pipeline, without
HW-acceleration. Tested in a Virtualbox setup with HW acceleration
disabled in guestOS.
> On Tue, Oct 11, 2011 at 9:17 PM, stuart68 <stuart68 at gmail.com> wrote:
>>
>> Hi
>>
>> I added the following flags to help, but it was still not enough:
>>
>> g_object_set(G_OBJECT(playBin),
>> "buffer-size", 150000,
>> "flags", 0x02,
>> NULL);
>>
>> This helps to reduce the memory being used, but there is nothing I have
>> found that helps to reduce CPU load.
>>
More information about the gstreamer-devel
mailing list