Skip to main content

Download video from Panopto

Project description

Panopto-Video-DL

GitHub license Build

Toolkit to download video recordings from Panopto.

Prerequisites

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

  1. Install JavaScript browser extension to get M3U8 file path

  2. 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
  3. 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

  1. Start application (see above section), the following UI should be displayed:
  1. 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:
  1. 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
  2. Paste the copied link from step (2) into the application
  3. Enter the specified path to save the video recording
    • i.e. ./recordings/lecture.mp4
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panopto_dl-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

panopto_dl-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file panopto_dl-0.1.0.tar.gz.

File metadata

  • Download URL: panopto_dl-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for panopto_dl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a5265f27ff45d12373f743f552aad52dd4ce54baf79a5baba7c405e97c0d4e3a
MD5 c7ecf704d873385e1d634c56ac517f51
BLAKE2b-256 b669a7a0566de38c4ca10c132d4580e7f7abfa0f7673d581c2919eefad1ae889

See more details on using hashes here.

File details

Details for the file panopto_dl-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: panopto_dl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for panopto_dl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce41b363cee00a60ec1f5ae98387743bcaeac0f4c419cea8ff5154243883ced8
MD5 bb42210d01e7f351421f57edbd5a4577
BLAKE2b-256 e09466ad0d86013d5b774dbc42881d63f9965884cccc1bc243e2ff99fc698ee3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page