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
Built Distribution
File details
Details for the file tkvideoplayer-2.1.tar.gz
.
File metadata
- Download URL: tkvideoplayer-2.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
961efdf9fd429f36211f4da6a958b56307f8b7e57f3bacd922df746f3322dbd1
|
|
MD5 |
746cf8e7c68975f60335c7e1b11a9794
|
|
BLAKE2b-256 |
0655129b8e729e0e22d65397da8d64df137d2bb5a29fae01af9e1fe43e18a5ae
|
File details
Details for the file tkvideoplayer-2.1-py3-none-any.whl
.
File metadata
- Download URL: tkvideoplayer-2.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4e5513d54c859bcc797cfddedb47771f7282d95353e1bff1f0c71e10f4cfc937
|
|
MD5 |
15ed1662bd29a7de9fa6f19829e42ea1
|
|
BLAKE2b-256 |
87d74ded35048d6a804c6255ecffe2a89ff2378b8cc1688b4ca0663ab3626fc0
|