Skip to main content

This library helps you play videos 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 specific frames.

Example:

import tkinter as tk
from tkVideoPlayer import TkinterVideo

root = tk.Tk()

videoplayer = TkinterVideo(master=root, scaled=True, pre_load=False)
videoplayer.load(r"samplevideo.mp4")
videoplayer.pack(expand=True, fill="both")

videoplayer.play() # play the video

root.mainloop()

Note: the master argument has to be explicitly set, you cannot use TkinterVideo(root), instead you must use TkinterVideo(master=root).

read the documentation here

Sample video player made using tkVideoPlayer:

Sample player

This example source code can be found here

Other libraries you might be interested in:

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-1.3.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tkvideoplayer-1.3.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tkvideoplayer-1.3.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

File hashes

Hashes for tkvideoplayer-1.3.0.tar.gz
Algorithm Hash digest
SHA256 4ab38e4a28286c2330e0da6eefef217e7075b207a23ea47edb71b93ceca28049
MD5 235225947d8c8798f371c76e06490a2d
BLAKE2b-256 c4a923b7dc64e017e77a953a09308872c4ad60bff9775a479a634f3b1172b3e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tkvideoplayer-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

File hashes

Hashes for tkvideoplayer-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d9dbf9d7a89babd5502b76aacddb20d82a6d3b6dda03bff0219b7d8d952b2be
MD5 434f09598a74c3eb8eff0c250ace908b
BLAKE2b-256 a5f7271523a62a182070fe6bc98a102f8e8ced4db7b63efe8c502619e3e70694

See more details on using hashes here.

Supported by

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