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.
Release files for tkvideoplayer 2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tkvideoplayer-2.1.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tkvideoplayer-2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / tkvideoplayer-2.1.tar.gz
| Download URL | tkvideoplayer-2.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
961efdf9fd429f36211f4da6a958b56307f8b7e57f3bacd922df746f3322dbd1
|
|
BLAKE2b-256 checksum How to use checksums |
0655129b8e729e0e22d65397da8d64df137d2bb5a29fae01af9e1fe43e18a5ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.13
|
Release files / tkvideoplayer-2.1-py3-none-any.whl
| Download URL | tkvideoplayer-2.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e5513d54c859bcc797cfddedb47771f7282d95353e1bff1f0c71e10f4cfc937
|
|
BLAKE2b-256 checksum How to use checksums |
87d74ded35048d6a804c6255ecffe2a89ff2378b8cc1688b4ca0663ab3626fc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.13
|