how to enable videotoolbox?

iOS, iPad, iPhone, tvOS specific usage questions
lintw
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2016 05:32

how to enable videotoolbox?

Postby lintw » 28 Jan 2016 17:38

Using xcode7.2 iPhone 6s/iOS 9.2
on OS X Yosemite 10.10.5
src used downloaded from git (https://code.videolan.org/videolan/VLCKit.git)

how to enable videotoolbox? (turn on h.264 hardware acceleration)

i've already remove videotoolbox and cvpx_i420 from build.sh ([source code path]/MobileVLCKit/ImportedSources/vlc/extras/package/ios/build.sh)
and use compile command: ./sh -x buildMobileVLCKit.sh -f -n

but, still can't playback mov file smoothly (mov file is recorded from iphone 6s)
any idea? (How to check whether enable hardware acceleration?)

Thanks

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: how to enable videotoolbox?

Postby fkuehne » 28 Jan 2016 18:44

VideoToolbox is enabled by default on the master branch and requires both modules you mentioned. It is not enabled on the 2.7-iOS branch and won't be.

You can check whether HW acceleration is enabled or not through VLCKit's debug log, which you can enable on the respective VLCLibrary instance.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 26 guests