OpenGoPro icon indicating copy to clipboard operation
OpenGoPro copied to clipboard

Change preview stream quality

Open pavloshargan opened this issue 3 years ago • 4 comments

The API doc says, that the quality of the stream could be different, up to 1080p. Now I can get only 720p 30Fps via this command: http://10.5.5.9:8080/gopro/camera/stream/start

I am able to change the quality of the stream in the gopro-quick mobile app, so I suppose there is some url to change the resolution of the stream, that wasn't mentioned in the API. Like this:

http://10.5.5.9:8080/gopro/camera/stream/start?res=1080p

The question: how can I change the resolution of the stream?

pavloshargan avatar Jan 27 '22 08:01 pavloshargan

Do you mean the quality of the RTMP livestream? That can only be changed when initiating a livestream and has to be done over BLE.

KonradIT avatar Jan 27 '22 08:01 KonradIT

Do you mean the quality of the RTMP live stream? That can only be changed when initiating a Livestream and has to be done over BLE.

Does GoproHero10 support different types of streams?

I mean UDP stream over wireless network, which I start via http://10.5.5.9:8080/gopro/camera/stream/start, and read on udp://0.0.0.0:8554

pavloshargan avatar Jan 27 '22 13:01 pavloshargan

@KonradIT @tcamise-gpsw

Ok, I suppose I have understood, that it could be 2 types of the stream:

1)Preview stream:

  • Streaming to GoPro local network
  • 720p by default
  • starts/stops via wifi command http://10.5.5.9:8080/gopro/camera/stream/start(stop) and could be accessed on udp://0.0.0.0:8554

2)Stream to the internet:

  • Streams directly from the GoPro to the internet (to rmpt server for instance)
  • could be 1080p/720p/480p
  • could be configured and started via Bluetooth commands (don’t know which ones)

I am mostly interested in the first one (streaming the preview to Gopro's local network) It works, I am able just to start and stop it. But I am really wanting to change its resolution from 720p to 1080p. Is that possible?, If yes - then how can I do It?

pavloshargan avatar Jan 27 '22 22:01 pavloshargan

  1. was solved in the 1.30 release: https://gopro.github.io/OpenGoPro/http_2_0#settings-quick-reference

Ex: /gopro/webcam/start?res=12&fov=0.

KonradIT avatar Feb 12 '22 19:02 KonradIT

As mentioned above, the Preview Stream end point now takes resolution and fov arguments.

tcamise-gpsw avatar Nov 15 '22 16:11 tcamise-gpsw