Skip to main content

This library helps you play video files 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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tkvideoplayer-2.8.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

tkvideoplayer-2.8-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page