goprohero icon indicating copy to clipboard operation
goprohero copied to clipboard

Download Video/Image Progress

Open molotovtommy opened this issue 9 years ago • 7 comments

I read in the documentation you provided that a future effort will be to add downloading of the images/video. Have you made any progress on this or do you have any recommended hacks that might work in the meantime? Everything in your library works great, I just cannot get the images from the gopro hero4 I am connected with onto my computer to process.

molotovtommy avatar Jan 09 '16 19:01 molotovtommy

You should be able to get snapshots of the live camera feed, but I have not worked on getting the existing images and videos off of the SD card.

To explore this more yourself: The GoPro opens up a standard file server when connected via wifi. You'd simply need to use something (Python?) to read the list of files on the file server and copy over a file (via HTTP) to a local folder.

joshvillbrandt avatar Jan 13 '16 17:01 joshvillbrandt

@joshvillbrandt putting a progress bar does not seem to be a big work We can use progressbar library for this and here is a sample code for showing a simple progress bar

import time
import progressbar

bar = progressbar.ProgressBar(redirect_stdout=True)
for i in range(100):
    print 'Some text', i
    time.sleep(0.1)
    bar.update(i)

Hope this helps. :smile_cat: :smile_cat:

arpit1997 avatar Oct 29 '16 20:10 arpit1997

also using http://10.5.5.9/gp/gpMediaList it shows a JSON list of photos and videos.

KonradIT avatar Oct 29 '16 21:10 KonradIT

Hi guys! Do you know which URL (the syntax) would lead to the download of a file? I'm actually trying to understand how I could download pics from my gopro ;)

arthurpattee avatar Mar 10 '17 18:03 arthurpattee

@arthurpattee you can't download files with this library, but you can use gopro.image() to save a screencap of the stream. Not trying to take away the spotlight but with my library gopro_py_api you can use .dl_last() to downlast the last media taken.

KonradIT avatar Mar 10 '17 18:03 KonradIT

@KonraIT Hi there! Juste sent you a mail about your API ;)

arthurpattee avatar Mar 11 '17 18:03 arthurpattee

@arthurpattee replied.

KonradIT avatar Mar 11 '17 21:03 KonradIT