We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
i try to read Videos for making thumbnails to show in C#. Some of the Videos are broken. This Videos take multiple minutes to fail.
I would like to have the ability to set a Timeout in the TryGetFrame Function of the VideoStream object.
TryGetFrame
VideoStream
My Function to load the frames looks like this: `public Bitmap GetVideoFrameAtSecond(double s_) { if (MediaInfo == null) return null;
try { if (MediaInfo.Video.TryGetFrame(TimeSpan.FromMilliseconds(s_ * 1000), out FFMediaToolkit.Graphics.ImageData imageData1)) { return imageData1.ToBitmap(); } } catch (Exception) { return null; } return null; }`
MediaInfo is a member Variable of the type MediaFile
MediaInfo
MediaFile
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
i try to read Videos for making thumbnails to show in C#.
Some of the Videos are broken.
This Videos take multiple minutes to fail.
I would like to have the ability to set a Timeout in the
TryGetFrame
Function of theVideoStream
object.My Function to load the frames looks like this:
`public Bitmap GetVideoFrameAtSecond(double s_)
{
if (MediaInfo == null)
return null;
MediaInfo
is a member Variable of the typeMediaFile
The text was updated successfully, but these errors were encountered: