How to display video files (mkv, wav, mp4 etc) within a TKinter widget?

Vincent Vande Vyvre vincent.vande.vyvre at telenet.be
Wed Jan 2 10:39:14 EST 2019


Le 2/01/19 à 15:17, Arie van Wingerden a écrit :
> I found (mostly fairly old stuff) some questions and a lot of (apparently often not working) Python code.
>
> 1. does TKinter offer such thing out of the box?
> 2. or is there another way using TKinter?
> 3. or do I need another GUI tool (e.g. QT) for this?
>
> TIA

With Qt it's very easy to implement a video player.

See this example:

https://bazaar.launchpad.net/~vincent-vandevyvre/qarte/qarte-4/view/head:/gui/videoplayer.py

It is implemented into this window:

https://bazaar.launchpad.net/~vincent-vandevyvre/qarte/qarte-4/view/head:/gui/uiconcerts.py


Vincent




More information about the Python-list mailing list