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

Full size conversion crashes #45

Open
zpillio opened this issue Sep 5, 2023 · 0 comments
Open

Full size conversion crashes #45

zpillio opened this issue Sep 5, 2023 · 0 comments

Comments

@zpillio
Copy link

zpillio commented Sep 5, 2023

gpr_tools -i GOPR0001.GPR -o GOPR0001.jpg -r 1:1

cashes with:

Could not decode input vc5 bitstream. Error number 20
gpr_tools: /home/zp/code/gpr/source/lib/gpr_sdk/private/gpr.cpp:1735: bool gpr_convert_gpr_to_rgb(const gpr_allocator*, GPR_RGB_RESOLUTION, int, gpr_buffer*, gpr_rgb_buffer*): Assertion `0' failed.
Aborted (core dumped)

Error number 20 is CODEC_ERROR_UNSUPPORTED_FORMAT

The problem is parameters->rgb_resolution == GPR_RGB_RESOLUTION_FULL case havn't been implemented here: https://github.com/gopro/gpr/blob/master/source/lib/vc5_decoder/decoder.c#L201

@zpillio zpillio changed the title Full size convertion crashes Full size conversion crashes Sep 5, 2023
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