Skip to content

MTFG crashes after I click OK button on settings popup #16

@geogan

Description

@geogan

Using latest OFS 2.0.0 and Python Funscript Generator 0.4.1

From funscript_editor.log

2022-08-22 13:10:29,174 - funscript_editor.api - INFO - Python Funscript Generator 0.4.1
2022-08-22 13:10:29,175 - funscript_editor.api - INFO - Startup Path: C:\Program Files\OpenFunscripter
2022-08-22 13:10:29,175 - funscript_editor.api - INFO - Args: video_file=xxx, start_time=879.0, end_time=35833.0, output_file=C:\Users\xxxx\AppData\Roaming\OFS\OFS2_data\extensions\Funscript Generator Windows/funscript_actions.json
2022-08-22 13:10:29,532 - funscript_editor.ui.funscript_generator_window - INFO - Set End Time to Frame Number 36
2022-08-22 13:10:29,532 - funscript_editor.ui.funscript_generator_window - INFO - Hyperparameter:{'min_frames': 90, 'user_reaction_time_in_milliseconds': 1000, 'signal': {'local_max_min_filter_len': 1, 'avg_sec_for_local_min_max_extraction': 2.0, 'distance_minimization_threshold': 16.0, 'high_second_derivative_points_threshold': 1.2, 'direction_change_filter_len': 3, 'additional_points_merge_time_threshold_in_ms': 60, 'additional_points_merge_distance_threshold': 8.0, 'min_evenly_intermediate_interframes': 2, 'additional_points_repetitions': 2}, 'scene_detector': {'min_scene_len_in_seconds': 3, 'scene_content_detector_threshold': 30.0, 'scene_threshold_detector_threshold': 12}, 'tracker': {'tracking_init_phase_in_sec': 6, 'tracking_plausibility_factor_x': 4.0, 'tracking_plausibility_factor_y': 2.5}}
2022-08-22 13:10:29,532 - funscript_editor.ui.funscript_generator_window - INFO - Config:{'use_zoom': False, 'zoom_factor': 4.0, 'max_playback_fps': 0, 'preview_scaling': 0.6, 'tracker': 'CSRT', 'notification_sound': 'off', 'scene_detector': 'CSV', 'raw_output': False, 'dark_theme': False, 'tracking_plausibility_check': False, 'ffmpeg_timeout_in_seconds': 15}
2022-08-22 13:10:35,100 - funscript_editor.ui.funscript_generator_window - INFO - settings: {'videoType': '2D Video with Filters', 'trackingMetrics': 'y', 'trackingMethod': 'Unsupervised one moving person', 'numberOfTracker': '1', 'points': 'Local Min Max', 'additionalPoints': 'None', 'processingSpeed': '0', 'topPointOffset': 10, 'bottomPointOffset': -10}
2022-08-22 13:10:35,264 - funscript_editor.ui.opencvui - INFO - Show ROI Menu
2022-08-22 13:10:35,264 - funscript_editor.algorithms.funscriptgenerator - CRITICAL - The program crashed due to a fatal error
Traceback (most recent call last):
  File "funscript_editor\algorithms\funscriptgenerator.py", line 945, in run
  File "funscript_editor\algorithms\funscriptgenerator.py", line 600, in tracking
  File "funscript_editor\ui\opencvui.py", line 743, in get_video_projection_config
  File "funscript_editor\data\ffmpegstream.py", line 155, in get_projection
ZeroDivisionError: float division by zero
2022-08-22 13:10:35,265 - funscript_editor.ui.funscript_generator_window - INFO - Save result to C:\Users\xxx\AppData\Roaming\OFS\OFS2_data\extensions\Funscript Generator Windows\funscript_actions.json
2022-08-22 13:10:35,265 - funscript_editor.ui.funscript_generator_window - ERROR - The program crashed due to a fatal error
2022-08-22 13:11:25,997 - funscript_editor.api - INFO - Python Funscript Generator 0.4.1
2022-08-22 13:11:25,997 - funscript_editor.api - INFO - Startup Path: C:\Program Files\OpenFunscripter
2022-08-22 13:11:25,997 - funscript_editor.api - INFO - Args: video_file=xxx, start_time=879.0, end_time=35833.0, output_file=C:\Users\xxx\AppData\Roaming\OFS\OFS2_data\extensions\Funscript Generator Windows/funscript_actions.json
2022-08-22 13:11:26,345 - funscript_editor.ui.funscript_generator_window - INFO - Set End Time to Frame Number 36
2022-08-22 13:11:26,345 - funscript_editor.ui.funscript_generator_window - INFO - Hyperparameter:{'min_frames': 90, 'user_reaction_time_in_milliseconds': 1000, 'signal': {'local_max_min_filter_len': 1, 'avg_sec_for_local_min_max_extraction': 2.0, 'distance_minimization_threshold': 16.0, 'high_second_derivative_points_threshold': 1.2, 'direction_change_filter_len': 3, 'additional_points_merge_time_threshold_in_ms': 60, 'additional_points_merge_distance_threshold': 8.0, 'min_evenly_intermediate_interframes': 2, 'additional_points_repetitions': 2}, 'scene_detector': {'min_scene_len_in_seconds': 3, 'scene_content_detector_threshold': 30.0, 'scene_threshold_detector_threshold': 12}, 'tracker': {'tracking_init_phase_in_sec': 6, 'tracking_plausibility_factor_x': 4.0, 'tracking_plausibility_factor_y': 2.5}}
2022-08-22 13:11:26,345 - funscript_editor.ui.funscript_generator_window - INFO - Config:{'use_zoom': False, 'zoom_factor': 4.0, 'max_playback_fps': 0, 'preview_scaling': 0.6, 'tracker': 'CSRT', 'notification_sound': 'off', 'scene_detector': 'CSV', 'raw_output': False, 'dark_theme': False, 'tracking_plausibility_check': False, 'ffmpeg_timeout_in_seconds': 15}
2022-08-22 13:11:33,406 - funscript_editor.ui.funscript_generator_window - INFO - settings: {'videoType': '2D Video with Filters', 'trackingMetrics': 'y', 'trackingMethod': 'Unsupervised one moving person', 'numberOfTracker': '1', 'points': 'Local Min Max', 'additionalPoints': 'None', 'processingSpeed': '0', 'topPointOffset': 10, 'bottomPointOffset': -10}
2022-08-22 13:11:33,581 - funscript_editor.ui.opencvui - INFO - Show ROI Menu
2022-08-22 13:11:33,581 - funscript_editor.algorithms.funscriptgenerator - CRITICAL - The program crashed due to a fatal error
Traceback (most recent call last):
  File "funscript_editor\algorithms\funscriptgenerator.py", line 945, in run
  File "funscript_editor\algorithms\funscriptgenerator.py", line 600, in tracking
  File "funscript_editor\ui\opencvui.py", line 743, in get_video_projection_config
  File "funscript_editor\data\ffmpegstream.py", line 155, in get_projection
ZeroDivisionError: float division by zero
2022-08-22 13:11:33,583 - funscript_editor.ui.funscript_generator_window - INFO - Save result to C:\Users\xxx\AppData\Roaming\OFS\OFS2_data\extensions\Funscript Generator Windows\funscript_actions.json
2022-08-22 13:11:33,583 - funscript_editor.ui.funscript_generator_window - ERROR - The program crashed due to a fatal error
2022-08-22 13:11:35,197 - funscript_editor.ui.funscript_generator_window - INFO - EXIT with Workaround

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions