hzeller / timg

A terminal image and video viewer.
GNU General Public License v2.0
1.97k stars 74 forks source link

How to concurrently loop videos in a grid? #139

Closed korciuch closed 1 month ago

korciuch commented 1 month ago

Currently, I'm using the following command to display a grid of videos playing the first 10 frames; however, it is rendering one-at-a-time. timg --grid=5x1 --upscale=i --center --title --frames=1 --threads=8 --loops=1 -wr0 --verbose --clear --compress=1 ~/Downloads/*.mp4 Is it possible to have the videos play concurrently for faster viewing?

hzeller commented 1 month ago

Right now, this is not possible, as each of them is considered a separate entity that starts after the last is shown. Having said that, that would be a cool feature.

korciuch commented 1 month ago

Okay, if you are open to reviewing a PR for this, I can try implementing.