Download video from Panopto
Project description
Panopto-Video-DL
Toolkit to download video recordings from Panopto.
Prerequisites
- Panopto-Video-DL-browser
- Python >= 3.7
Module Usage
Installation
Run the command:
pip install panopto-dl
FFmpeg extension
Since version 1.4.0 FFmpeg is no longer needed, but it is still possible to download video
using ffmpeg by adding [ffmpeg] to the pip command used to install it.
pip install git+https://github.com/Panopto-Video-DL/Panopto-Video-DL-lib#egg=PanoptoDownloader[ffmpeg]
Note: FFmpeg must be added in the system PATH
Usage
- In a new terminal run the command:
panoptodownloader
- Paste the link automatically copied from Panopto-Video-DL-browser
- Set the destination folder
- Wait for the download to finish
Use as Python Module
import PanoptoDownloader
URL = "https://****"
PATH = "./output.mp4"
def callback(progress: int):
"""
:param progress: Downloading progress. From 0 to 100
"""
print(f"{progress} / 100")
if __name__ == '__main__':
try:
PanoptoDownloader.download(
URL,
PATH,
callback
)
print("Download completed")
except Exception as e:
print(e)
Application UI
Installation
-
Install JavaScript browser extension to get M3U8 file path
- Install TamperMonkey Script-Manager browser extension
- Install this JavaScript script from here
-
Clone this repository to local path
$ git clone https://github.com/samsonq/panopto-dl.git- Install requirements to run application
$ pip install -r requirements.txt
-
Run application
- Enter cloned repository
$ cd panopto-dl$ python main.py- A UI (user-interface) should appear within a few seconds with instructions
UI Application Usage
- Start application (see above section), the following UI should be displayed:
- Open Panopto recording on web browser, and click the 'Download' button at the bottom left of the page. This will automatically copy a link for you:
- Create a recordings folder in your local directory to store file recordings
$ mkdir recordings- The supported extensions of the downloaded recording include:
.mp4,.mkv,.flv,.avi
- Paste the copied link from step (2) into the application
- Enter the specified path to save the video recording
- i.e.
./recordings/lecture.mp4
- i.e.
- Click the Download button and wait for recording to finish processing
- After the progress bar reaches the end, the video recording should be saved in the specified path
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file panopto_dl-0.1.1.tar.gz.
File metadata
- Download URL: panopto_dl-0.1.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9109fb1983f3d769cf2e3143c6adb3b6bdc0ad2116a50a781a534cf89ee940c9
|
|
| MD5 |
5714748578b0c36162cf773a66654288
|
|
| BLAKE2b-256 |
b9c597dd957fa9237332c3c3154ec517d7545778d879faece0ea43e9eabc83e6
|
File details
Details for the file panopto_dl-0.1.1-py3-none-any.whl.
File metadata
- Download URL: panopto_dl-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e38d302c83bea2e1339ef38ab0ff8b53fa5a279b7b992f7d3edd4fbf0e6b86f1
|
|
| MD5 |
ba4aa3566c5023441c80cddd887ab9cd
|
|
| BLAKE2b-256 |
796ff98a20acd772adcbd484476f7e03aecf7a9dad75d149a3b9bd83934755bc
|