Skip to content

H264 Hardware Decoding #12

@oarnold

Description

@oarnold

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions