{"id":4337,"date":"2017-08-08T09:14:49","date_gmt":"2017-08-08T00:14:49","guid":{"rendered":"http:\/\/www.nkozawa.com\/blog\/?p=4337"},"modified":"2017-08-11T08:11:46","modified_gmt":"2017-08-10T23:11:46","slug":"dji-spark%e3%81%ae%e5%8b%95%e7%94%bb%e3%81%ab%e3%83%95%e3%83%a9%e3%82%a4%e3%83%88%e6%83%85%e5%a0%b1%e3%82%92%e3%83%ad%e3%82%b0%e3%81%8b%e3%82%89%e5%8a%a0%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%95-how-to-a","status":"publish","type":"post","link":"https:\/\/www.nkozawa.com\/blog\/archives\/4337","title":{"rendered":"DJI Spark\u306e\u52d5\u753b\u306b\u30d5\u30e9\u30a4\u30c8\u60c5\u5831\u3092\u30ed\u30b0\u304b\u3089\u52a0\u3048\u308b\u65b9\u6cd5 \/ How to add flight information gauge to DJI Spark footage"},"content":{"rendered":"<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/Cz964ktVJHI\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>DJI Spark\u3067\u64ae\u5f71\u3057\u305f\u52d5\u753b\u306b\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u901f\u5ea6\u3084\u9ad8\u5ea6\u306a\u3069\u306e\u60c5\u5831\u3092\u91cd\u306d\u5408\u308f\u305b\u3066\u8868\u793a\u3059\u308b\u65b9\u6cd5\u306e\u7d39\u4ecb\u3067\u3059\u3002<\/p>\n<p>Let me introduce how to overlay flight information gauge to Spark footage.<\/p>\n<p><strong>[\u3000\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u53d6\u308a\u51fa\u3057 \/ Retrieve flight information log file ]<\/strong><br \/>\nAndroid\u306e\u5834\u5408\u3067\u3059\u3002\u5185\u90e8\u30b9\u30c8\u30ec\u30fc\u30b8\u306e DJI\/dji.go.v4\/FlightRecord\/DJIFlightRecord*.txt \u304c\u76ee\u7684\u306e\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u76ee\u7684\u306e\u52d5\u753b\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3088\u308a\u5c11\u3057\u524d\u306e\u3082\u306e\u3092\u9078\u3073\u307e\u3059\u3002\u62e1\u5f35\u5b50\u306ftxt\u3067\u3059\u304c\u5b9f\u969b\u306b\u306f\u30d0\u30a4\u30ca\u30ea\u30fc\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<p>For Android, flight information log file is at DJI\/dji.go.v4\/FlightRecord\/DJIFlightRecord*.txt of Android internal storage. File name includes timestamp. File extension is &#8216;txt&#8217;, but this is binary file actually.<\/p>\n<p><strong>[ \u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u63db \/ Convert log file to csv ]<\/strong><br \/>\n\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u3081\u308b\u5f62\u306b\u5909\u63db\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u308f\u305f\u3057\u306f\u4ee5\u4e0b\u306eweb\u30b5\u30a4\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u51fa\u529b\u306fcsv\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<p>Flight information log file has to be converted to csv file. I use following web site.<\/p>\n<p><a href=\"http:\/\/www.djilogs.com\/#\/\">http:\/\/www.djilogs.com\/#\/<\/a><\/p>\n<p><strong>[ \u30ed\u30b0\u30c7\u30fc\u30bf\u3068\u52d5\u753b\u306e\u5408\u6210 \/ Overlay log data to footage ]<\/strong><br \/>\n<a href=\"http:\/\/www.dashware.net\/\">DashWare<\/a>\u3068\u3044\u3046Windows\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u884c\u3044\u307e\u3057\u305f\u3002<br \/>\n\u308f\u305f\u3057\u306f\u3046\u307e\u304f\u7d44\u307f\u8fbc\u3081\u3066\u3044\u307e\u305b\u3093\u304c\u3001<a href=\"https:\/\/phantompilots.com\/threads\/p3a-p-dashware-profile-for-for-dat-files.61763\/\">DJI Phantom\u7528\u306e\u8ffd\u52a0\u30b2\u30fc\u30b8<\/a>\u306a\u3069\u3082\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>I use Windows program called <a href=\"http:\/\/www.dashware.net\/\">DashWare<\/a>. There is additional <a href=\"https:\/\/phantompilots.com\/threads\/p3a-p-dashware-profile-for-for-dat-files.61763\/\">gauge data<\/a> for DJI Phantom also (I can not use this well yet).<\/p>\n<p>&#8211; Project\u753b\u9762\u3067\u52d5\u753b\u30d5\u30a1\u30a4\u30eb\u3068csv\u5909\u63db\u3057\u305f\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002Gauge\u306b\u3064\u3044\u3066\u306f\u5f8c\u304b\u3089\u5909\u66f4\u3057\u307e\u3059\u306e\u3067Project Template\u306f\u6c17\u306b\u3057\u306a\u304f\u3066\u3082\u826f\u3044\u3067\u3059\u3002 Add footage file and csv converted log file on the project wizard. You do not need to care about &#8216;Project Template&#8217; here, we can change the gauge later.<\/p>\n<p>&#8211; Gauge Toolbox\u3067\u597d\u307f\u306e\u30b2\u30fc\u30b8\u3092\u63a2\u3057\u3066\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002\u3000Add your favorite gauges from Gauge Toolbox.<\/p>\n<p>&#8211; Synchronization\u753b\u9762\u3067\u52d5\u753b\u3068\u30ed\u30b0\u306e\u540c\u671f\u3092\u884c\u3044\u307e\u3059\u3002 Adjust synchronization point by using Synchronization tab.<\/p>\n<p>\u4ee5\u4e0a\u3067\u3059\u3002\u3053\u3053\u307e\u3067\u306f\u8a66\u884c\u932f\u8aa4\u3042\u308b\u3082\u306e\u306e\u3055\u307b\u3069\u96e3\u3057\u304f\u306f\u3042\u308a\u307e\u305b\u3093\u3002 That&#8217;s all about setup.<\/p>\n<p><strong>[ Create Video\u3067\u30a8\u30e9\u30fc \/ Error when Create Video ]<\/strong><br \/>\n\u6700\u5f8c\u306bCreate Video\u3067\u5408\u6210\u5f8c\u306e\u30d3\u30c7\u30aa\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u3053\u306e\u6642\u306b&#8221;Error rendering in MediaFoundationMedia Foundation Error + -2147467259&#8243;\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u30d3\u30c7\u30aa\u3092\u4f5c\u308b\u4e8b\u304c\u51fa\u6765\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6d77\u5916\u306e\u63b2\u793a\u677f\u306b\u5143\u306e\u30d3\u30c7\u30aa\u306b\u306a\u3093\u3067\u3082\u826f\u3044\u304b\u3089\u97f3\u58f0\u30c8\u30e9\u30c3\u30af\u3092\u4ed8\u3051\u308b\u3068\u30a8\u30e9\u30fc\u3057\u306a\u3044\u3068\u66f8\u304b\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u78ba\u304b\u306bSpark\u304b\u3089\u53d6\u308a\u51fa\u3057\u305f\u52d5\u753b\u306b\u306f\u97f3\u58f0\u30c8\u30e9\u30c3\u30af\u304c\u3042\u308a\u307e\u305b\u3093\u3001\u9069\u5f53\u306aMP3\u30d5\u30a1\u30a4\u30eb\u3092iMovie\u3067\u52d5\u753b\u30d5\u30a1\u30a4\u30eb\u306b\u4ed8\u3051\u305f\u3089\u30a8\u30e9\u30fc\u3057\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>I got an error message &#8216;Error rendering in MediaFoundationMedia Foundation Error + -2147467259&#8217; when I initiated Create Video function. It could be fixed by adding any audio tracks to the Spark footage (original Spark footage on the micro SD card does not have audio) before add the DashWare project.<\/p>\n<p><strong>[ \u9ad8\u5ea6\u304c0\u304b\u3089\u59cb\u307e\u3089\u306a\u3044 \/ Altitude does not start from 0 ]<\/strong><br \/>\n\u98db\u884c\u9ad8\u5ea6\u306e\u8868\u793a\u304c\u76ee\u7684\u3067\u3057\u305f\u304c\u96e2\u9678\u6642\u306e\u9ad8\u5ea6\u304c0\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u8aac\u660e\u3067\u306f\u6d77\u629c\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3061\u3087\u3063\u3068\u5909\u306a\u6570\u5b57\u3067\u3059\u3002\u3044\u305a\u308c\u306b\u3057\u3066\u3082\u6b32\u3057\u3044\u306e\u306f\u96e2\u9678\u5834\u6240\u304b\u3089\u306e\u76f8\u5bfe\u7684\u306a\u9ad8\u5ea6\u3067\u3059\u3002\u3053\u308c\u306b\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u30c8\u30ea\u30c3\u30af\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>I want display altitude meter on my Spark video. However it does not start from 0. Some of explanation texts said that it is sea level altitude, but it seems to me something different from the sea level also.<\/p>\n<p><a href=\"http:\/\/www.dashware.net\/faq\/\">\u516c\u5f0fFAQ<\/a>\u306e&#8221;Altitude is based on sea level, how do I make it ground-based&#8221;\u306b\u3055\u3089\u3063\u3068\u65b9\u6cd5\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002\u8aac\u660e\u304c\u7c21\u5358\u3059\u304e\u3066\u306a\u304b\u306a\u304b\u7406\u89e3\u51fa\u6765\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u5177\u4f53\u7684\u306a\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u3092\u5fa1\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Official DashWare FAQ mentions about how to change the altitude value from the sea level to ground level. But it is difficult to understand because of too simple explanation. I wrote how to change altitude from sea level to ground level below. This article written in Japanese, but you may find some screenshots for your reference.<\/p>\n<p>\u300c<a href=\"https:\/\/www.nkozawa.com\/blog\/archives\/4350\">DashWare+Spark\u30d3\u30c7\u30aa\u3067\u9ad8\u5ea6\u8868\u793a\u3092\u30b0\u30e9\u30f3\u30c9\u30ec\u30d9\u30eb\u306b\u3059\u308b<\/a>\u300d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DJI Spark\u3067\u64ae\u5f71\u3057\u305f\u52d5\u753b\u306b\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u901f\u5ea6\u3084\u9ad8\u5ea6\u306a\u3069\u306e\u60c5\u5831\u3092\u91cd\u306d\u5408\u308f\u305b\u3066\u8868\u793a\u3059\u308b\u65b9\u6cd5\u306e\u7d39\u4ecb\u3067\u3059\u3002 Let me introduce how to overlay flight information gaug [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[38],"tags":[],"class_list":["post-4337","post","type-post","status-publish","format-standard","hentry","category-quadcopter"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/4337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/comments?post=4337"}],"version-history":[{"count":10,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/4337\/revisions"}],"predecessor-version":[{"id":4360,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/4337\/revisions\/4360"}],"wp:attachment":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/media?parent=4337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/categories?post=4337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/tags?post=4337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}