{"id":1305,"date":"2020-05-20T20:16:06","date_gmt":"2020-05-20T11:16:06","guid":{"rendered":"http:\/\/home.hiroshima-u.ac.jp\/~tigawa\/?p=1305"},"modified":"2020-05-20T20:27:30","modified_gmt":"2020-05-20T11:27:30","slug":"memogopro%e3%81%aemp4%e3%83%87%e3%83%bc%e3%82%bf%e3%81%8b%e3%82%89gpx%e3%82%92%e5%8f%96%e3%82%8a%e5%87%ba%e3%81%99windows10","status":"publish","type":"post","link":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/?p=1305","title":{"rendered":"[miscellaneous]GoPro\u306emp4\u30c7\u30fc\u30bf\u304b\u3089gpx\u3092\u53d6\u308a\u51fa\u3059(windows10)"},"content":{"rendered":"<p>https:\/\/qiita.com\/clamoto\/items\/7c977d9a741c677b8539#ffmpeg<br>\u3092\u53c2\u8003\u306b\u3057\u305f\u3002<\/p>\n<ul>\n<li>\n<h4>ffmpeg\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068Path\u306e\u8a2d\u5b9a\u3002<\/h4>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ffmpeg.zeranoe.com\/builds\/\">ffmpeg Builds<\/a>\u304b\u3089Static\u7248\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u89e3\u51cd\u3057\u3066\u3001Program Files\u306a\u3069\u306b\u79fb\u52d5\u3055\u305b\u3066\u3001windows\u306e\u74b0\u5883\u8a2d\u5b9a\u304b\u3089Path\u3092\u8a2d\u5b9a\u3002<\/p>\n\n\n<h4 class=\"wp-block-heading\"><a href=\"https:\/\/git-scm.com\/\">Git<\/a>\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\"><a href=\"https:\/\/golang.org\/\">Go\uff08The Go Programming Language\uff09<\/a>\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">\u30fbGoPro\u304b\u3089\u843d\u3068\u3057\u3066\u304d\u305fmp4\u30c7\u30fc\u30bf\u306estream\u3092\u8abf\u3079\u308b\u3002<\/h4>\n\n\n\n<p>GPS\u60c5\u5831\u306fmp4\u30c7\u30fc\u30bf\u306b\u30e1\u30bf\u30c7\u30fc\u30bf\u3068\u3057\u3066\u5165\u3063\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ffprobe GHXXXX.mp4<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>ffprobe version git-2020-05-15-b18fd2b Copyright (c) 2007-2020 the FFmpeg developers\n  built with gcc 9.3.1 (GCC) 20200513\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf\n  libavutil      56. 45.100 \/ 56. 45.100\n  libavcodec     58. 84.100 \/ 58. 84.100\n  libavformat    58. 43.100 \/ 58. 43.100\n  libavdevice    58.  9.103 \/ 58.  9.103\n  libavfilter     7. 81.100 \/  7. 81.100\n  libswscale      5.  6.101 \/  5.  6.101\n  libswresample   3.  6.100 \/  3.  6.100\n  libpostproc    55.  6.100 \/ 55.  6.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GH010063.MP4':\n  Metadata:\n    major_brand     : mp41\n    minor_version   : 538120216\n    compatible_brands: mp41\n    creation_time   : 2020-05-20T11:23:57.000000Z\n    location        : +34.4032+132.7200\/\n    location-eng    : +34.4032+132.7200\/\n    firmware        : HD6.01.02.10.00\n  Duration: 00:07:12.47, start: 0.000000, bitrate: 33257 kb\/s\n    Chapter #0:0: start 63.229000, end 126.426000\n    Chapter #0:1: start 126.426000, end 194.194000\n    Chapter #0:2: start 194.194000, end 270.703000\n    Chapter #0:3: start 270.703000, end 367.200000\n    Chapter #0:4: start 367.200000, end 432.469000\n    Stream #0:0(eng): Video: h264 (High) (avc1 \/ 0x31637661), yuvj420p(pc, bt709), 1920x1080 &#91;SAR 1:1 DAR 16:9], 33010 kb\/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)\n    Metadata:\n      creation_time   : 2020-05-20T11:23:57.000000Z\n      handler_name    : GoPro AVC\n      encoder         : GoPro AVC encoder\n      timecode        : 11:23:16:27\n    Stream #0:1(eng): Audio: aac (LC) (mp4a \/ 0x6134706D), 48000 Hz, stereo, fltp, 189 kb\/s (default)\n    Metadata:\n      creation_time   : 2020-05-20T11:23:57.000000Z\n      handler_name    : GoPro AAC\n      timecode        : 11:23:16:27\n    Stream #0:2(eng): Data: none (tmcd \/ 0x64636D74) (default)\n    Metadata:\n      creation_time   : 2020-05-20T11:23:57.000000Z\n      handler_name    : GoPro TCD\n      timecode        : 11:23:16:27\n    Stream #0:3(eng): Data: bin_data (gpmd \/ 0x646D7067), 36 kb\/s (default)\n    Metadata:\n      creation_time   : 2020-05-20T11:23:57.000000Z\n      handler_name    : GoPro MET\n    Stream #0:4(eng): Data: none (fdsc \/ 0x63736466), 9 kb\/s (default)\n    Metadata:\n      creation_time   : 2020-05-20T11:23:57.000000Z\n      handler_name    : GoPro SOS\nUnsupported codec with id 0 for input stream 2\nUnsupported codec with id 100359 for input stream 3\nUnsupported codec with id 0 for input stream 4<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u5408\u306f&#8221;Stream #0:3(eng): Data: bin_data (gpmd \/ 0x646D7067), 36 kb\/s (default)&#8221;\u304cgps\u306e\u30c8\u30e9\u30c3\u30af\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">mp4\u304b\u3089bin\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066gps\u60c5\u5831\u3092\u62bd\u51fa\u3059\u308b\u3002<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>ffmpeg -y -i GHXXXX.mp4 -codec copy -map 0:3 -f rawvideo GHXXXX.bin<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">bin\u30d5\u30a1\u30a4\u30eb\u304b\u3089gpx\u30d5\u30a1\u30a4\u30eb\u3078\u5909\u63db\u3059\u308b\u3002<\/h4>\n\n\n\n<p>github\u304b\u3089gopro-utils\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/stilldavid\/gopro-utils.git<\/code><\/pre>\n\n\n\n<p>go language \u3067\u52d5\u304f\u6b21\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>go get github.com\/stilldavid\/gopro-utils\/telemetry\ngo get github.com\/paulmach\/go.geo<\/code><\/pre>\n\n\n\n<p>gopro-utils\u306ebin\u306e\u4e2d\u306b\u3042\u308bgopro2gpx.go\u3092run\u3057\u3066\u5909\u63db\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>go run gopro2gpx.go -i GOPRxxxx.bin -o GOPRxxxx.gpx<\/code><\/pre>\n\n\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/qiita.com\/cl<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","_locale":"ja","_original_post":"http:\/\/home.hiroshima-u.ac.jp\/~tigawa\/?p=1305","footnotes":""},"categories":[7],"tags":[],"class_list":["post-1305","post","type-post","status-publish","format-standard","hentry","category-protocol","ja"],"_links":{"self":[{"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=\/wp\/v2\/posts\/1305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1305"}],"version-history":[{"count":5,"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=\/wp\/v2\/posts\/1305\/revisions"}],"predecessor-version":[{"id":1310,"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=\/wp\/v2\/posts\/1305\/revisions\/1310"}],"wp:attachment":[{"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/home.hiroshima-u.ac.jp\/~tigawa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}