Skip to main content

A simple CLI tool for playing video files on remote HPC clusters

Project description

Remote Video Player

A simple Python CLI tool for playing video files on remote HPC clusters via SSH.

Problem

Users working on HPC clusters need to preview video files but lack GUI access to run video players directly.

Solution

This tool uses OpenCV to display video files in a new window, with optional playback speed control, pause and backward/forward skip buttons.

Installation

From PyPI:

pip install remote-video-player

Requires: X11 forwarding enabled in SSH connection (ssh -X or ssh -Y)

Usage

# Play a video file
dvplayer video.mp4

# Play with custom speed (0.5x to 2.0x)
dvplayer video.mp4 --speed 1.5

# Play specific formats
dvplayer movie.mkv

Supported Formats

MP4, MKV, AVI - any video format supported by OpenCV.

Development

Requirements

  • Python 3.7+
  • OpenCV (opencv-python)

Building the Package

To build the distribution packages:

# Install build tools
pip install build twine

# Build the package
python -m build

This creates distribution files in the dist/ directory:

  • .whl file (wheel distribution)
  • .tar.gz file (source distribution)

Publishing to PyPI

# Upload to PyPI (requires account and API token)
twine upload dist/*

# Upload to test PyPI first (recommended)
twine upload --repository testpypi dist/*

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

remote_video_player-0.0.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

remote_video_player-0.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file remote_video_player-0.0.2.tar.gz.

File metadata

  • Download URL: remote_video_player-0.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for remote_video_player-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ef752538b831fa165777b8f49feba31e64919c6de0264e9684caf4af469b1a77
MD5 86bd82b7c2947ef564dd87614a8fbfce
BLAKE2b-256 eab6e4d8e912e945050e904e88e60e40b1cf28ca949da5c2e31eb8f8c01f3480

See more details on using hashes here.

File details

Details for the file remote_video_player-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for remote_video_player-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bcadf45feeadd1c3f089094e0c3ff3e6f4e0334d4ea2f2dd84a53ab4d50e38be
MD5 f499595d46601b3c2d7f8729ad78c552
BLAKE2b-256 a05f2d48519f8ec76f7612b83446014af0bed152d79082e8e037bb1e3853248a

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