AirData to SRT Converter Instructions Litchi Mission Utilities Logo

Instructions

This application will convert a CSV file from AirData into an SRT file containing chosen fields from AirData.

  1. Synchronize your flight data to AirData
    1. Fly your drone.
    2. Synchronize your flight data to AirData.
      1. AirData provides well-written help files describing this process.
    3. Select your flight in the list on the left side of the AirData dashboard.
    4. Select "CSV" under the map of your flight. Save the CSV file to your computer.
  2. In page one of AirData to SRT Converter:
    1. The flight log begins as soon as the drone motors are started. However, the portions of the flight log where video is being recorded can be detected. Only these video segments will be processed.
    2. Select the desired update interval.
    3. Select the fields to display in the SRT file.
    4. Select either "Block" or "Line" style.
      • Block: Each line of output will contain one attribute.
      • Line: All attributes will written to one line separated by commas. Note: The SRT data may wrap when displayed with the video.
    5. Use the file chooser to upload your csv file.
    6. Generate the SRT file and review the resulting parameters.
  3. In page two of AirData to SRT Converter:
    1. Review the parameters.
    2. Download the SRT file.
      • By convention, the SRT basename should match that of the corresponding video file.
      • If the flight log contains more than one section of video recording, each video recording section will be output into this file. The individual sections will be clearly identified in the SRT file. Each video section of the SRT file must be manually separated into its own SRT file using a plain text editor.
  4. Display the SRT data:
    • If using VLC Media Player
      1. Open the video file.
      2. From the "Subtitle" menu, select "Add subtitle file..." and open the SRT file.
      3. The subtitles should appear.
    • If using Davinci Resolve
      1. From the "Media" tab, bring the SRT file into the media bin.
      2. From the "Edit" tab, drag the SRT file into the timeline.
      3. Adjust as desired.
A screen capture of the AirData.com web site
AirData Dashboard

This application converts selected fields from a flight log into SRT (SubRip Subtitle) format. The resulting SRT file can be used to display flight telemetry and other flight data as subtitles over corresponding video footage.

Getting Started

To create an SRT fle, you will need a flight log from the flight you want to process. This application supports the following flight log formats:

  • AirData CSV download: If you already sync your flights with AirData, open the desired flight in AirData and download the flight log in CSV format.
  • PhantomHelp CSV download: If you do not use AirData, you can upload a DJI flight log (FlightRecord*.txt) to PhantomHelp's DJI Flight Log Viewer. After processing the log, download the resulting CSV file, which is typically provided as a ZIP file. You can upload that ZIP file directly to this application without extracting the CSV file from it. Keeping the file zipped allows larger flight logs to be uploaded.
  • Litchi flight log: Litchi flight logs and Litchi SDK logs in CSV format are supported.

Using the SRT File

The generated SRT file can be used with video footage in several ways:

  • Media player: Name the SRT file with the same basename as the corresponding video file. A compatible media player, such as VLC Media Player, can then play the video while displaying the SRT data as subtitles.
  • Video editor: Import the SRT file into a video editor such as DaVinci Resolve, and align it with the corresponding video file. Depending on the video editor, you may also be able to customize the position, size, color, and other attributes of the displayed flight data.
Update Interval:
seconds
Include LatLong:
Include Height:
Include AGL:
Include Heading:
Include Pitch:
Include Speed:
Include Satellites:
Include HomeDist:
Include Battery:
Style:
Google API Key:
AirData CSV File Upload:

Google Elevation API Key

If above ground heights are selected, a call to the Google Elevation API must be made to convert the input heights into above ground heights. These utilities use a shared Google Elevation API key which is limited to 5,000 free elevation API calls per month (roughtly 150 API calls per day. When the limit of 150 per day is reached, a Google Elevation API call error will be displayed. To prevent this from happening, you may obtain and provide your own Google Elevation API key so that you are not dependent on the shared API key.

Litchi Utilities dot Com
by Wes Barris