hama3254 / Crunchyroll-Downloader-v3.0

Downloader for Crunchyroll
843 stars 108 forks source link

Error when using Hybrid mode #834

Closed pbz134 closed 10 months ago

pbz134 commented 10 months ago

Describe the bug At the end of the download, the following error occurs when Hybrid mode is enabled: "The download process seems to have crashed."

Where does the issue happen?

Screenshots grafik

Log:

22.10.2023 22:54:00 -allowed_extensions ALL -i "D:\#Ablage\Crunchyroll\Output\CRD-Temp-File-RVBGgKJebWNBRPbV\index.m3u8" -metadata:s:a:0 language=jpn -c:v libx265 -preset fast -b:v 4000k -c:a copy -bsf:a aac_adtstoasc "D:\#Ablage\Crunchyroll\Output\Anne-Happy Season 1 Episode 5.mp4"
22.10.2023 22:54:00 ffmpeg version 5.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
22.10.2023 22:54:00   built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
22.10.2023 22:54:00   configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
22.10.2023 22:54:00   libavutil      57. 28.100 / 57. 28.100
22.10.2023 22:54:00   libavcodec     59. 37.100 / 59. 37.100
22.10.2023 22:54:00   libavformat    59. 27.100 / 59. 27.100
22.10.2023 22:54:00   libavdevice    59.  7.100 / 59.  7.100
22.10.2023 22:54:00   libavfilter     8. 44.100 /  8. 44.100
22.10.2023 22:54:00   libswscale      6.  7.100 /  6.  7.100
22.10.2023 22:54:00   libswresample   4.  7.100 /  4.  7.100
22.10.2023 22:54:00   libpostproc    56.  6.100 / 56.  6.100
22.10.2023 22:54:00 [hls @ 0000022017f43ec0] Skip ('#EXT-X-ALLOW-CACHE:YES')
22.10.2023 22:54:00 [hls @ 0000022017f43ec0] Skip ('#EXT-X-VERSION:5')
22.10.2023 22:54:00 [hls @ 0000022017f43ec0] Opening 'D:\CRD-Temp-File-gPgJRDMVCJKQVgHG.key' for reading
22.10.2023 22:54:00 [hls @ 0000022017f43ec0] Unable to open key file D:\CRD-Temp-File-gPgJRDMVCJKQVgHG.key
22.10.2023 22:54:00 [hls @ 0000022017f43ec0] Opening 'crypto:D:\#Ablage\Crunchyroll\Output\CRD-Temp-File-RVBGgKJebWNBRPbV\00000.ts' for reading
22.10.2023 22:54:00 [hls @ 0000022017f43ec0] Error when loading first segment 'D:\#Ablage\Crunchyroll\Output\CRD-Temp-File-RVBGgKJebWNBRPbV\00000.ts'
22.10.2023 22:54:00 D:\#Ablage\Crunchyroll\Output\CRD-Temp-File-RVBGgKJebWNBRPbV\index.m3u8: Invalid data found when processing input
22.10.2023 22:54:00 
22.10.2023 22:54:00 
hama3254 commented 10 months ago

The path difference between the .key file and the .ts file seems wrong. If your folder is really called #Ablage then I would suggest to try removing the #.

Checking the m3u8 file would also help to know if the path gets used wrong by ffmpeg or if the downloader has some issue, I just don't know if the downloader deletes the temp files after a crash or not.

pbz134 commented 10 months ago

I decided to move the program and change the download path to D:\Crunchyroll which seems to have worked! Thank you, problem solved!