Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Download Video/Image Progress #17

Open
molotovtommy opened this issue Jan 9, 2016 · 7 comments
Open

Download Video/Image Progress #17

molotovtommy opened this issue Jan 9, 2016 · 7 comments

Comments

@molotovtommy
Copy link

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.

@joshvillbrandt
Copy link
Owner

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.

@arpit1997
Copy link

@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. 😸 😸

@KonradIT
Copy link

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

@ghost
Copy link

ghost commented Mar 10, 2017

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 ;)

@KonradIT
Copy link

@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.

@ghost
Copy link

ghost commented Mar 11, 2017

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

@KonradIT
Copy link

@arthurpattee replied.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants