Add support for Gopro .360 format #324
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for the special .360 format used by GoPro MAX. By add the submodule made by Alexander (https://github.com/alexarje/gopromax-conversion-tools), the
Mg360Videois now able to init withprojection="gopro_360", and convert it to either equirectangular or dual fisheye format. An example would be:After being converted to equirect, it can be further converted to other projections using the previous functions in
Mg360Videoby calling the ffmpegvfilteroptions.I've tested the equirect conversion that seems to work well, but there seems to be some issues with the dual fisheye conversion. Nevertheless, I assume the API can be the same and therefore I've included both functionalities. It can be fixed by updating the submodule once the conversion script is fixed.
Another small issue is that the projection conversion is really slow, I got ~x0.15 speed comparing to realtime.
Finally, I wanted to add 360 related contents to the MGT wiki, but it seems like that I need some extra permissions to change the wiki contents. Can anyone help me with that? Thanks in advance :)
Best,
Arthur