-
Notifications
You must be signed in to change notification settings - Fork 336
Hero+ bad request #66
Comments
Thanks I'll look into it. |
Awesome! Thank you, really appreciate it!! |
Hey @singha24 , try again with the new code. |
Hey @KonradIT , thanks for taking the time to look into it... however I am unable to get a stream.. the output my terminal is as follows: HERO+ Recording on camera: False ffplay version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2003-2017 the FFmpeg developers From here the script hangs :( |
That's strange. What are your script configs? |
I'm having the same issue with GoPro Hero 3+ |
####Problem:
Hi, I have connected my laptop via wifi to my hero+, and running the python script using python3
####Details:
This is the output from terminal when i try to execute the script.
File "GoProStream.py", line 112, in
gopro_live()
File "GoProStream.py", line 47, in gopro_live
response = urllib.request.urlopen('http://10.5.5.9/gp/gpControl/info').read()
File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 510, in error
return self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request
Also if I hit http://10.5.5.9/gp/gpControl/execute?p1=gpStream&a1=proto_v2&c1=restart in my browser the return JSON is {"status":"0"}
Also if I hit 10.5.5.9/gp/gpControl/info
the return JSON
{
version: 3.00
path_info: /info
query_string: ""
error_code: -3
error_msg: unknown_request
function: control_router
line: 458
}
python3 GoProStream.py
The text was updated successfully, but these errors were encountered: