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
you can easily integrate this with CustomTkinter as well: refer How to integrate with CustomTkinter?
Please immediately upgrade to the latest version if you are using version 1.3 or below
Sample video player made using tkVideoPlayer:
Note the above is a video player made using this library. The UI doens't come along with the library. Refer example on how to build the video player 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.
Metadata
Release files for tkvideoplayer 3.0
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-3.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tkvideoplayer-3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / tkvideoplayer-3.0.tar.gz
| Download URL | tkvideoplayer-3.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1cbdba2063267a2a921e753c92ae1474a030cb7d1f9c52378147cde18c23bbb5
|
|
BLAKE2b-256 checksum How to use checksums |
b0022320b55677be36216db37d0a5c50fda4b8eedce9c0e35b16f3230c3900dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / tkvideoplayer-3.0-py3-none-any.whl
| Download URL | tkvideoplayer-3.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1db1642bdf7383ee6c793d9e48a7a6e19e45ab325de272374400d476bda88555
|
|
BLAKE2b-256 checksum How to use checksums |
5cd7304f3c54ce43704cbe8b51a330ea79b5666ebcfd2b9aba590a88e6a95d36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|