Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.13k stars 90 forks source link

--monitor-channel option always fail to finish recording #171

Closed Nekofoxmiu closed 8 months ago

Nekofoxmiu commented 9 months ago

ytarchive.exe -cookies "E:\Translation work\youtube-dl\maincookie.txt" --debug --monitor-channel -r 600 --threads 8 --no-frag-files --add-metadata -w -o "G:\bot\youtube video" https://www.youtube.com/@NayukiViVych best

ytarchive 0.4.0 2023/12/24 01:34:59 INFO: Loaded cookie file E:\Translation work\youtube-dl\maincookie.txt 2023/12/24 01:35:01 Channel: 名雪薇薇·ヴィヴィch. 2023/12/24 01:35:01 Video Title: 『哄睡歌回』隨心自在,陪你入眠。不會變成清唱歌回吧…初見大歡迎🤍 2023/12/24 01:35:01 DEBUG: Retrieving URLs from web DASH manifest 2023/12/24 01:35:02 DEBUG: Retrieving URLs from web adaptive formats 2023/12/24 01:35:02 Selected quality: 1080p (h264) 2023/12/24 01:35:02 INFO: Starting download to G:\bot\youtube video\2f3bXwDEx2Y2772261792\『哄睡歌回』隨心自在,陪你入眠。不會變成清唱歌回吧…初見大歡迎🤍-2f3bXwDEx2Y.f140.ts 2023/12/24 01:35:02 INFO: Starting download to G:\bot\youtube video\2f3bXwDEx2Y2772261792\『哄睡歌回』隨心自在,陪你入眠。不會變成清唱歌回吧…初見大歡迎🤍-2f3bXwDEx2Y.f137.ts 2023/12/24 01:54:49 DEBUG: audio5: Error with fragment 7191: unexpected EOF 2023/12/24 01:54:49 DEBUG: video5: Error with fragment 7191: unexpected EOF 2023/12/24 02:35:02 DEBUG: Could not find player response from video watch page. Writing html file to 2f3bXwDEx2Y.html 2023/12/24 02:35:02 You have opted to wait for a livestream to be scheduled. Retrying every 600 seconds.

01:54:49 steam is not end and it keep recording

02:35:02 steam end and didn't finish recording and not combine the file

without --monitor-channel everything work normally.

Nekofoxmiu commented 9 months ago

After ten minutes I found it keep retry fetch player response from end stream

2023/12/24 02:35:02 You have opted to wait for a livestream to be scheduled. Retrying every 600 seconds. 2023/12/24 02:45:02 DEBUG: Could not find player response from video watch page. Writing html file to 2f3bXwDEx2Y.html

Nekofoxmiu commented 9 months ago

BTW ytarchive 0.3.2-90aaf17 doesn't have this problem wrong information it's same

Nekofoxmiu commented 8 months ago

I think it's still the cookie problem

Kethsar commented 8 months ago

I'll have to look into this a bit, since it should have still at least muxed the final file.