ultramango / gear360pano

Simple script to create equirectangular panorama by stitching images from Samsung Gear 360
MIT License
225 stars 55 forks source link

Unable to stitch 2017 video #47

Closed dustinkerstein closed 6 years ago

dustinkerstein commented 6 years ago

At first I ran into a PTO file naming issue:

error while parsing panos tool script: gear360video.pto

Changing line 307 in gear360video.cmd from PTOTMPL=gear360video.pto to: set PTOTMPL=gear360video4k.pto resolved that issue. But then I run into this error:

Processing took: 0 s
Processed files are in frames_stitched
Processing frame frames\image00015.jpg
Processing file: frames\image00015.jpg
Processing input images (nona)
nona.exe: using graphics card: NVIDIA Corporation GeForce GTX 1060/PCIe/SSE2
caught exception:
Precondition violation!
RemappedPanoImage<RemapImage,AlphaImage>::remapImage(): image unexpectedly changed dimensions.
(C:\Prog\Hugin\dynamic_vs2015\hugin-hg\src\hugin_base\nona/RemappedPanoImage.h:443)

Apologies for putting two issues in one ticket, but I'm not sure if I somehow caused the second one by using a different PTO file. Any thoughts as to what is causing this issue?

dustinkerstein commented 6 years ago

Ah, it seems like it could be the video resolution per #17 and #28. I'm currently using the max 2017 resolution of 4096x2048. I'll close this ticket for now. Thanks.