Skip to main content

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:

Sample player

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:

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)

Source distribution for tkvideoplayer 3.0
File Size Uploaded
tkvideoplayer-3.0.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tkvideoplayer 3.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

3.0 This release

2 release files

2.8

2 release files

2.5

2 release files

2.3

2 release files

2.2

2 release files

2.1

2 release files

2.0.0

2 release files

1.3.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page