-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Q: Will destreamer work on the new Microsoft SharePoint Stream? #487
Comments
+1 |
The short answer is yes! I've just managed to get this working, and that too on my M1 mac running macOS Ventura 13.4.1. These are macOS specific instructions, though you can ignore macOS bits and make it work for other OS's.
change "puppeteer" : "5.5.0",
I've successfully tested today downloading two recordings. 😄 |
Here not work! Here the results: Launching headless Chrome to perform the OpenID Connect dance... [FATAL ERROR] Could not evaluate sessionInfo on the page |
Hey @hakt0-r I tried these steps you had mentioned on Windows (running via WSL) But I get this new error when I try to install from MS Stream:
If you encountered this, could you share the steps on how to fix this |
You need to install aria2 |
I fixed that, and now a fatal error is appearing
|
The key is…error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
Since you are running it via WSL, you’ll have to debug a bit more but here is what I found…Run this…. sudo apt install ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utilsHth.On 24 Sep 2023, at 01:07, CSK ***@***.***> wrote:
I fixed that, and now a fatal error is appearing
$ ./destreamer.sh -i <VIDEO-URL> -o <DEST-DIRECTORY>
Parsing video/group urls
Downloading Microsoft Stream videos...
[WARNING] .token_cache not found.
Launching headless Chrome to perform the OpenID Connect dance...
[ERROR] Error: Failed to launch the browser process!
/home/<user>/.cache/puppeteer/chrome/linux-1108766/chrome-linux/chrome: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
TROUBLESHOOTING: https://pptr.dev/troubleshooting
at Interface.onClose ***@***.***/browsers/lib/cjs/launch.js:262:24)
at Interface.emit (node:events:525:35)
at Interface.close (node:internal/readline/interface:536:10)
at Socket.onend (node:internal/readline/interface:262:10)
at Socket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[FATAL ERROR] Unhandled error!
Timeout or fatal error, please check your downloads directory and try again
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
In my case I tried many fixes with wsl, installing other dependencies to make it work, anyway I couldn't get it to work with wsl. Finish downloading with ffmpeg -i "videomanifest" -codec copy downloadedVideo.mp4 |
First of all, which branch did you clone? Clone that branch and follow all the instructions again please. If you still encounter problems please paste the verbose output so that we can debug. |
Yes, I'm testing with that branch. |
🤨 all I can say is that
|
dp: It worked for me on Arch Linux. I forked this repo and applied these fixes, so you don't need to do everything again. Just update |
Thanks a lot! This worked for me and I was even able to download one 18-min video because of it! But then when I tried running it again, Chromium now crashes a few seconds after launch. It has been like that ever since (even after restarting), and I don't know why. I'm on an M2 Mac with macOS Sonoma and I also have Arc, but when my first run succeeded, I had Arc open so I'm not sure what else could be causing the issue. Any guess on why it's happening and what I can do about it? It shows either of the following errors:
or
When I launch Chromium by typing
UPDATE: I got it to work by switching the browser to Brave, but Chromium is still facing the same issue. |
Worked for me on Chromium (with Macbook Air M2). Steps:
|
Two notes: FYI on my M2-Max running Sonoma (MacOS 14), I didn't need to do the
Is anybody else having this issue? I'm half tempted to insert code to look for those escaped characters and remove the escaping... |
Just paste the url in a text editor with |
I had this working for a month or so, now I keep getting an "[ERROR] Invalid url" I think the URLs changed from sharpoint recently. as in the lat week. |
@pedro-stanaka wrote:
Yep, I figured that out after posted... |
So Microsoft is phasing out Microsoft Stream and is moving it towards SharePoint.
Will destreamer be modified such that it supports SharePoint Stream?
The text was updated successfully, but these errors were encountered: