/goprowifihack

GoPro WiFi Hacking: commands, live preview and more, like a GoPro Wifi SDK

Primary LanguageHTML

#GoPro Wifi Hack

The unofficial API for GoPro HERO cameras (The WiFi enabled models)

Last updated: 03/12/15 by Konrad Iturbe

##Index


##An important note

If you see a URL which contains "PASSWORD" without the quotes, it means it needs the camera password, which you can obain here: http://10.5.5.9/bacpac/sd

###Live streaming

GoPro HERO cameras have a functionality which streams what the camera sees to the GoPro App, the method the cameras use to stream the video varies from generation.

Camera Livestreaming methods
GoPro HERO4 First, HTTP Get this URL: http://10.5.5.9/gp/gpControl/execute?p1=gpStream&c1=restart and then you can get a UDP stream by using this URL: udp://10.5.5.9:8554 (you might have a hard time using this in your work...)
GoPro HERO2/HERO3/HERO3+/HERO+ First, HTTP Get this URL: http://10.5.5.9/bacpac/SH?t=PASSWORD&p=%01 and then you can use this HLS stream: http://10.5.5.9:8080/live/amba.m3u8 (the HSL stream can be used almost anywhere!)

###HTTP Commands

####Commands - HERO2/HERO3/HERO3+:

The URL scheme: http://10.5.5.9/param1/PARAM2?t=PASSWORD&p=%OPTION

  • param1 = That defines if the action will be activated in the camera or bacpac (back in the HERO2 days the "bacpac" was the separate WiFi unit).
  • PARAM2 = A two character parameter which defines what the camera needs to do. Eg: SH for Shoot
  • OPTION: The arguments for PARAM2

#####Basics:

  • bacpac PW - 00 Turn GoPro OFF

  • bacpac PW - 01 Turn GoPro ON

  • bacpac RS - Reset bacpac

  • bacpac SH - 01 Shutter

  • bacpac SH - 00 Stop

  • camera PV - 02 Preview ON

  • camera PV - 00 Preview OFF

  • camera TM - Set time, requires a longer string, each field is a byte with a % before it:

    • Last 2 digits of the year
    • Month (1 - January, 12 - December)
    • Day of the month (1 - 31)
    • Hour (24-hour format, starts from zero)
    • Minute
    • Second

#####Mode:

  • camera CM - 00 Video Mode

  • camera CM - 01 Photo Mode

  • camera CM - 02 Burst Mode

  • camera CM - 03 Timelapse Mode

  • camera CM - 04 Timer Mode (hero2)

  • camera CM - 05 Play HDMI

#####Orientation

  • camera UP - 00 Orientation UP

  • camera UP - 01 Orientation DOWN

#####Video resolutions HERO2 and HERO3 silver:

  • camera VR - 00 WVGA 60

  • camera VR - 01 WVGA 120

  • camera VR - 02 720 30

  • camera VR - 03 720 60

  • camera VR - 04 960 30

  • camera VR - 05 960 48

  • camera VR - 06 1080 30

#####Video resolutions Black edition:

  • camera VV 08 4kCin12

  • camera VV 07 2.7kCin24

  • camera VV 06 4k 15

  • camera VV 05 2.7k 30

  • camera VV 04 1440p 40

  • camera VV 03 1080 60

  • camera VR 05 1080 30

  • camera VR 06 960 48

  • camera VV 02 960 100

  • camera VV 01 720 120

  • camera VV 00 WVGA 240

#####Video resolutions HERO3+Black:

  • camera VV 06 - 4K

  • camera VV 08 - 4K 17:9

  • camera FS 01 - 4K 15FPS

  • camera FS 00 - 4K 12FPS

  • camera VV 07 - 2K

  • camera VV 05 - 2.7k

  • camera FS 02 - 2.7k 24FPS

  • camera FS 04 - 2.7k 30FPS

  • camera VV 04 - 1440p

  • camera FS 05 - 1440 48FPS

  • camera VV 09 - 1080 SuperView

  • camera VV 03 - 1080

  • camera VV 02 - 960p

  • camera VV 0a - 720 SuperView

  • camera VV 01 - 720p

