Vlc.DotNet NextFrame
You can go to the next frame by lengthening the time like this
vlcControl1.Time += 1000/FPS;
previous frame:
vlcControl1.Time -= 1000/FPS;
FBS
maybe from
ShellObject obj = ShellObject.FromParsingName(fileSource.getCurrentFile().FullName);
FPS = obj.Properties.System.Video.FrameRate.Value != null ? (int)(obj.Properties.System.Video.FrameRate.Value / 1000) : 22;
Note:
-
ShellObject
fromNuGet
"WindowsAPICodePack-Shell" -
I assigned 22 because there is some file returning null in
obj.Properties.System.Video.FrameRate.Value
-
fileSource.getCurrentFile()
It is an objectFileInfo
containing a video file.
too late, but maybe it will help someone :)
source to share