Skip to content
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 H11/12 upload fails at 4GB with ptp2 driver #990

Open
mijoost opened this issue Aug 1, 2024 · 0 comments
Open

GoPro H11/12 upload fails at 4GB with ptp2 driver #990

mijoost opened this issue Aug 1, 2024 · 0 comments

Comments

@mijoost
Copy link

mijoost commented Aug 1, 2024

Latest GoPro models (HERO12/11) split videos at ~12GB chunks/chapters on large (64GB and above) SD cards.
File listing in gphoto2 limits the size at 4GB, and uploading with libgphoto2-2.5.31 truncates those files at 4GB, effectively corrupting them (missing important index info at the end).

There used to be a related issue:
#582
but somehow that fix is not effective here (2.5.31).

I created a proof-of-concept patch to fix this issue against libgphoto2-2.5.31, which corrects both the displayed file sizes and the truncated uploading.
This small patch "works for me"(TM), but hasn't been checked for possible side-effects.
May the wizards have a look, and take, modify or create something else to the same effect.
libgphoto2-2.5.31.gopro_64.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant