-
Notifications
You must be signed in to change notification settings - Fork 12
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
list index out of range #5
Comments
Could you possibly toss a debug statement in so we can see what histogram contains? Is PIL, ffmpeg properly installed? |
With print histogram: ##But ffmpeg in istalled: |
try running ffmpeg from a terminal. If you receive this message 'sh: ffmpeg: command not found' or similar then you will need to create a symlink (or copy the binary) from the ffmpegx application folder. Since ffmpegx is a GUI, it does not install the ffmpeg commandline tool by default. Try this: |
FYI: videothumbs is now wrapped within a package installer and is available via Python's Package Index. Cheers! |
Thanks for great Plugin. |
Hi;
VideoFiled uploading video but after uploading I have this error:
Exception Value: list index out of range
Exception Location:/library/videothumbs.py in generate_thumb, line 51
line 51:
for c in range(len(histogram[0])):
ac = 0.0
for i in range(n):
ac = ac + (float(histogram[i][c])/n)
avg.append(ac)
How can I solve the problem?
Thanks in advance
The text was updated successfully, but these errors were encountered: