Skip to main content

A Minimal python-vlc Tkinter Helper Library

Project description

PyTkinterVLC

This is a simplified version of the Official VLC Tkinter Example made to fit my personal needs.

  • Works on Windows [Tested on Windows 10 64-Bit]
  • Works on Linux (Xorg) [Tested on Arch Linux 64-Bit With DWM]
  • Probably Won't Work on macOS [Not Tested]

Installation

pip install tkvlc

Usage

Example

import tkvlc

exampleVideoURL = "https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_10mb.mp4"
exampleVideoTitle = "Bunny Video"
exampleIconPath = "./icons/vlcCone.ico"

player = tkvlc.Player(video=exampleVideoURL, title=exampleVideoTitle, iconPath=exampleIconPath)
player.start()

Video Player Key Bindings

  • Space = Pause/Resume
  • Up Arrow = Increase Volume By 5%
  • Down Arrow = Decrease Volume By 5%
  • Right Arrow = Go Forward 30 seconds
  • Left Arrow = Go Backward 30 seconds
  • F = Toggle fullscreen
  • M = Mute/Unmute
  • Q = Quit
  • E = Quit

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

tkvlc-1.0.0.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file tkvlc-1.0.0.tar.gz.

File metadata

  • Download URL: tkvlc-1.0.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/5.0.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.9

File hashes

Hashes for tkvlc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 26985a6e3e900e94c1b28860ed6868c8b428b0d8c0d98decd4c3cb6ab8a6b0e3
MD5 99b813cba14390406d2a7006a387d25f
BLAKE2b-256 94b6296c9addc6cf1a9a13760915cdc817cdaaff89a418f15076d7a7aaf400d2

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