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.

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

Requirements

  • Python 3.7+
  • OpenCV (opencv-python)
  • X11 forwarding enabled in SSH connection (ssh -X or ssh -Y)

Installation

From PyPI:

pip install remote-video-player

From source:

pip install -e .

Development

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/*

Supported Formats

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

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.1.tar.gz (5.6 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.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: remote_video_player-0.0.1.tar.gz
  • Upload date:
  • Size: 5.6 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.1.tar.gz
Algorithm Hash digest
SHA256 0b61be8f89cff5ecb6cbed06dbf41127f9f5b47af0bacaa1d96147c2dca28cee
MD5 63ae1dac184495891c667c24b266e688
BLAKE2b-256 8c1a6f5d5211eadac08d29ba4ceddc91ab84d8f91e8a4fc6ed5ebbd57ea771af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for remote_video_player-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 584c4cc5e1ee32356aa310f0250e832535d806a93001bdb552e6468ff117d4d0
MD5 0624d76ac072c3ccb6b7077f9f2f4590
BLAKE2b-256 af0db7d5edb51f56eecd623127784eae7e9123aed8916078cd6c103371910226

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