snobu / destreamer

Save Microsoft Stream videos for offline enjoyment.
MIT License
2.36k stars 442 forks source link

Aria2c: Windows output directory error #428

Closed Benceking24 closed 2 years ago

Benceking24 commented 2 years ago

Installed the latest version of each component on 2021.12.26 and tried to use the aria2c verison but using CMD with normal privilages and not defining the output destreamear aria2c won't start downloading "mkdir error". By defining the output it gaves this error below. And using root directories like "C:" as output it runs perfectly. The pasted command below halts forever and can be only terminated with ctrl+c.

OS: Microsoft Windows 10 Pro 10.0.19044 Build 19044

Launch command used: destreamer.cmd -i "https://web.microsoftstream.com/video/169a4d93-2f0c-4b51-9564-166a11b191d1" -o \Users\FabianBence\Desktop --verbose

Verbose log ``` [VERBOSE] Using ffmpeg version 2021-11-18-git-85a6b7f7b7-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers [VERBOSE] Using aria2 version 1.36.0 [WARNING] .token_cache not found. Launching headless Chrome to perform the OpenID Connect dance... Navigating to login page... We are logged in. Wrote access token to token cache. At this point Chromium's job is done, shutting it down... [ERROR] undefined [Error: EPERM: operation not permitted, unlink 'C:\Users\FABIAN~1\AppData\Local\Temp\puppeteer_dev_chrome_profile-29WSVy\CrashpadMetrics-active.pma'] { errno: -4048, code: 'EPERM', syscall: 'unlink', path: 'C:\\Users\\FABIAN~1\\AppData\\Local\\Temp\\puppeteer_dev_chrome_profile-29WSVy\\CrashpadMetrics-active.pma' } ```
Benceking24 commented 2 years ago

Sorry, user error... By definining the directory as "C:...\directory" and not addig the "\" charachter at the end solves the problem.