Open soundnotation opened 4 years ago
Hello,
Hopefully I am not too late to response!
Thank you very much for your interest in the project and the issue, I have looked into it and seems like the issue is that: I forget to reorganize the input
folder before uploading to github. Hence making your above crash.
I have just update the repository with the bug fixed, please try pulling again and executing python main.py
again.
FYI, my PC setup is basically the same as you, so after the fix you probably would be able to use it, FYI my setup is:
Thank you!!
Hello,
after git pull
ing and running python main.py
I still get the same error.
I look into it again, the problem happens in my README.md
giving wrong instruction, sorry about that:
Prevoius README.md command (Wrong):
pip install ffmpeg pydub
You should use this instead (Note the ffmpeg-python
):
pip install ffmpeg-python pydub
For your case, you would probably need to do the following:
pip uninstall ffmpeg
pip install ffmpeg-python
Just so you can make sure the right library is being usedSee if the above fix it, thanks!
P.s. I also added the ability to run the program using docker, if you still have problem with the current script, you can try using the docker procedure.
Hello again,
I tried your project again with python main.py
and the processes (python and multiple ffmpeg) were still running after 1 hour! I had to stop them using pkill
.
No output file was generated.
I can't check the stack trace right now because meanwhile the connection dropped, but how can such things be possible?
I did stumble across similar bug last time, what I did to fix was git clone again and run it.
I have tried git clone and python main.py
in a completely different directory and it still works for me,
see If the above fixed it, thanks!
I cloned the repo into another directory, and still the problem persists. At least the python process is hanging for more than an hour. Here are the last log lines:
Video process segment: 0 done, total duration: 0:00:34.277536
Video process segment: 3 done, total duration: 0:01:14.943729
Video process segment: 1 done, total duration: 0:01:57.281143
Video process segment: 4 done, total duration: 0:02:30.586024
Video process segment: 2 done, total duration: 0:02:30.648181
Video process segment: 5 done, total duration: 0:02:45.252746
Video process segment: 6 done, total duration: 0:01:37.197188
Video process segment: 7 done, total duration: 0:01:23.527680
Video process segment: 9 done, total duration: 0:01:52.107917
Video process segment: 8 done, total duration: 0:01:07.128646
Video process segment: 10 done, total duration: 0:01:50.687454
Video process segment: 12 done, total duration: 0:01:25.662201
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 392, in _handle_results
task = get()
TypeError: __init__() takes exactly 4 arguments (2 given)
Video process segment: 11 done, total duration: 0:04:53.520438
Video process segment: 15 done, total duration: 0:01:08.026143
Video process segment: 16 done, total duration: 0:00:22.891225
Video process segment: 25 done, total duration: 0:00:16.201146
I have no idea why this happen... This happen normally for me.
You sure you got the right library? Thanks.
Yes, I have the right libraries
Hello there,
We are searching for a tool to build a video with notes from XML and stumbled upon your repo.
I just tried out your code but I get some bugs when running
python main.py
:Note that I have installed
ffmpeg
andpydub
using:ffmpeg
is already installed separately:I'm trying from an EC2 instance with Ubuntu 18.04 LTS.
No output is being written anywhere, checked with
git status
:If this is useful, I tried also using
pip3
andpython3
, i.e.so running
python3 main.py
gives the following: