crisbal / album-splitter

Split single-file MP3 albums into separate tracks. Downloads from YouTube supported.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

keeps giving me this error message and wont split the audio

lperez509 opened this issue · comments

Traceback (most recent call last):
File "split.py", line 182, in
album = AudioSegment.from_file(FILENAME, 'wav')
File "C:\Users\09515\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pydub\audio_segment.py", line 322, in from_file
input_file.write(file.read())
MemoryError
i am on windows 10 wsl

Hello, is it possible that the file to be split is very big and filling up your RAM?

Unfortunately we had issues with very big files also here #25

is 4 hours very large?
it would download the full audio but would not split it
my ram is 12gb

i tested some other files and i believe it is the RAM that is the issue.
is there any other programs that you can recommend to run larger files?

#25 (comment) Here there are instructions to use another branch of the software that uses directly FFMPEG instead of a higher level library. It is possible that branch is very old and might now work still.

Otherwise you can look into alternative software such as Audacity in which you can manually split audio.

tjaml you