Open SpoddyCoder opened 2 years ago
Got the same error with footage from Sony A7S3. GUI does not produce this error.
I checked the cli.py and the following line causes the issue in my case:
success = stab.full_auto_sync_parallel(
max_fitting_error = args.auto_sync_error_margin,
max_points=args.auto_sync,
n_frames=args.sync_analyze_frames,
sync_points=sync_points,
debug_plots=False
)
I changed it to:
success = stab.full_auto_sync(max_fitting_error = args.auto_sync_error_margin,max_points=args.auto_sync,debug_plots=False)
and in the full_auto_sync function in stabalizer.py I changed the return to:
return self.multi_sync_fit(max_fitting_error = max_fitting_error,debug_plots=debug_plots) #otherwise the gui starts
But remark: I think with this changes only the auto sync will work...
Testing out @MiniGod 's CLI feature on the dev branch (https://github.com/ElvinC/gyroflow/pull/104).
Using DJI Air Unit source video file and betaflight CSV. Tried a number of invocations, but output of minimal example below - error is during the sync phase, which goes onto repeat forever (only included the a small part of the 2nd repeat).