From f565767d261fa5de6286356905a8fca6cee3c5f7 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 4 Jul 2019 17:38:57 -0400 Subject: Added leaves, gas station, wrote gopro, updated yabs. --- ...-best-way-to-transfer-gopro-files-with-linux.md | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 posts/the-best-way-to-transfer-gopro-files-with-linux.md (limited to 'posts/the-best-way-to-transfer-gopro-files-with-linux.md') diff --git a/posts/the-best-way-to-transfer-gopro-files-with-linux.md b/posts/the-best-way-to-transfer-gopro-files-with-linux.md new file mode 100644 index 0000000..d25e8aa --- /dev/null +++ b/posts/the-best-way-to-transfer-gopro-files-with-linux.md @@ -0,0 +1,39 @@ +--- +permalink: "/posts/{{categories}}/{{slug}}" +title: The Best Way to Transfer GoPro Files with Linux +categories: ["technology"] +tags: ["gopro", "camera", "video", "download", "linux", "wireless"] +layout: post.liquid +is_draft: true +--- + +Transferring files off of most cameras to a Linux computer isn't all that +difficult. Normally I can rip out the SD card and transfer files or just use a +USB data transfer of some kind. The exception is my GoPro Hero 4 Black. For 4th +of July week I took a bunch of video with the GoPro, approximately 20 MP4 +files, about 3GB each. The annoying thing about the GoPros USB interface is +you need an app to download everything this way. The camera doesn't just show +up as a USB device that you can mount. The GoPro does have a micro-SD card but +I'm away from home and didn't have any dongles or adapters. + +The solution? GoPro cameras, after the Hero 3, can open up an ad-hoc wireless +network that lets you browse the GoPros onboard files through an HTTP server. +This means you can open your browser and scroll through the files on the camera +at a intranet address, `10.5.5.9`, and download them one by one. Well if you +have like two dozen videos on there it kinda sucks. + +> *Smiles warmly* + +So, I opened up the manual for `wget`. I'm sure you could get really fancy with +some of the options but the only thing I cared about was downloading every +single MP4 video off of the camera, automatically. I did not want to download +any of the small video formats or actual HTML files. So here's what I did: + +```sh +$ wget --recursive --accept "*.MP4" http://10.5.5.9:8080/ +``` + +Now I've got a directory tree with all of my videos in it. And the best part is +I didn't have to install the dinky GoPro app on my laptop. Hopefully this helps +if you're looking for an easy way to migrate lots of footage without manually +clicking through the web interface or installing additional software. -- cgit v1.2.3 From 638709898006459ab5a0f73842035e1a12774c06 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 4 Jul 2019 17:43:00 -0400 Subject: Updated gopro. --- .../the-best-way-to-transfer-gopro-files-with-linux.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'posts/the-best-way-to-transfer-gopro-files-with-linux.md') diff --git a/posts/the-best-way-to-transfer-gopro-files-with-linux.md b/posts/the-best-way-to-transfer-gopro-files-with-linux.md index d25e8aa..dec11d1 100644 --- a/posts/the-best-way-to-transfer-gopro-files-with-linux.md +++ b/posts/the-best-way-to-transfer-gopro-files-with-linux.md @@ -17,7 +17,7 @@ up as a USB device that you can mount. The GoPro does have a micro-SD card but I'm away from home and didn't have any dongles or adapters. The solution? GoPro cameras, after the Hero 3, can open up an ad-hoc wireless -network that lets you browse the GoPros onboard files through an HTTP server. +network that lets you browse the GoPro's onboard files through an HTTP server. This means you can open your browser and scroll through the files on the camera at a intranet address, `10.5.5.9`, and download them one by one. Well if you have like two dozen videos on there it kinda sucks. @@ -33,7 +33,15 @@ any of the small video formats or actual HTML files. So here's what I did: $ wget --recursive --accept "*.MP4" http://10.5.5.9:8080/ ``` -Now I've got a directory tree with all of my videos in it. And the best part is -I didn't have to install the dinky GoPro app on my laptop. Hopefully this helps -if you're looking for an easy way to migrate lots of footage without manually -clicking through the web interface or installing additional software. +This tells `wget` to download all of the files at the GoPro's address +recursively and skips any that don't have the MP4 extension. Now I've got a +directory tree with all of my videos in it. And the best part is I didn't have +to install the dinky GoPro app on my laptop. Hopefully this helps if you're +looking for an easy way to migrate lots of footage without manually clicking +through the web interface or installing additional software. + +Some things I would like to change/add: + +- Download all image files as well; should be easy, just another `--accept` +- Initiate parallel downloads +- Clean up the directory afterwards so I just have one level of depth -- cgit v1.2.3 From c9e8b0f501fc30bd95a8afbc167287626a24ed9f Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 4 Jul 2019 17:44:41 -0400 Subject: Finished gopro. --- posts/the-best-way-to-transfer-gopro-files-with-linux.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'posts/the-best-way-to-transfer-gopro-files-with-linux.md') diff --git a/posts/the-best-way-to-transfer-gopro-files-with-linux.md b/posts/the-best-way-to-transfer-gopro-files-with-linux.md index dec11d1..7b1f00b 100644 --- a/posts/the-best-way-to-transfer-gopro-files-with-linux.md +++ b/posts/the-best-way-to-transfer-gopro-files-with-linux.md @@ -45,3 +45,7 @@ Some things I would like to change/add: - Download all image files as well; should be easy, just another `--accept` - Initiate parallel downloads - Clean up the directory afterwards so I just have one level of depth + +I could probably write a quick and dirty shell script to do all of this for me +but I use the camera so infrequently that it's probably not even worth it. + -- cgit v1.2.3