Extension package for tkintertools to media
pip install tkintertools-media
Important
tkintertools
: https://github.com/Xiaokang2022/tkintertools
Warning
The sample video from: https://github.com/Xiaokang2022/tkintertools-demos/tree/main/assets/videos. Please note that the video is for testing purposes only and may not be used for commercial purposes!
import tkintertools as tkt
import tkintertools.media as media
root = tkt.Tk(title="tkintertools-media")
cv = media.VideoCanvas(root, free_anchor=True, keep_ratio="min", controls=True)
cv.place(width=1280, height=720, x=640, y=360, anchor="center")
cv.open("your_video_file.mp4")
root.mainloop()