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, pre_load=False)
videoplayer.load(r"samplevideo.mp4")
videoplayer.pack(expand=True, fill="both")
videoplayer.play() # play the video
root.mainloop()
read the documentation here
Sample video player image:
This example source code can be found here
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-1.0.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for tkvideoplayer-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 889649560db1d1ce7ce2fd0b45c8c68f2eed7b490972b307d7cb5c75045c43fe |
|
MD5 | fe4e2cebe256a88d7dc846731068d083 |
|
BLAKE2b-256 | 1de4c57d04b257c558bf60891e36eef84328487a77239fe0b2546341b70138a0 |