Videos like
- https://{ORGID}.sharepoint.com/personal/{USERID}/_layouts/15/stream.aspx?id={VIDEOID}%2Emp4&ga=1
- https://{ORGID}.sharepoint.com/:v:/p/{USERID}/{VIDEOID}
- Run video from SharePoint corporate account or OneDrive,
- In Chrome open
Web inspectorand inNetworkfilter byvideomanifest - Copy this url
- Run
ffmpeg -i "%URL%" -codec copy outputvideo.mp4

For the manual peeps, I tried this with a Teams recording (https://xxx-my.sharepoint.com/...) :
&format=dashX-SPOPacToken&access_token=<copied_token>into your URLNote: my video was under 100MB and download was fast, so I encountered no problems.
But while I was debugging around and reloading the page, I noticed this token would change, so it might have an expiry, which might interfere with long downloads.