Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/xiaokang2022/tkintertools-media
- Owner: Xiaokang2022
- License: mit
- Created: 2024-09-15T14:01:22.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-20T16:41:40.000Z (about 2 months ago)
- Last Synced: 2024-10-10T22:02:49.057Z (about 1 month ago)
- Topics: cross-platform, ffmpeg, media, themed, tkinter, tkintertools, typed, ui, video
- Language: Python
- Homepage: https://xiaokang2022.github.io/tkintertools/
- Size: 3 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
tkintertools-media
Extension package for tkintertools to media
📦 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 mediaroot = 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()
```