#####Frame rate:

  • camera FS - 00 FPS12

  • camera FS - 01 FPS15

  • camera FS - 0b FPS12p5

  • camera FS - 02 FPS24

  • camera FS - 03 FPS25

  • camera FS - 04 FPS30

  • camera FS - 05 FPS48

  • camera FS - 06 FPS50

  • camera FS - 07 FPS60

  • camera FS - 08 FPS100

  • camera FS - 09 FPS120

  • camera FS - 0a FPS240

#####Fov:

  • camera FV - 00 wide

  • camera FV - 01 medium

  • camera FV - 02 narrow

#####Photo resolution HERO2 and HERO3 silver:

  • camera PR - 00 11mpW

  • camera PR - 01 8mpM

  • camera PR - 02 5mpW

  • camera PR - 03 5mpM

#####Timelapse Interval:

  • camera TI - 00 0,5 sec

  • camera TI - 01 1sec

  • camera TI - 05 5sec

  • camera TI - 0a 10sec

  • camera TI - 1e 30sec

  • camera TI - 3c 60sec

#####Volume:

  • camera BS - 00 no sound

  • camera BS - 01 70%

  • camera BS - 02 100%

#####White Balance HERO3 "ONLY IF Protune ON"

  • camera WB - 00 auto

  • camera WB - 01 3000k

  • camera WB - 02 5500k

  • camera WB - 03 6500k

  • camera WB - 04 CAMRAW

#####Continuous Shot (HERO3):

  • camera CS - 00 Single

  • camera CS - 03 3SPS

  • camera CS - 05 5SPS

  • camera CS - 0a 10SPS

#####Burst Rate HERO3:

  • camera BU - 00 3/1s

  • camera BU - 02 10/1s

  • camera BU - 03 10/2s

  • camera BU - 04 30/1s

  • camera BU - 05 30/2s

  • camera BU - 06 30/3s

#####Loop Video HERO3:

  • camera LO - 00 OFF

  • camera LO - 01 5min

  • camera LO - 02 20Min

  • camera LO - 03 60Min

  • camera LO - 05 Max

#####Protune ON/OFF:

  • camera PT - 01 ON

  • camera PT - 00 OFF

#####Delete:

  • camera DL - (no number) last

  • camera DA - (no number) all

  • camera DF - delete specific?

#####Photo resolution Black ed:

  • camera PR - 05 12mpW

  • camera PR - 04 7mpW

  • camera PR - 06 7mpM

  • camera PR - 03 5mpM

#####Leds:

  • bacpac LB - 00 no leds

  • camera LB - 01 2 leds

  • camera LB - 02 4 leds

#####Spot Meter:

  • camera EX - 00 OFF

  • camera EX - 01 ON

#####One Button Mode:

  • camera OB - 00 OFF

  • camera OB - 01 ON

#####Protune Resolutions HERO2 and HERO3 silver:

  • camera VR - 07 1080 30 Protune

  • camera VR - 08 1080 24 Protune

  • camera VR - 11 1080 25 Protune

  • camera VR - 09 960 60 Protune

#####Protune Resolutions HERO3 black ONLY IF PROTUNE IS ON:

  • camera VV 00 720 120T

  • camera VV 02 960 100T

  • camera VV 03 1080 60T

  • camera VV 04 1440 48T

  • camera VV 05 2.7k 30T

  • camera VV 06 4k 15T

  • camera VV 07 2.7KCin24T

  • camera VV 08 4kCin12T

#####Auto Power Off:

  • camera AO - 00 NEVER

  • camera AO - 01 60s

  • camera AO - 02 120s

  • camera AO - 03 300s

#####Default Mode:

  • camera DM - 00 Video

  • camera DM - 01 Photo

  • camera DM - 02 Burst

  • camera DM - 03 Timelapse

