-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GoPro Hero 8 Black | Getting "Packet corrupt" errors when calling "gopro.stream()" and "gopro.overview()" throws error too. #171
Comments
Hi @KonradIT, any chance you might know what's happening here and how I might be able to resolve this problem? I'm a developer. My Python skills are so-so, but I'd be happy to help if you can point me in the right direction of handling the "Packet corrupt" errors. Seems like it may be an ffmpeg thing, but I'm not sure. |
Hi @simspace-dev , |
@simspace-dev following on the overview() issue: I did get different errors depending on the kind of gopro I was setting up. Here are some various options:
Best would be to make this function more resilient, but in the meantime what I did was making my own local **overview ** function, which is almost a copypaste of the lib"s version, without the crashing parts. |
Hi @KonradIT,
I am trying to stream GoPro Hero 8 Black video to MPV as shown in this video called
"GoPro HERO7 with Python API": https://www.youtube.com/watch?v=i-X4fPVfoW0
I am on Mac OS Catalina running Python 3.9 and I installed gopro-py-api as follows:
pip install goprocam
I can ...
gopro.listMedia(True)
gopro.shoot_video(10)
gopro.take_photo()
Error 1 |
gopro.stream("udp://127.0.0.1:10000")
displays "packet corrupt" messagesSee the command line output at the bottom of this post.
Error 2 |
gopro.overview()
throws this error:I did set a
breakpoint()
in theoverview()
method in "GoProCamera.py" and found there is noSTATUS.mode
with a key of "43" in the raw status data, but I do see a key with "43" in thesettings
json object. Should this be gettingsettings
data instead ofstatus
data?Do you have any suggestions or ideas how I can resolve these issues?
Thanks,
Chris
[CLI log of "Packet corrupt" messages]
The text was updated successfully, but these errors were encountered: