Hello,
I tried to follow the steps described in https://github.com/adamspierer/FreeClimber/blob/master/TUTORIAL.md
I am pretty sure I followed all the instructions, but when I try to run:
(python36) C:\Users\myUser\Desktop\free\FreeClimber>pythonw .\scripts\FreeClimber_gui.py --video_file .\example\w1118_m_2_1.avi
Is does absolutely nothing. I tried to redirect the output in a file, and I have this. I installed ffmpeg, added to the environment variables, but I am stuck. Do you have an idea?
Thanks a lot for your help and best regards!
Traceback (most recent call last):
File "C:\Users\myUser\Desktop\free\FreeClimber\scripts\detector.py", line 276, in video_to_array
out,err = (ffmpeg
AttributeError: module 'ffmpeg' has no attribute 'input'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".\scripts\FreeClimber_gui.py", line 40, in OnInit
frame = create(None, file_name)
File ".\scripts\FreeClimber_gui.py", line 782, in create
return main_gui(parent, file_path)
File ".\scripts\FreeClimber_gui.py", line 125, in init
self.load_video()
File ".\scripts\FreeClimber_gui.py", line 192, in load_video
variables = vars)
File "C:\Users\myUser\Desktop\free\FreeClimber\scripts\detector.py", line 76, in init
self.image_stack = self.video_to_array(video_file,loglevel='panic')
File "C:\Users\myUser\Desktop\free\FreeClimber\scripts\detector.py", line 283, in video_to_array
print('!! Could not read in video file to an array. Error message (if any):', err)
UnboundLocalError: local variable 'err' referenced before assignment
########################################################################
FreeClimber v.0.4.0
Beginning program @ 2023-09-08 14:57:10
########################################################################
--> Video file: .\example\w1118_m_2_1.avi
Loading: .\example\w1118_m_2_1.avi
!! Could not read .\example\w1118_m_2_1.avi into FreeClimber. Likely due to unacceptable video file or FFmpeg not installed
!! Could not read in video file metadata
OnInit returned false, exiting...
Hello,
I tried to follow the steps described in https://github.com/adamspierer/FreeClimber/blob/master/TUTORIAL.md
I am pretty sure I followed all the instructions, but when I try to run:
(python36) C:\Users\myUser\Desktop\free\FreeClimber>pythonw .\scripts\FreeClimber_gui.py --video_file .\example\w1118_m_2_1.avi
Is does absolutely nothing. I tried to redirect the output in a file, and I have this. I installed ffmpeg, added to the environment variables, but I am stuck. Do you have an idea?
Thanks a lot for your help and best regards!
Traceback (most recent call last):
File "C:\Users\myUser\Desktop\free\FreeClimber\scripts\detector.py", line 276, in video_to_array
out,err = (ffmpeg
AttributeError: module 'ffmpeg' has no attribute 'input'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".\scripts\FreeClimber_gui.py", line 40, in OnInit
frame = create(None, file_name)
File ".\scripts\FreeClimber_gui.py", line 782, in create
return main_gui(parent, file_path)
File ".\scripts\FreeClimber_gui.py", line 125, in init
self.load_video()
File ".\scripts\FreeClimber_gui.py", line 192, in load_video
variables = vars)
File "C:\Users\myUser\Desktop\free\FreeClimber\scripts\detector.py", line 76, in init
self.image_stack = self.video_to_array(video_file,loglevel='panic')
File "C:\Users\myUser\Desktop\free\FreeClimber\scripts\detector.py", line 283, in video_to_array
print('!! Could not read in video file to an array. Error message (if any):', err)
UnboundLocalError: local variable 'err' referenced before assignment
########################################################################
FreeClimber v.0.4.0
Please cite: https://doi.org/10.1242/jeb.229377
Beginning program @ 2023-09-08 14:57:10
########################################################################
--> Video file: .\example\w1118_m_2_1.avi
Loading: .\example\w1118_m_2_1.avi
!! Could not read .\example\w1118_m_2_1.avi into FreeClimber. Likely due to unacceptable video file or FFmpeg not installed
!! Could not read in video file metadata
OnInit returned false, exiting...