goprohero
goprohero copied to clipboard
Download Video/Image Progress
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.
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 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:
also using http://10.5.5.9/gp/gpMediaList it shows a JSON list of photos and videos.
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 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.
@KonraIT Hi there! Juste sent you a mail about your API ;)
@arthurpattee replied.