#####OnScreen Display:

  • camera OS - 00 OFF

  • camera OS - 01 ON

#####Locate:

  • camera LL - 01 Start

  • camera LL - 00 Stop

#####Video Mode:

  • camera VM - 00 NTSC

  • camera VM - 01 PAL

####Commands - HERO4:

The HERO2/3/3+ commands also work with HERO4 but its not recommended to use them!

HERO4 do not need any password in the URL

####Protune

#####Controls:

Video

Photo

Multishot

#####White Balance:

Video

Photo

MultiShot

#####Color:

Video

Photo

MultiShot

#####ISO:

Video

Photo

MultiShot

#####Sharpness:

Video

Photo

MultiShot

#####EV:

Video

Value URL
+2 http://10.5.5.9/gp/gpControl/setting/15/0
+1.5 http://10.5.5.9/gp/gpControl/setting/15/1
+1 http://10.5.5.9/gp/gpControl/setting/15/2
+0.5 http://10.5.5.9/gp/gpControl/setting/15/3
0 http://10.5.5.9/gp/gpControl/setting/15/4
-0.5 http://10.5.5.9/gp/gpControl/setting/15/5
-1 http://10.5.5.9/gp/gpControl/setting/15/6
-1.5 http://10.5.5.9/gp/gpControl/setting/15/7
-2 http://10.5.5.9/gp/gpControl/setting/15/8

Photo

Value URL
+2 http://10.5.5.9/gp/gpControl/setting/26/0
+1.5 http://10.5.5.9/gp/gpControl/setting/26/1
+1 http://10.5.5.9/gp/gpControl/setting/26/2
+0.5 http://10.5.5.9/gp/gpControl/setting/26/3
0 http://10.5.5.9/gp/gpControl/setting/26/4
-0.5 http://10.5.5.9/gp/gpControl/setting/26/5
-1 http://10.5.5.9/gp/gpControl/setting/26/6
-1.5 http://10.5.5.9/gp/gpControl/setting/26/7
-2 http://10.5.5.9/gp/gpControl/setting/26/8

MultiShot

Value URL
+2 http://10.5.5.9/gp/gpControl/setting/39/0
+1.5 http://10.5.5.9/gp/gpControl/setting/39/1
+1 http://10.5.5.9/gp/gpControl/setting/39/2
+0.5 http://10.5.5.9/gp/gpControl/setting/39/3
0 http://10.5.5.9/gp/gpControl/setting/39/4
-0.5 http://10.5.5.9/gp/gpControl/setting/39/5
-1 http://10.5.5.9/gp/gpControl/setting/39/6
-1.5 http://10.5.5.9/gp/gpControl/setting/39/7
-2 http://10.5.5.9/gp/gpControl/setting/39/8

#####Primary modes:

#####Secondary modes:

#####Power:

#####Frame Rate:

#####Resolutions:

#####FOV

#####Exposure time for NightPhoto:

#####Exposure time for NightLapse:

#####Interval for NightLapse

#####Photo resolution:

#####Low Light:

#####Timelapse Interval (TIMELAPSE MODE on MultiShot):

#####Continuous photo rate:

#####Video Looping Duration:

#####Video+Photo Interval:

#####Spot Meter:

Video

Photo

MultiShot

####Burst Rate:

#####Shutter

#####Orientation:

#####Quick Capture:

#####LED Blink:

#####Beeps:

#####Video Format:

#####On Screen Display:

#####Auto Off:

#####Tag moment:

http://10.5.5.9/gp/gpControl/command/storage/tag_moment

#####Delete file:

http://10.5.5.9/gp/gpControl/command/storage/delete?p=file (eg. /100GOPRO/G0010124.JPG)

#####List files

http://10.5.5.9:8080/gp/gpMediaList

#####Download thumbnail

http://10.5.5.9/gp/gpMediaMetadata?p=file (eg. /100GOPRO/G0010126.JPG)

####Commands - Discontinued Cameras

They use the HERO2/HERO3/HERO3+ AFAIK (not directly confirmed!)