iOS hw acceleration question
#1
All,

I have a question related to the Readme.ios. The reame states "Keep in mind that no hardware acceleration will be possible without jailbreaking!"

I have tested a recent build of XBMC on a stock iPad with retina display. I tested a 720P H264 video as well as a 1080P H264 video. They both played back flawlessly. The audio was synced as well.

The debug prints showed the CPU utilization at over 100%.

Based on how well the playback looks, it seems that hardware acceleration is being used. How can I verify that this is the case?
Reply
#2
xbmc.log and look for videotoolbox being used.
Reply
#3
OK. I will pull a log file and search for the videotoolbox.
Reply
#4
search for vtb or VTB ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
I have examined the log and found the following.
Code:
09:43:45 T:164638720    INFO: VideoToolBox decoder not available. Use : sysctl -w security.mac.proc_enforce=0; sysctl -w security.mac.vnode_enforce=0

and then later

Code:
09:45:06 T:179097600   ERROR: CreateVTSession - failed with status = (-12906)
09:45:06 T:179097600  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

I interpret this to mean that there is no hardware decoder in use. The FFmpeg software decoder is in use.

This is interesting because the H264 1080P video plays back with no problems.
Reply
#6
just mean those devices have the ponies to handle software decode.
Reply

Logout Mark Read Team Forum Stats Members Help
iOS hw acceleration question0