Skip to content
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

windows incompatible #7

Closed
kubinka0505 opened this issue Feb 11, 2023 · 4 comments
Closed

windows incompatible #7

kubinka0505 opened this issue Feb 11, 2023 · 4 comments
Assignees

Comments

@kubinka0505
Copy link

  File "C:\Users\Jakub\python-video-silence-cutter\silence_cutter.py", line 26, in findSilences
    for i in range (len(words)):
                            ^^^^^
ValueError: could not convert string to float: '-2.08333e-05\\r'

cba

@DarkTrick
Copy link
Owner

Thank you very much for reporting!
Can you possibly provide a video file?

I will need a while to fix this, as I'm too busy at the moment.

@sbayrakli
Copy link

sbayrakli commented Feb 20, 2023

do not leave optional parameters blank when starting...

@DarkTrick
Copy link
Owner

DarkTrick commented May 14, 2023

@kubinka0505

Can you please check if the script in branch fix/windows_cutting will fix your problem?
You can get the file via git clone -b fix/windows_cutting https://github.com/DarkTrick/python-video-silence-cutter.git

Otherwise:
I'd like to analyze the problem. Could you please do the following:

  1. Open silence_cutter.py, search for log_level = logging.ERROR and set it to log_level = logging.DEBUG.
  2. Run the script on the video file inside testdata: python3 silence_cutter.py ./testdata/simple_video.mkv. In case the error does not occur with this file, could you use the file you had the error with?
  3. Please share the silence_cutter.log file, that will be created

@DarkTrick
Copy link
Owner

possibly related: #6

@DarkTrick DarkTrick self-assigned this May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants