ffplay
is a tool to play images inside a folder without saving a video. See command options here
But the problem is the filenames in my folder do not have a pattern, as they are sampled unevenly.
Let's consider a worst case
./myfolder
./myfolder/1.jpg
./myfolder/5.jpg
./myfolder/132.jpg
./myfolder/2699.jpg
./myfolder/121484.jpg
./myfolder/223655.jpg
...
How to play those images by the order generated from the system (file order)?
Use
mpv
to play,find
to list the images, andsort
to provide version/natural order.This method has the added advantage of allowing seeking unlike
ffplay
.