tkvideoplayer


Nametkvideoplayer JSON
Version 2.8 PyPI version JSON
download
home_pagehttps://github.com/PaulleDemon/tkVideoPlayer
SummaryThis library helps you play video files in tkinter
upload_time2024-01-20 04:54:16
maintainer
docs_urlNone
authorPaul
requires_python>=3.6
licenseMIT
keywords tkinter video player video player tkvideoplayer play video in tkinter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TkVideoplayer

This is a simple library to play video files in tkinter. This library also provides the ability to play, pause, 
skip and seek to specific timestamps.

#### Example:
```python
import tkinter as tk
from tkVideoPlayer import TkinterVideo

root = tk.Tk()

videoplayer = TkinterVideo(master=root, scaled=True)
videoplayer.load(r"samplevideo.mp4")
videoplayer.pack(expand=True, fill="both")

videoplayer.play() # play the video

root.mainloop()
```

read the documentation [here](https://github.com/PaulleDemon/tkVideoPlayer/blob/master/Documentation.md)

you can easily integrate this with **CustomTkinter** as well: refer [How to integrate with CustomTkinter?](https://github.com/PaulleDemon/tkVideoPlayer/discussions/23#discussioncomment-4475005)

> Please immediately upgrade to the latest version if you are using version 1.3 or below


#### Sample video player made using tkVideoPlayer:
![Sample player](https://github.com/PaulleDemon/tkVideoPlayer/blob/master/videoplayer_screenshot.png?raw=True)



> Note the above is a video player made using this library. The UI doens't come along with the library. Refer example on how to build the video player [here](https://github.com/PaulleDemon/tkVideoPlayer/blob/master/examples/sample_player.py)

**Other libraries you might be interested in:**

* [tkstylesheet](https://pypi.org/project/tkstylesheet/) - Helps you style your tkinter application using stylesheets.

* [tkTimePicker](https://pypi.org/project/tkTimePicker/) - An easy-to-use timepicker.

* [PyCollision](https://pypi.org/project/PyCollision/) - Helps you draw hitboxes for 2d games.


**Donate:**

I'm a passionate supporter of open-source initiatives. Developing and maintaining open-source projects requires a significant commitment of time and effort. My goal is to transition to working on open-source projects on a full-time basis. If you'd like to support me and the open-source community, please consider making small donations so I can dedicate more time to open-source work.
[Donate](https://www.buymeacoffee.com/ArtPaul)

[<img src="https://github.com/PaulleDemon/PaulleDemon/blob/main/images/buy-me-coffee.png?raw=True" height="100px" width="350px">](https://www.buymeacoffee.com/ArtPaul)

**Other ways to support**

The site [https://adostrings.com](https://adostrings.com) and some of the production grade apps for sale to support open-source initiatives. Send mail to paul@adostrings.com to get to know more.
 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/PaulleDemon/tkVideoPlayer",
    "name": "tkvideoplayer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "tkinter,video,player,video player,tkvideoplayer,play video in tkinter",
    "author": "Paul",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f0/ce/e6d74123b5d5d5d22f2b2f733113f0076c8ab9bc0fd4137773bd37163a67/tkvideoplayer-2.8.tar.gz",
    "platform": null,
    "description": "# TkVideoplayer\n\nThis is a simple library to play video files in tkinter. This library also provides the ability to play, pause, \nskip and seek to specific timestamps.\n\n#### Example:\n```python\nimport tkinter as tk\nfrom tkVideoPlayer import TkinterVideo\n\nroot = tk.Tk()\n\nvideoplayer = TkinterVideo(master=root, scaled=True)\nvideoplayer.load(r\"samplevideo.mp4\")\nvideoplayer.pack(expand=True, fill=\"both\")\n\nvideoplayer.play() # play the video\n\nroot.mainloop()\n```\n\nread the documentation [here](https://github.com/PaulleDemon/tkVideoPlayer/blob/master/Documentation.md)\n\nyou can easily integrate this with **CustomTkinter** as well: refer [How to integrate with CustomTkinter?](https://github.com/PaulleDemon/tkVideoPlayer/discussions/23#discussioncomment-4475005)\n\n> Please immediately upgrade to the latest version if you are using version 1.3 or below\n\n\n#### Sample video player made using tkVideoPlayer:\n![Sample player](https://github.com/PaulleDemon/tkVideoPlayer/blob/master/videoplayer_screenshot.png?raw=True)\n\n\n\n> Note the above is a video player made using this library. The UI doens't come along with the library. Refer example on how to build the video player [here](https://github.com/PaulleDemon/tkVideoPlayer/blob/master/examples/sample_player.py)\n\n**Other libraries you might be interested in:**\n\n* [tkstylesheet](https://pypi.org/project/tkstylesheet/) - Helps you style your tkinter application using stylesheets.\n\n* [tkTimePicker](https://pypi.org/project/tkTimePicker/) - An easy-to-use timepicker.\n\n* [PyCollision](https://pypi.org/project/PyCollision/) - Helps you draw hitboxes for 2d games.\n\n\n**Donate:**\n\nI'm a passionate supporter of open-source initiatives. Developing and maintaining open-source projects requires a significant commitment of time and effort. My goal is to transition to working on open-source projects on a full-time basis. If you'd like to support me and the open-source community, please consider making small donations so I can dedicate more time to open-source work.\n[Donate](https://www.buymeacoffee.com/ArtPaul)\n\n[<img src=\"https://github.com/PaulleDemon/PaulleDemon/blob/main/images/buy-me-coffee.png?raw=True\" height=\"100px\" width=\"350px\">](https://www.buymeacoffee.com/ArtPaul)\n\n**Other ways to support**\n\nThe site [https://adostrings.com](https://adostrings.com) and some of the production grade apps for sale to support open-source initiatives. Send mail to paul@adostrings.com to get to know more.\n \n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "This library helps you play video files in tkinter",
    "version": "2.8",
    "project_urls": {
        "Homepage": "https://github.com/PaulleDemon/tkVideoPlayer"
    },
    "split_keywords": [
        "tkinter",
        "video",
        "player",
        "video player",
        "tkvideoplayer",
        "play video in tkinter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "91060055f0e86daf0ea5469bc83d281915f338c739db417a0049c1f1cb1a0041",
                "md5": "8d8781d9cc3f2bf1b983184d4efb254e",
                "sha256": "e09b3b5d49242d7a9faa938ef8717ab66b538b1a437941decaf819da1fc75c66"
            },
            "downloads": -1,
            "filename": "tkvideoplayer-2.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8d8781d9cc3f2bf1b983184d4efb254e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 6173,
            "upload_time": "2024-01-20T04:54:13",
            "upload_time_iso_8601": "2024-01-20T04:54:13.896178Z",
            "url": "https://files.pythonhosted.org/packages/91/06/0055f0e86daf0ea5469bc83d281915f338c739db417a0049c1f1cb1a0041/tkvideoplayer-2.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0cee6d74123b5d5d5d22f2b2f733113f0076c8ab9bc0fd4137773bd37163a67",
                "md5": "d016c325815e08c2a4818d268cf2a943",
                "sha256": "e7279ffd9435485d03b76f99b082121db970a13ce00d6e5399ee4bb78240e4f2"
            },
            "downloads": -1,
            "filename": "tkvideoplayer-2.8.tar.gz",
            "has_sig": false,
            "md5_digest": "d016c325815e08c2a4818d268cf2a943",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 5760,
            "upload_time": "2024-01-20T04:54:16",
            "upload_time_iso_8601": "2024-01-20T04:54:16.510234Z",
            "url": "https://files.pythonhosted.org/packages/f0/ce/e6d74123b5d5d5d22f2b2f733113f0076c8ab9bc0fd4137773bd37163a67/tkvideoplayer-2.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-20 04:54:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "PaulleDemon",
    "github_project": "tkVideoPlayer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "tkvideoplayer"
}
        
Elapsed time: 0.16721s