This library helps you play videos in tkinter
Project description
TkVideoplayer
This is a simple library to play video files in tkinter. This library also provides the ability to play, pause, skip and seek specific frames.
Example:
import tkinter as tk
from tkVideoPlayer import TkinterVideo
root = tk.Tk()
videoplayer = TkinterVideo(master=root, scaled=True)
videoplayer.load(r"samplevideo.mp4")
videoplayer.pack(expand=True, fill="both")
videoplayer.play() # play the video
root.mainloop()
Features include sekking to a time stamp, pause/play, getting video meta data etc.
read the documentation here
Please immediately upgrade to the latest version if you are using version 1.3 or below
Sample video player made using tkVideoPlayer:
This example source code can be found here
Other libraries you might be interested in:
-
tkstylesheet - Helps you style your tkinter application using stylesheets.
-
tkTimePicker - An easy-to-use timepicker.
-
PyCollision - Helps you draw hitboxes for 2d games.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tkvideoplayer-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 379ec94294d9d3f395392d8d100356be8b84b042af0bd715ed0edd36dbc6be58 |
|
MD5 | 31a78e0852eba2de3560b1ca63ec6a48 |
|
BLAKE2b-256 | db0e99c48c5df6ec991a4f91741be159ecaa00f6b140478c53e18eb151b8ff2c |