Open binarydata opened 6 days ago
Thanks for the kind words and for opening an issue, could you share some VODs this is occurring with?
Thanks for the kind words and for opening an issue, could you share some VODs this is occurring with?
2297661389
Here's one of the VOD IDs and the full output.
2024-11-11 05:19:28 [ ERROR] Exception occurred inside DownloadHandler. [' File "/home/archives/.local/pipx/venvs/twitch-archiver/lib/python3.12/site-packages/twitcharchiver/processing.py", line 328, in _start_download\n _downloader.merge()\n', ' File "/home/archives/.local/pipx/venvs/twitch-archiver/lib/python3.12/site-packages/twitcharchiver/downloaders/video.py", line 507, in merge\n raise VideoMergeError(\n'] 2024-11-11 05:19:28 [ ERROR] Error archiving VOD {'vod_id': 2297661389, 'stream_id': 0, 'title': '🍂 [NA] Rein-ger/ Woosa 738gs 🍂 Happy Saturday! Grind bot arc !AdvGG', 'description': None, 'created_at': datetime.datetime(2024, 11, 9, 17, 54, 37), 'published_at': datetime.datetime(2024, 11, 9, 17, 54, 37), 'thumbnail_url': 'https://static-cdn.jtvnw.net/cf_vods/d2nvs31859zcd8/406f043000b7c57383af_qiywi_42743013166_1731174872//thumb/thumb0-90x60.jpg', 'duration': 17660, 'chat_archived': False, 'video_archived': True}. Traceback (most recent call last): File "/home/archives/.local/pipx/venvs/twitch-archiver/lib/python3.12/site-packages/twitcharchiver/processing.py", line 328, in _start_download _downloader.merge() File "/home/archives/.local/pipx/venvs/twitch-archiver/lib/python3.12/site-packages/twitcharchiver/downloaders/video.py", line 507, in merge raise VideoMergeError( twitcharchiver.exceptions.VideoMergeError: VOD verification failed as VOD length is outside the acceptable range.
You might look at another Twitch downloading tool called "TwitchDownloaderCLI". I use it specifically for the files that twitch-archiver struggles with. Which is strange because some of the files are bigger/longer than that one above that had issues. This issue also gave me the idea for a blacklist/ignore, instead of killing the process with that error code above, what if you had it log the VOD's it couldn't complete? But with that, I'll leave you to dive into this. Thanks again, this has been a huge help with archiving Twitch vods for my friends. I've got over 15TB of archived footage now =0]
As long as you have have the archiver set to run in --watch
mode or on some sort of interval the VOD verification failed as VOD length is outside the acceptable range
error will usually resolve themselves. There may be a corrupt part as a result of portions of the VOD being muted, midroll ads, streamers using split audio tracks or just random chance, but when Twitch Archiver runs again it will use just the VOD files themselves and replace any which are corrupt.
You might have some luck running in --archive-only
mode as it only grabs VODs once the stream has ended.
The issue with VOD 2297661389
is a little different as the problem is there's a part which is simply missing on Twitch's end. I'm going to look into this a bit more and see if I can get these properly handled.
Do you have any 24/48 hour VODs I can look at? Would like to do some testing with really long videos.
I forgot to post this in an earlier post, but FerretSoftware has 24hr+ streams. Good testing VODs there, doesn't help the ferrets are adorable too!
Hello,
First of all, thank you for this tool. You've saved myself and dozen streamers I know, who I archive their streams for, a lot of pain and suffering.
Lately I've been running into an error of;
VOD verification failed as VOD length is outside the acceptable range.
The duration was
duration': 15920
Is there a way to bypass this? A lot of streamers I know do 24 to 48 hour streams and I'm unable to archive it because of that.