[FFmpeg-user] watch a folder for new images

Michael Koch astroelectronic at t-online.de
Sat Jan 29 21:36:37 EET 2022


Hello,

is it possible to watch a folder for new images (like fileSystemWatcher 
in C#), and if a new image appears, then load it in FFmpeg? The question 
is for Windows.
Very large PNG images (about 30 Megapixels) are written to the folder 
every 5 seconds. I want to load these images, extract the four corners, 
enlarge them by a factor 10, stack the four images together and show the 
result on the screen, until the next image appears. The filtering is no 
problem, the question is only how to watch the folder for new images.

Michael



More information about the ffmpeg-user mailing list