joelibaceta / video-to-ascii

It is a simple python package to play videos in the terminal using characters as pixels
MIT License
1.67k stars 141 forks source link

Add option to loop/repeat video? #56

Open Schweinepriester opened 3 years ago

Schweinepriester commented 3 years ago

Is your feature request related to a problem? Please describe. No problem per se, just a feature request or rather a suggestion.

Describe the solution you'd like I want the generated ASCII video/animation to play repeatedly, in my case indefinitely i.e. looping until I press e.g. ctrl + c.

Describe alternatives you've considered I've helped myself with

while true; do video-to-ascii -f myVid.mp4; done

but there's a flash of black between loops.

Additional context Not sure when the ASCII is generated, but if its not on the fly for each frame, there would be potential here to cache it.

Feel free to close if you dont think this feature would be useful or the like.

joelibaceta commented 3 years ago

@Schweinepriester sounds good. It could be a nice feature.