Extension package for tkintertools to matplotlib
Project description
tkintertools-media
extension package for tkintertools to media
📦 Installation / 安装
pip install tkintertools-media
[!IMPORTANT]
tkintertools
: https://github.com/Xiaokang2022/tkintertools
👀 Preview / 预览
The sample video is downloaded from: http://www.sample-videos.com/
Code
import tkintertools as tkt
import tkintertools.media as media
root = tkt.Tk(title="tkintertools-media")
cv = media.VideoCanvas(root, keep_ratio="min", free_anchor=True, control=True, max_fps=60)
cv.place(width=1280, height=720, x=640, y=360, anchor="center")
cv.play("your_video_file.mp4")
root.mainloop()
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
Built Distribution
Close
Hashes for tkintertools_media-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fac5197fb255e6f14200c4179414bacd2326b05cb75fbc32da57663044af51ec |
|
MD5 | 06b5f196d4559b3ff6778bfd4897d779 |
|
BLAKE2b-256 | 574a8ce327aaf23675551f73a66dc3dc72f863f85c7bc4e7688f02671932d01a |