deniscerri / ytdlnis

Android Video/Audio Downloader app using yt-dlp
GNU General Public License v3.0
3.54k stars 120 forks source link

[BUG]Issue downloading subtitles #524

Closed jyrg02 closed 1 month ago

jyrg02 commented 1 month ago

Describe the bug Videos where subtitles are embedded do not download. The subtitles for the video I tried to download where not auto-generated, meaning that the video had existing subtitles.

(please complete the following information):

log -N "3" --trim-filenames "183" --no-mtime --sponsorblock-remove "music_offtopic" --parse-metadata "uploader:^(?P.?)(?:(?= - Topic)|$)" --parse-metadata "%(uploader,channel,creator,artist|null)s:%(uploader)s" --sponsorblock-mark "all" --embed-chapters -f "625+251/625+ba/625/b" --embed-subs --sub-format "srt/best" --convert-subtitles "srt" --sub-langs "en.,.*-orig,en,en-IN,en-GB" -P "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/41" -o "%(uploader).30B - %(title).170B.%(ext)s" --replace-in-metadata "video:title" ".+" "SABATON - Cliffs Of Gallipoli (Official Music Video)" --replace-in-metadata "video:uploader" ".+" "Sabaton" "https://youtu.be/oOCe2Y7iVF8"

WARNING: Only WebVTT subtitles can be embedded in webm files ERROR: Postprocessing: file:/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/41/Sabaton - SABATON - Cliffs Of Gallipoli (Official Music Video).en.temp.srt.concat: Math result not representable

teddysulaimanGL commented 1 month ago

It means you're being rate-limited. The workaround is to not request too many subs in one go, let it cool down, and try again later

jyrg02 commented 1 month ago

I've been having this issue repeatedly. In June 23rd I had the same issue. Screenshot_20240711_122743

logs -N "3" --trim-filenames "184" --no-mtime --sponsorblock-remove "music_offtopic" --parse-metadata "uploader:^(?P.?)(?:(?= - Topic)|$)" --parse-metadata "%(uploader,channel,creator,artist|null)s:%(uploader)s" --sponsorblock-mark "all" --embed-chapters -f "625+ba/625+ba/625/b" --embed-subs --sub-format "srt/best" --convert-subtitles "srt" --sub-langs "en.,.*-orig" -P "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/1" -o "%(uploader).30B - %(title).170B.%(ext)s" --replace-in-metadata "video:title" ".+" "SABATON - Cliffs Of Gallipoli (Official Music Video)" --replace-in-metadata "video:uploader" ".+" "Sabaton" "https://www.youtube.com/watch?v=oOCe2Y7iVF8"

WARNING: Only WebVTT subtitles can be embedded in webm files ERROR: Postprocessing: file:/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/1/Sabaton - SABATON - Cliffs Of Gallipoli (Official Music Video).en.temp.srt.concat: Math result not representable

zaednasr commented 1 month ago

Try updating yt-dlp, or switching yt-dlp source I managed to download it with that exact configuration