deezer / spleeter

Deezer source separation library including pretrained models.
https://research.deezer.com/projects/spleeter.html
MIT License
25.56k stars 2.8k forks source link

Failed to Process large file #387

Open MaherBouidani opened 4 years ago

MaherBouidani commented 4 years ago

Description

It fails to process large audio file at step: !spleeter separate -i "AnyFile.mp3" -o output/

Steps to reproduce

Output

Expected: Message - Separation successful into vocal and accompaniment

Output: Message - malloc related issue, issue with resource allocation Screen Shot 2020-05-22 at 3 49 50 AM

Environment

Google Colab

amo13 commented 4 years ago

To me, it looks like the normal output and you just have to wait. If spleeter actually is going to process the 40 minutes, you might have to wait quite a while... But I think I saw somewhere in the config a limitation to max 10 minutes by default, so the last 30 minutes might get dropped anyway. If I am not mistaken, you would have to use -d 240. But you might run into issues because of insufficient RAM when using with long audio files.

For that purpose I just posted a script that splits the input file in parts, lets spleeter process them one by one and finally join the separated stems back together to full length stems. Unfortunately, there are audio cracks at the junctures. Find it here: #391