HoloArchivists / hoshinova

garbage youtube livestream download manager
MIT License
127 stars 28 forks source link

Stream is re-added to downloading immediately after finishing #32

Closed bcbwatt closed 1 year ago

bcbwatt commented 1 year ago

After a stream ends and the video is considered downloaded, hoshinova restarts the download. The first capture is never moved to the correct folder.

This is using the latest build of hoshinova, and a master build of ytarchive from a couple of weeks ago.

Here is the relevant log output:

[2023-05-14T08:57:19Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=    1 fps=0.0 q=-1.0 size=     256kB time=00:00:00.00 bitrate=2097152.0kbits/s speed=12.2x
[2023-05-14T08:57:19Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=44811 fps=0.0 q=-1.0 size=  166144kB time=00:24:55.16 bitrate= 910.3kbits/s speed=2.99e+03x
[2023-05-14T08:57:20Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=83440 fps=83420 q=-1.0 size=  357632kB time=00:46:24.09 bitrate=1052.3kbits/s speed=2.78e+03x
[2023-05-14T08:57:20Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=124799 fps=83176 q=-1.0 size=  534528kB time=01:09:24.10 bitrate=1051.6kbits/s speed=2.78e+03x
[2023-05-14T08:57:21Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=167537 fps=83741 q=-1.0 size=  707584kB time=01:33:10.13 bitrate=1036.9kbits/s speed=2.79e+03x
[2023-05-14T08:57:21Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=208933 fps=83551 q=-1.0 size=  884736kB time=01:56:11.38 bitrate=1039.6kbits/s speed=2.79e+03x
[2023-05-14T08:57:22Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=255193 fps=85046 q=-1.0 size= 1043456kB time=02:21:54.93 bitrate=1003.9kbits/s speed=2.84e+03x
[2023-05-14T08:57:22Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=294508 fps=84129 q=-1.0 size= 1232128kB time=02:43:46.75 bitrate=1027.2kbits/s speed=2.81e+03x
[2023-05-14T08:57:23Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=340354 fps=85075 q=-1.0 size= 1391360kB time=03:09:16.48 bitrate=1003.7kbits/s speed=2.84e+03x
[2023-05-14T08:57:23Z WARN  hoshinova::module::recorder] Unknown ytarchive output: frame=343162 fps=84978 q=-1.0 Lsize= 1405123kB time=03:10:50.17 bitrate=1005.3kbits/s speed=2.84e+03x
[2023-05-14T08:57:23Z WARN  hoshinova::module::recorder] Unknown ytarchive output: 2023/05/14 08:57:23
[2023-05-14T08:57:23Z INFO  hoshinova::module::recorder] [P8gMi0mtJGw][ぶいすぽっ!【公式】][ぶ
いすぽっ!VALORANT紅白戦 Presented by GALLERIA] Recording finished
[2023-05-14T08:57:23Z INFO  hoshinova::module::recorder] [P8gMi0mtJGw][ぶいすぽっ!【公式】][ぶ
いすぽっ!VALORANT紅白戦 Presented by GALLERIA] Recording started

I suspect it is happening because:

Possibly related is that video fragments often don't catch up with audio (by the end of a long stream the video fragments have been 10x fewer than audio). Before this started happening, I never got that output from ytarchive.

hizkifw commented 1 year ago

Are you running this on Windows/Linux? And do you have the temporary files generated by ytarchive on the first run?

bcbwatt commented 1 year ago

This is on linux (ubuntu 22.0.4). The temporary files aren't kept, but the merged mkv stays in the working folder.

xGigaa commented 1 year ago

Did you ever figure this out? I'm facing the same issue.

hizkifw commented 1 year ago

Seems to be an issue with the latest ytarchive version, I've rolled it back to v0.3.2. Feel free to reopen this issue if it still happens.