Skip to content

Snapshot function with latest release is boolean only? #402

Description

@bitmaps

Updated to latest nuget package and the following no longer works as result is now a boolean.

var bitmap = FFMpeg.Snapshot(inputPath, new Size(200, 400), TimeSpan.FromMinutes(1));

Is it possible to have the snapshot return a bitmap?

Activity

  1. rosenbjerg commented on Feb 17, 2023

    @rosenbjerg
    Owner

    Functionality depending System.Drawing.Common, which is Windows-only now, has been moved to a separate "extension" package to keep the main library properly cross-platform.
    FFMpegCore.Extensions.System.Drawing.Common
    So installing this package should add the extension method you were using previously in version 4.x

    #396 which is still a draft PR would add similar extension methods, but using the Skia graphics library instead of System.Drawing.Common

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions