#GoPro HERO4 Black Wifi Hacking, ep 2
By Maelstrom Napalm, @odwdinc and Konrad Iturbe
###Status URL:
http://10.5.5.9/gp/gpControl/status
####Protune EV compensation:
####Modes:
- Video: http://10.5.5.9/gp/gpControl/command/xmode?p=0
- Photo: http://10.5.5.9/gp/gpControl/command/xmode?p=1
- Burst: http://10.5.5.9/gp/gpControl/command/xmode?p=2
- Timelapse: http://10.5.5.9/gp/gpControl/command/xmode?p=3
###Power:
- Power Off: http://10.5.5.9/gp/gpControl/command/system/sleep
- Power On: send WoL packet to the camera (see https://gist.github.com/3v1n0/38bcd4f7f0cb3c279bad#file-wake-up-gopro-py
####Modes:
- Photo: http://10.5.5.9/gp/gpControl/command/xmode?p=1
- Burst: http://10.5.5.9/gp/gpControl/command/xmode?p=2
- Continuous: http://10.5.5.9/gp/gpControl/command/xmode?p=12
- Night: Video: http://10.5.5.9/gp/gpControl/command/xmode?p=13
- Night Laps: http://10.5.5.9/gp/gpControl/command/xmode?p=14
- Timelapse: http://10.5.5.9/gp/gpControl/command/xmode?p=3
- PlayBack: http://10.5.5.9/gp/gpControl/command/xmode?p=5
- Setup: http://10.5.5.9/gp/gpControl/command/xmode?p=7
- Video: http://10.5.5.9/gp/gpControl/command/xmode?p=0
- VideoTimeLaps: http://10.5.5.9/gp/gpControl/command/xmode?p=9
- Video+Photo: http://10.5.5.9/gp/gpControl/command/xmode?p=10
- Looping: http://10.5.5.9/gp/gpControl/command/xmode?p=11
####Modes2:
- Video: http://10.5.5.9/gp/gpControl/command/mode?p=0
- Photo: http://10.5.5.9/gp/gpControl/command/mode?p=1
- Night: http://10.5.5.9/gp/gpControl/command/mode?p=2
- PlayBack: http://10.5.5.9/gp/gpControl/command/mode?p=4
- Setup: http://10.5.5.9/gp/gpControl/command/mode?p=5
###Frame Rate:
- 120fps: http://10.5.5.9/gp/gpControl/setting/3/0
- 90fps: http://10.5.5.9/gp/gpControl/setting/3/3
- 60fps: http://10.5.5.9/gp/gpControl/setting/3/5
- 48fps: http://10.5.5.9/gp/gpControl/setting/3/7
- 30fps: http://10.5.5.9/gp/gpControl/setting/3/8
- 24fps: http://10.5.5.9/gp/gpControl/setting/3/10
###Field Of View:
- Wide: http://10.5.5.9/gp/gpControl/setting/4/0
- Medium: http://10.5.5.9/gp/gpControl/setting/4/1
- Narrow: http://10.5.5.9/gp/gpControl/setting/4/2
###Low Light:
###Recording:
- Start Video http://10.5.5.9/gp/gpControl/command/shutter?p=1
- Stop Video http://10.5.5.9/gp/gpControl/command/shutter?p=0
###Streaming:
- Start Streaming http://10.5.5.9/gp/gpControl/execute?p1=gpStream&c1=start
- Restart Streaming http://10.5.5.9/gp/gpControl/execute?p1=gpStream&c1=restart
- Stop Streaming http://10.5.5.9/gp/gpControl/execute?p1=gpStream&c1=stop
Video can be streamed by using aplay
or ffplay
on udp://:8554
, connection must be kept alive using hero4-udp-keep-alive-send.py script.
Tag moment:
http://10.5.5.9/gp/gpControl/command/storage/tag_moment
To be continued...
Congratulations for the great work! very useful.
Today I updated my hero4 Black to new firmware 2.00.00 and xmode and sub_mode commands stopped working!!
I need to change sub mode from Video to Video+Photo and back, any idea on how to do it?
Thanks