Insta360Develop / MediaSDK-Cpp

MediaSDK-Cpp is a C++ library to handle stitching, editing of media from Insta360 Cameras.
60 stars 8 forks source link

Failed to run jpg stitching using latest SDK version #29

Open AlonEshelAB opened 5 months ago

AlonEshelAB commented 5 months ago

Hi, I met this issue: https://github.com/Insta360Develop/MediaSDK-Cpp/issues/18, now when using the image stitcher. Device: X3 Firmware version: v1.0.85 SDK version: LinuxSDK20231211

I'm capturing jpg images using the CameraSDK which I can confirm look legit and I'm able to view them with other software. Each jpg contains both fisheye lenses. I managed to compile the project successfully and when running with this command (without cuda): ./StitchInstaX3 -inputs /home/l2pp/ab_l2pp/x3_stream/frames/frame_1.jpg -output /home/l2pp/ab_l2pp/x3_stream/result.jpeg I'm getting this output:

[02-12 15:38:14.926]  2625305 2625305 I ExtraInfoAsset.cc:0263:  extrainfo asset Parse: iotool read header fail
[02-12 15:38:14.926]  2625305 2625305 E OffsetUtil.cc:0872:  merge offset v1v2v3 fail, offset v1 emtpy
[02-12 15:38:14.963]  2625305 2625305 E ImageAsset.cc:0859:  AssetFile does not contain ExtraInfo!
[02-12 15:38:14.965]  2625305 2625305 E image_stitcherImp.cpp:0096:  blender init failed

Can you please instruct on how to solve this?

phamkhactu commented 4 months ago

Hi @AlonEshelAB

I am a newbie in this field. Forgive me if I ask a wired question.

Where is the place sdk which I can download? I've red the [readme](MediaSDK install Guide.md). However, I can not find the sdk.dev to build with dkpg

​ sudo dpkg -i libMediaSDK-dev_2.0-0_amd64_ubuntu18.04.deb
AlonEshelAB commented 4 months ago

Hi @phamkhactu , I'm not an official for insta360, but you need to apply via their website and after they approve you, they will share a download link with you. You need an insta360 account and also to have your camera serial number in hand. this is the link to apply: https://www.insta360.com/sdk/apply