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 to specific timestamps.
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()
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
tkvideoplayer-2.2.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for tkvideoplayer-2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 742ce7686ff44c7f2a896e636cb2ae7f71f762c51c1d67dd3cc836de9a807071 |
|
MD5 | 5136bcc92d661404bc469ec929b03673 |
|
BLAKE2b-256 | 2fc6ea0f3c04fea1193757ee2bd6a3260eb67bb429ae3fe275fcadd379cef3a5 |