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

Arie van Wingerden xapwing at gmail.com
Thu Jan 3 10:57:11 EST 2019


Hi, 
in the meantime I am trying out what I found (after my question) here: https://solarianprogrammer.com/2018/04/21/python-opencv-show-video-tkinter-window/

If that doesn't play well, I'll try your suggestion.

Many thanks!

Op woensdag 2 januari 2019 19:06:05 UTC+1 schreef Vincent Vande Vyvre:
> 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