can u help me with regex in FFMpegConverter?
I have a bitmaps a saving them like it:
foreach (Bitmap printscreen in printscreeny)
{
printscreen.Save(Path.GetTempPath() + guid +"_"+ i);
i++;
}
then I want to convert them by NReco videoConverter but dont know how to write regex part to describe path.
I have it like it:
videoConverter.ConvertMedia(Path.GetTempPath() + guid + "_"+" *%d.bmp", null,"test.mp4", null, convertSettings);
Thanks
One way to do this would be to keep track of the files in a list:
Then you can add the file paths to this list when you save them:
And now later, when you want to process the files, you can just get the paths from your list (and remove them from the list when you're done):