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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file tkvideoplayer-2.8.tar.gz.

File metadata

  • Download URL: tkvideoplayer-2.8.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for tkvideoplayer-2.8.tar.gz
Algorithm Hash digest
SHA256 e7279ffd9435485d03b76f99b082121db970a13ce00d6e5399ee4bb78240e4f2
MD5 d016c325815e08c2a4818d268cf2a943
BLAKE2b-256 f0cee6d74123b5d5d5d22f2b2f733113f0076c8ab9bc0fd4137773bd37163a67

See more details on using hashes here.

File details

Details for the file tkvideoplayer-2.8-py3-none-any.whl.

File metadata

  • Download URL: tkvideoplayer-2.8-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for tkvideoplayer-2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e09b3b5d49242d7a9faa938ef8717ab66b538b1a437941decaf819da1fc75c66
MD5 8d8781d9cc3f2bf1b983184d4efb254e
BLAKE2b-256 91060055f0e86daf0ea5469bc83d281915f338c739db417a0049c1f1cb1a0041

See more details on using hashes here.

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