Normally, in order to get a thumbnail from a video file we may use well-known software like FFMPEG. But now we can do it natively in C# using MediaPlayer class in WPF (which need to import PresentationCore.dll). We can use the following solution for both web and windows form application as described: Getting Thumbnail from Video using MediaPlayer Class in WPF.
No comments:
Post a Comment