snobu / destreamer

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

FFmpeg Permission denied #259

Closed Bigemul closed 3 years ago

Bigemul commented 3 years ago

Hi everyone

When I run the program:

My-Laptop:destreamer Me$ ./destreamer.sh -i https://web.microsoftstream.com/video/ee754368-e484-43a2-a25d-378fcb40757f

I get this:

[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

Parsing video/group urls
Fetching videos info... 

Downloading Video: Video-I-M-Trying-To-Download 

Spawning ffmpeg with access token and HLS URL. This may take a few seconds...

[Program showing me a preview of the video]

progress [░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% 0 0s

[ERROR] FFmpeg returned an error: videos/Video-I-M-Trying-To-Download #ee754368.mkv: Permission denied

[FATAL ERROR] Unknown FFmpeg error

I installed FFmpeg on their website (UTC compile date: 2020-10-12 ). Could you help me?

snobu commented 3 years ago
[ERROR] FFmpeg returned an error: videos/Video-I-M-Trying-To-Download #ee754368.mkv: Permission denied

Maybe you want to specify a different output path, looks like you can't write to videos/. Use -o path/to/output/dir.

lukaarma commented 3 years ago

Any updates @Bigemul ?

simotazi commented 3 years ago

hi i have the same issue and thanks for ur help