Skip to content

Missing elements in new Nuget Package v1.1.3 #27

@ChristopheI

Description

@ChristopheI

Hi,

I migrate from the master branch to the dev branch. The objective was to use the new Nuget package directly in my project.

Unfortunately there are some missing elements in FFmpeg4Sharp 1.1.3:

  1. Filter class
    There is no filter class yet in 1.1.3. But you have them in the current branch with nearly same features than in master branch (Inputs and Outputs are no more directly available but it's not a problem)

  2. RegisterBinaries
    There is no more RegisterBinaries method in FFmpegUtil

        /// <summary>
        /// Set ffmpeg root path, return <see cref="ffmpeg.av_version_info"/>
        /// </summary>
        /// <param name="path"></param>
        public static string RegisterBinaries(string path = "")
        {
            ffmpeg.RootPath = path;
            return ffmpeg.av_version_info();
        }
  1. BufferSrcFlags
    There is no more BufferSrcFlags enum
    [Flags]
    public enum BufferSrcFlags : int
    {
        /// <summary>
        /// takes ownership of the reference passed to it.
        /// </summary>
        None = 0,

        /// <summary>
        /// AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT, Do not check for format changes.
        /// </summary>
        NoCheckFormat = 1,

        /// <summary>
        /// AV_BUFFERSRC_FLAG_PUSH, Immediately push the frame to the output.
        /// </summary>
        Push = 4,

        /// <summary>
        /// AV_BUFFERSRC_FLAG_KEEP_REF, Keep a reference to the frame.
        /// If the frame if reference-counted, create a new reference; otherwise
        /// copy the frame data.
        /// </summary>
        KeepRef = 8,
    }

Also I notice that CreateMediaFilterGraph method is currently commented. I didn't test it yet but it should be great to have it.

A great thanks again for this great package ! 👍

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