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:

Donate:

I'm a passionate supporter of open-source initiatives. Developing and maintaining open-source projects requires a significant commitment of time and effort. My goal is to transition to working on open-source projects on a full-time basis. If you'd like to support me and the open-source community, please consider making small donations so I can dedicate more time to open-source work. Donate

Other ways to support

The site https://adostrings.com and some of the production grade apps for sale to support open-source initiatives. Send mail to paul@adostrings.com to get to know more.

Metadata

Release files for tkvideoplayer 2.8

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 2.8
File Size Uploaded
tkvideoplayer-2.8.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tkvideoplayer 2.8
File Interpreter ABI Platform
tkvideoplayer-2.8-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / tkvideoplayer-2.8.tar.gz

Download URL tkvideoplayer-2.8.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e7279ffd9435485d03b76f99b082121db970a13ce00d6e5399ee4bb78240e4f2
BLAKE2b-256 checksum
How to use checksums
f0cee6d74123b5d5d5d22f2b2f733113f0076c8ab9bc0fd4137773bd37163a67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / tkvideoplayer-2.8-py3-none-any.whl

Download URL tkvideoplayer-2.8-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e09b3b5d49242d7a9faa938ef8717ab66b538b1a437941decaf819da1fc75c66
BLAKE2b-256 checksum
How to use checksums
91060055f0e86daf0ea5469bc83d281915f338c739db417a0049c1f1cb1a0041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release history Release notifications | RSS feed

This release

2.8 This release

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