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 hashes)

Uploaded Source

Supported by

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