TwitchDownloader: [LOG] - 1 errors were encountered while downloading: The operation was canceled. at MoveNext

Checklist

Edition

Command Line Interface

Describe your issue here

The video is the same as this bug report: https://github.com/ihabunek/twitch-dl/issues/132

$ TwitchDownloaderCLI videodownload --oauth $OAUTH -u "https://www.twitch.tv/videos/694444624" -q best --temp-path ./TMP/ -o SURPRISE_TwitchDownloaderCLI.mp4
TwitchDownloaderCLI 1.53.2 Copyright (c) 2019 lay295 and contributors
[STATUS] - Fetching Video Info [1/5]
[STATUS] - Downloading 100% [2/5]
[LOG] - 1 errors were encountered while downloading: The operation was canceled. at MoveNext

[STATUS] - Verifying Parts 100% [3/5]
[STATUS] - Combining Parts 100% [4/5]
[STATUS] - Finalizing Video 100% [5/5]

Could you check if this issue is caused by a bad source (Twitch)? How can I seel the [LOG] file? Nothing is mentioned in documentation: https://github.com/lay295/TwitchDownloader/blob/master/TwitchDownloaderCLI/README.md

Add any related files or extra information here

No response

About this issue

  • Original URL
  • State: open
  • Created 9 months ago
  • Comments: 27

Most upvoted comments

.NET Core is open source. https://source.dot.net/

@superbonaci Thanks for the investigation, did not have time to chime in until now. Just FYI, twitch-dl does not concatenate vods manually, I pass the m3u8 playlist as input to ffmpeg. (source)

Since ffmpeg it’s used twice it’s even worse:

  1. Using ffmpeg when combining parts into output.ts
  2. Converting output.ts to output.mp4 (no idea if converting to mkv causes the issue)

So the safest option for now is completely avoid ffmpeg unless the user requests it:

  1. Binary concatenation (parts.ts into output.ts)
  2. Copy/move output.ts to desired filename.ts

We perform binary concatenation, we do not use FFmpeg for that.