-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pythonw do nothing (ffmpeg problem?) #6
Comments
Hi @Vegeta4567, It is likely an issue with the installation of FFmpeg. Could you try to install it manually from https://ffmpeg.org/ , restart your computer, and try again? Otherwise, can you help me with the following in order:
Try this and let me know how things go! |
Hello, Thanks for your fast reply! I am using Python 3.6.0 in the virtual env. 3.6.10 in the base (same problem): I reinstalled ffmpeg. ffmpeg -version gives: The versions: If I run: pythonw .\scripts\FreeClimber_main.py --video_file .\example\w1118_m_2_1.avi it's the same problem. I suppose it's the non-GUI right? I am not really familiar with Python, where I put the --debug command? Thanks a lot and best! |
The debug command would go at the end of when you call the script: To run the non-GUI, try this as well: |
Hello, The first command returns absolutely nothing. For the second one, I have this result: ######################################################################## FreeClimber v.0.4.0Please cite: https://doi.org/10.1242/jeb.229377######################Beginning program @ 2023-09-12 08:58:52########################################################################
|
I get the same error. Please help:( |
Hello, For me, the problem was the virtual env. I have totally uninstalled python and anaconda. And it works :-) |
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...
The text was updated successfully, but these errors were encountered: