Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H264 Hardware Decoding #12

Open
oarnold opened this issue Jul 28, 2017 · 2 comments
Open

H264 Hardware Decoding #12

oarnold opened this issue Jul 28, 2017 · 2 comments

Comments

@oarnold
Copy link

oarnold commented Jul 28, 2017

I am trying to enable hardware decoding for the H264 video frames, sent from a drone.
Unfortunately this does not seem to work.
I added the line "[[VideoPreviewer instance] setEnableHardwareDecode:YES];" before "[[VideoPreviewer instance] start];", in the file "DJICameraViewController.m" . But this will only show the following log message:
"FPVDemo[579:506030] can not find idr path func".
The application then falls back to the software decoder.

I also posted a topic on the DJI forum, a while ago:
http://forum.dev.dji.com/forum.php?mod=viewthread&tid=32401

Steps to reproduce the bug or crash issues

Set enableHardwareDecode to "YES". Start app and wait until preview is shown.

DJI iOS SDK version you are using (Like iOS SDK 3.4, etc)

DJI iOS SDK 4.2.2

DJI Product you are using (Like Phantom 4, Mavic Pro, etc)

DJI Spark and DJI Osmo

iOS system version you are using (Like iOS 8.3, iOS 9, etc)

iOS 10.3.2

iOS device type you are using (Like iPhone5s, iPhone 6, iPad Air Wifi, iPad mini 3 LTE, etc)

iPhone 7/6

Xcode version you are using (Like Xcode 7.0)

Version 8.3.3 (8E3004b)

@Ramshandilya
Copy link

Any updates on this?
I still see the app falling back to the software decoder.

@zzz2016
Copy link

zzz2016 commented Jun 3, 2019

same issue... Is there any demo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants