Page 1 of 1

CPU at 100%

Posted: 24 Jan 2016 20:33
by Supercorp
Hello,
I use VLCKit inside my tvOs app and with 2.7.2, I've got a lot of freeze and what I saw is that the AppleTv cpu is up to 100%. The process which takes all the CPU ressources is h264 decoding.
Are you aware of this or do you want or need some more details from me ?

Thanks.
Supercorp.

Re: CPU at 100%

Posted: 25 Jan 2016 09:04
by fkuehne
We are not aware of that and we need more information about the played media as well as an Instruments analysis.

Re: CPU at 100%

Posted: 25 Jan 2016 13:07
by Supercorp
Thanks you for your answer. I will give you more information about that this evening. What kind of instrument file do you want ?

Re: CPU at 100%

Posted: 25 Jan 2016 18:26
by Supercorp
Hi,
Here are the files. I hope it will help you to solve the problem.
For information, movie is stream over wifi to the AppleTv.
Thank you.

http://syntv.cybernatif.com/files.zip

Re: CPU at 100%

Posted: 25 Jan 2016 22:13
by fkuehne
Impressive, thanks for sharing the traces. The used H264 profile is definitely supported, too. :/

Can you share an excerpt of the sample file with us on http://streams.videolan.org/upload/ ?

Thanks!

Re: CPU at 100%

Posted: 25 Jan 2016 23:41
by Supercorp
Thank you. I just upload a sample of the movie with the link you give to me.

Re: CPU at 100%

Posted: 26 Jan 2016 18:00
by Supercorp
Hello,
Did you receive the sample file ?

Thanks

Re: CPU at 100%

Posted: 27 Jan 2016 21:18
by fkuehne
Yep, thanks! I couldn't check it thoroughly yet, as my Apple TV is currently some 9500km away :)

Will do next week.

Re: CPU at 100%

Posted: 27 Jan 2016 21:37
by Supercorp
Ok no problem thank you very much

Re: CPU at 100%

Posted: 29 Jan 2016 07:13
by Supercorp
Hello,
Face to this problem, do you recommend me to use the master branch with videotoolbox inside ?

Thanks

Re: CPU at 100%

Posted: 29 Jan 2016 18:43
by Supercorp
For information, I've tried with VLCKit 3.0 and the same file and the result is the same... so CPU is more than 100% and FPS go down to about 10.
Thanks

Re: CPU at 100%

Posted: 29 Jan 2016 22:41
by Supercorp
Sorry i got questions about v3.0
How to enable Videotoolbox it seems disable ?
How can I check if it's enabled ?

I activate debugLogging but no trace of hardware acceleration ?

Thanks

Re: CPU at 100%

Posted: 01 Feb 2016 17:50
by Supercorp
Hello,
I'm sorry for that post but have you got any news for my problem ?

Thanks