Thank for all your work on this api, it's really very useful!
I'm having trouble getting a decent quality stream from my gopro hero 4 to facebook. Even if I just display the stream locally, it's quite blury, unlike when I record using the camera normally.
In my gopro_keepalive.py script, I tried adding in:
gopro.streamSettings("4000000", "4"), it doesn't seem to change the quality, though.
For some reason it wouldn't resolve the constants when I tried:
gpCam.streamSettings(constants.Stream.Bitrate.B4Mbps, constants.Stream.WindowSize.R480) #For HERO4
It doesn't look like 480p streaming at all. It looks something more like 240p
In fb_live.sh, I put in:
VBR="4000k"
FPS="30"
QUAL="medium"
When I try to put QUAL = "high", I get
"Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"
Is there any way you can point me in the right direction?
It also goes kind of pixelated at times. However i'm not too sure what to make of the errors that the gopro_keepalive.py script gives:
[h264 @ 0x1f2f6e0] left block unavailable for requested intra4x4 mode -17kbits/s speed=1.05x
[h264 @ 0x1f2f6e0] error while decoding MB 0 12, bytestream 4295
[h264 @ 0x1f2f6e0] concealing 130 DC, 130 AC, 130 MV errors in P frame
[h264 @ 0x1b4b7f0] concealing 182 DC, 182 AC, 182 MV errors in P frame8.0kbits/s speed=1.05x
[h264 @ 0x1b9d040] concealing 207 DC, 207 AC, 207 MV errors in P frame7.7kbits/s speed=1.05x
[h264 @ 0x1f2f6e0] left block unavailable for requested intra mode=1137.4kbits/s speed=1.05x
[h264 @ 0x1f2f6e0] error while decoding MB 0 8, bytestream 7354
Hi,
Thank for all your work on this api, it's really very useful!
I'm having trouble getting a decent quality stream from my gopro hero 4 to facebook. Even if I just display the stream locally, it's quite blury, unlike when I record using the camera normally.
In my gopro_keepalive.py script, I tried adding in: gopro.streamSettings("4000000", "4"), it doesn't seem to change the quality, though. For some reason it wouldn't resolve the constants when I tried: gpCam.streamSettings(constants.Stream.Bitrate.B4Mbps, constants.Stream.WindowSize.R480) #For HERO4
It doesn't look like 480p streaming at all. It looks something more like 240p
In fb_live.sh, I put in: VBR="4000k" FPS="30" QUAL="medium"
When I try to put QUAL = "high", I get
"Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"
Is there any way you can point me in the right direction?
It also goes kind of pixelated at times. However i'm not too sure what to make of the errors that the gopro_keepalive.py script gives: [h264 @ 0x1f2f6e0] left block unavailable for requested intra4x4 mode -17kbits/s speed=1.05x [h264 @ 0x1f2f6e0] error while decoding MB 0 12, bytestream 4295 [h264 @ 0x1f2f6e0] concealing 130 DC, 130 AC, 130 MV errors in P frame [h264 @ 0x1b4b7f0] concealing 182 DC, 182 AC, 182 MV errors in P frame8.0kbits/s speed=1.05x [h264 @ 0x1b9d040] concealing 207 DC, 207 AC, 207 MV errors in P frame7.7kbits/s speed=1.05x [h264 @ 0x1f2f6e0] left block unavailable for requested intra mode=1137.4kbits/s speed=1.05x [h264 @ 0x1f2f6e0] error while decoding MB 0 8, bytestream 7354
Thanks!