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-0.0.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for tkvideoplayer-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86e174248506bf6915e88c3772cdf46b611b991c65821c8687cfb19d75660610 |
|
MD5 | df65173b6d38c8f4d9e933f112b80191 |
|
BLAKE2b-256 | 6fdc309bfced1b934c42083ad5e6491ad12a3c8575cb6e2940c8acb21f410b41 |