Insta360Develop / CameraSDK-iOS

iOS SDK to control Insta360 cameras.
33 stars 5 forks source link

Video recorded from X4 with new SDK missing GYRO and accelerometer data. #42

Open sssuourabh opened 1 week ago

sssuourabh commented 1 week ago

I started recording video from X4 and found out the video doesn't have GYRO and accelerometer data. Can someone from @insta360 team help with this, if any setting is required.? Thanks in advance. @ceciliafengye

@kelvinhkw @capjason @yunyiyunyi @jessearmandse @ravilich86 @shoaoki-arent

sssuourabh commented 3 days ago

This code is returning nil - ` NSURL url = #source url# INSVideoInfoParser parser = [[INSVideoInfoParser alloc] initWithURL:url]; if ([parser openFast]) { // offset NSString *offset = parser.extraInfo.metadata.offset;

// resolution
CGSize resolution = parser.extraInfo.metadata.dimension;

// gyroscope data
INSExtraGyroData *gyroData = parser.extraInfo.gyroData;

} ` This gyrodata is coming nil for X4.