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: 3 months 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 (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-03T18:08:04.000Z (3 months ago)
- Last Synced: 2024-12-03T19:22:30.180Z (3 months 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!

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