1

I'm kind of new to python, so please bear with me. I am having trouble displaying videos inside a TKinter frame. What i want to do is play a group of videos inside a frame in TK.

For example: i have 3 videos named a.mp4, b.mp4, and c.mp4 i want them to play inside a frame without it reloading(closing, then play the next video)

i have tried OpenCV, but what it does is play a.mp4, closes, then plays b.mp4 Any help would be much appreciated, i have been stuck here for days

pyyan
  • 103
  • 8

1 Answers1

1

You can concatenate videos horizontally or vertically or in a grid to a single video file using ffmpeg or manually in python.

You can use ffmpeg outside python to concatenate videos into single video and show as a single video: Vertically stack several videos using ffmpeg?

Or you can make a single video by concatenating those videos horizontally or vertically in python itself. e.g. use scikit-video or opencv to load videos into different arrays and concatenate horizontally or vertically or in grid and save as a single video.

Dinesh
  • 1,555
  • 1
  • 16
  • 18