UltraSinger
UltraSinger copied to clipboard
Htdemucs errors out on youtube videos with special characters in their names
Youtube Videos with special characters in their titles error out on track separation with htdemucs, as below:
(.venv) F:\UltraSinger>UltraSinger.py -i https://www.youtube.com/watch?v=FoV8lkAa_rM
The torchaudio backend is switched to 'soundfile'. Note that 'sox_io' is not supported on Windows.
The torchaudio backend is switched to 'soundfile'. Note that 'sox_io' is not supported on Windows.
[UltraSinger] Using cuda GPU.
[UltraSinger] full automatic mode
[youtube] Extracting URL: https://www.youtube.com/watch?v=FoV8lkAa_rM
[youtube] FoV8lkAa_rM: Downloading webpage
[youtube] FoV8lkAa_rM: Downloading android player API JSON
[UltraSinger] Creating output folder. -> F:\UltraSinger\output\Căsuța noastră
[UltraSinger] Downloading Audio
[youtube] Extracting URL: https://www.youtube.com/watch?v=FoV8lkAa_rM
[youtube] FoV8lkAa_rM: Downloading webpage
[youtube] FoV8lkAa_rM: Downloading android player API JSON
[info] FoV8lkAa_rM: Downloading 1 format(s): 251
[dashsegments] Total fragments: 1
[download] Destination: F:\UltraSinger\output\Căsuța noastră\Căsuța noastră
[download] 100% of 2.42MiB in 00:00:00 at 44.19MiB/s
[ExtractAudio] Destination: F:\UltraSinger\output\Căsuța noastră\Căsuța noastră.mp3
Deleting original file F:\UltraSinger\output\Căsuța noastră\Căsuța noastră (pass -k to keep)
[UltraSinger] Downloading Video
[youtube] Extracting URL: https://www.youtube.com/watch?v=FoV8lkAa_rM
[youtube] FoV8lkAa_rM: Downloading webpage
[youtube] FoV8lkAa_rM: Downloading android player API JSON
[info] FoV8lkAa_rM: Downloading 1 format(s): 137+140
[dashsegments] Total fragments: 2
[download] Destination: F:\UltraSinger\output\Căsuța noastră\Căsuța noastră.f137.mp4
[download] 100% of 10.77MiB in 00:00:00 at 26.65MiB/s
[dashsegments] Total fragments: 1
[download] Destination: F:\UltraSinger\output\Căsuța noastră\Căsuța noastră.f140.m4a
[download] 100% of 2.36MiB in 00:00:00 at 42.20MiB/s
[Merger] Merging formats into "F:\UltraSinger\output\Căsuța noastră\Căsuța noastră.mp4"
Deleting original file F:\UltraSinger\output\Căsuța noastră\Căsuța noastră.f137.mp4 (pass -k to keep)
Deleting original file F:\UltraSinger\output\Căsuța noastră\Căsuța noastră.f140.m4a (pass -k to keep)
[UltraSinger] Downloading thumbnail
[youtube] Extracting URL: https://www.youtube.com/watch?v=FoV8lkAa_rM
[youtube] FoV8lkAa_rM: Downloading webpage
[youtube] FoV8lkAa_rM: Downloading android player API JSON
[UltraSinger] Creating output folder. -> F:\UltraSinger\output\Căsuța noastră\cache
[UltraSinger] Separating vocals from audio with demucs and cuda as worker.
Important: the default model was recently changed to htdemucs
the latest Hybrid Transformer Demucs model. In some cases, this model can actually perform worse than previous models. To get back the old default model use -n mdx_extra_q
.
Selected model is a bag of 1 models. You will see that many progress bars per track.
Separated tracks will be stored in F:\UltraSinger\separated\htdemucs
File F:\UltraSinger\output\Casu?a noastra\Casu?a noastra.mp3 does not exist. If the path contains spaces, please try again after surrounding the entire path with quotes "".
[UltraSinger] Converting audio for AI
Traceback (most recent call last):
File "F:\UltraSinger\UltraSinger.py", line 785, in