Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xiaokang2022/tkintertools-media

Extension package for tkintertools to media
https://github.com/xiaokang2022/tkintertools-media

cross-platform ffmpeg media themed tkinter tkintertools typed ui video

Last synced: 21 days ago
JSON representation

Extension package for tkintertools to media

Awesome Lists containing this project

README

        

tkintertools-media

Extension package for tkintertools to media


Version
Downloads
Total Downloads
Size


Watchers
Forks
Stars
Issues
Pull Requests
Discussions


Insights






Star History Chart


📦 Installation
----------------

```bash
pip install tkintertools-media
```

> [!IMPORTANT]
> `tkintertools`: https://github.com/Xiaokang2022/tkintertools

### 👀 Preview

> [!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!

![preview-1](./preview-1.png)

![preview-2](./preview-2.png)

```python
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()
```