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.1.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for tkvideoplayer-2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5513d54c859bcc797cfddedb47771f7282d95353e1bff1f0c71e10f4cfc937 |
|
MD5 | 15ed1662bd29a7de9fa6f19829e42ea1 |
|
BLAKE2b-256 | 87d74ded35048d6a804c6255ecffe2a89ff2378b8cc1688b4ca0663ab3626fc0 |