On the screenshot below there is a timeline in the form of frames, how to do the same? Any ideas. The application itself is called Effects Videos - Filters for Videos from Winstor and apparently the entire application is not so difficult to do.

Timeline

    1 answer 1

    You can try to use the ffmpeg library port for UWP (there is also a version from another developer). Ffmpeg has the option of creating individual frames (in standard image formats) from a video, for a given time, an example of the command line:

    ffmpeg -i myvideo.avi -vf fps=1/60 img%03d.jpg 

    Naturally, you need to use the corresponding calls of the assembled library, and not the command line.

    • Yes, one more "idea in the piggy bank" (I think it is implemented at 99%): for Windows 10 UWP you can use the custom video effect , an example is on the github . The ProcessFrame function gives access to the frame contents: public void ProcessFrame(ProcessVideoFrameContext context) { var softBmp = context.InputFrame.SoftwareBitmap; } public void ProcessFrame(ProcessVideoFrameContext context) { var softBmp = context.InputFrame.SoftwareBitmap; } - SeNS