Phantom 4 Pro V2.0 aircraft and remote controller with screen.The source code of these FFmpeg libraries, the compilation instructions, and the LGPL v2.1 license are provided in Github.If you come across any mistakes or bugs in this tutorial, please let us know by sending emails to Please feel free to send us Github pull request and help us fix any issues. The sample is dynamically linked with modified libraries of FFmpeg licensed under the LGPLv2.1. These features will help to implement video hardware decoding. We have forked the original FFmpeg and added customized features to provide more video frame information including the frame's width and height, frame rate number, etc.
SDK API ReferenceĭJI Windows SDK API Documentation FFmpeg Customization
Following the previous section and use "" as the package name to generate an APP key.Īfter SDK registers successfully, you should see the full list of features. To start browsing all the features in the sample, you have to input the APP key. Because the dependencies and the video parser has been configured in this sample, just compile and run it using x86 as the architecture. The App Key will appear in the user center, and can be copied and pasted into the application.An application activation email will be sent to complete App Key generation.Enter the name, platform, UWP package name, category and description of the application.Select the "Create App" button on the right.This is also required to run the sample in this repository. To enable DJI Windows SDK, developers will need to register applications with an APP key. If the remote controller disconnects from the PC, it has to be powered off before re-connecting to the PC. The remote controller will determine whether to enable PC mode during booting. This step is done in the sample code already.ĬAUTION: It is necessary to power off the remote controller first and connect it to PC after.
This can enable the permission to access to the COM port in your UWP application. Insert the following XML code to Package.appxmanifest of your application: The number and the COM index may show differently across PC machines. If the remote controller is connected successfully, you should see two devices in the list: Remote NDIS based Internet Sharing Device #1 and DJI USB Virtual COM (COM1). CAUTION: Use the mini-USB port of the remote controller instead of the Type A port.
Use DJI GO 4 or DJI Assistant 2 to upgrade the remote controller if the firmware is old. Ensure the remote controller has firmware version 01.00.200 or above.Setup the connection with the following steps: Therefore, the PC or the laptop should have a WiFi adapter.įor Phantom 4 Pro V2, USB connection is supported. The supported DJI products include Mavic 2 Enterprise, Mavic 2 Enterprise Dual, Mavic 2 Pro/Zoom, Phantom 4 Pro V2.0+ (remote controller with screen), Mavic Air and Phantom 4 Pro V2.įor Mavic Air, only WiFi connection is supported. To use DJI Windows SDK, the following environments are required: The latest SDK version is Public Beta 0.3.2. Using the DJI Windows SDK, create a customized UWP (Universal Windows Platform) app to unlock the full potential of your DJI aerial platform. You can control flight, and many subsystems of the product including the camera and gimbal. The DJI Windows SDK enables you to automate your DJI Product on a PC.