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)
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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e94293596fd819653a05ec6526c5210fda09198d78cf8b25b8d732f7d7fa420e |
|
MD5 | c7b44195d595eb9b7647948300de4561 |
|
BLAKE2b-256 | 97eac1ee5f32aaab985bb9a28b9b7fe2a4cac0e600ec4ee017bd90b36f7f8aae |