Closed swick closed 1 year ago
You're running out of RAM. I doubt we can do something here, Tube Converter is not that memory hungry, I use it on a machine with 3Gb+zram with no issues while also having a lot of other apps running. I also successfully downloaded the video you tried to download. If you have low RAM and don't have zram configured, consider using it: https://wiki.archlinux.org/title/Zram (the article is from Arch Wiki, but you can find a way to use it on any distro).
That's certainly not what's going on. I have 46gb of free memory right now.
Okay, that's interesting... @nlogozzo any ideas?
Things that might have been weird:
1.12GiB
That's a big file...maybe ffmpeg or yt-dlp has a limit on memory usage?
the download folder and the flatpak data are on different devices
shouldn't be an issue as long as you gave flatpak permissions to that folder
there were actual backslashes in the filename of the temp folder
again shouldn't be an issue, @fsobolev maybe we should unescape filename in the temp folder too?
there were actual backslashes in the filename of the temp folder
This is expected. Postprocessing can fail if there are special characters in a filename, so a filename always gets escaped while downloading and then unescaped when the download is finished.
@fsobolev maybe we should unescape filename in the temp folder too?
We can't unescape filenames in the middle. If yt-dlp downloaded the file escaped, it will pass it escaped to ffmpeg. We can unescape the text in the log in the app, but I don't see a point why we should do this.
That's a big file...maybe ffmpeg or yt-dlp has a limit on memory usage?
I can download it, so it's not this.
I selected to download subtitles for this file and the log complained that there are none
This is completely separate issue that I can reproduce. Not sure why this happens tho, I will investigate.
Found the culprit. My bad, I should have checked whether embed metadata setting was enabled. And it wasn't for me, that's why downloads were successful. "Cannot allocate memory" error happens on metadata embedding.
Regarding subtitles, the problem is that subtitles for this video have "deu" language code, but in TC we filter subtitles to download only ones for English and system language - that can be "de", but not "deu". @nlogozzo should we disable subtitles filter and download everything?
Regarding subtitles, the problem is that subtitles for this video have "deu" language code, but in TC we filter subtitles to download only ones for English and system language - that can be "de", but not "deu". @nlogozzo should we disable subtitles filter and download everything?
Maybe if english or the system language is not found then we just download everything.