This library helps you play video files 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.3.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for tkvideoplayer-2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc5329e81606c5a6b52c3fb473b3b6db6a910d3982c1dc969c677e130b0946b1 |
|
MD5 | bec6ad09abf85c35ccb1f66cd5c54595 |
|
BLAKE2b-256 | 24a7263f9bdadb880b57ca626750c86ae1152106ccdd95e8194ba5c076174071 |