FFMpegCore/FFMpeg/FFMpegArgumentProcessor.cs
/// <summary>
/// Register action that will be invoked during the ffmpeg processing, when a progress time is output and parsed and progress percentage is calculated.
/// Total time is needed to calculate the percentage that has been processed of the full file.
/// </summary>
/// <param name="onPercentageProgress">Action to invoke when progress percentage is updated</param>
/// <param name="totalTimeSpan">The total timespan of the mediafile being processed</param>
Register action that will be invoked during the ffmpeg processing, when a progress time is output and parsed and progress percentage is calculated.
Total time is needed to calculate the percentage that has been processed of the full file.
Register action that will be invoked during the ffmpeg processing when a progress time is output and parsed and progress percentage is calculated . Total time is needed to calculate the percentage that has been processed of the full file .
public FFMpegArgumentProcessor NotifyOnProgress(Action<double> onPercentageProgress, TimeSpan totalTimeSpan)
        {
            _totalTimespan = totalTimeSpan;
            _onPercentageProgress = onPercentageProgress;
            return this;
        }
public FFMpegArgumentProcessor NotifyOnProgress ( Action < double > onPercentageProgress , TimeSpan totalTimeSpan ) { _totalTimespan = totalTimeSpan ; _onPercentageProgress = onPercentageProgress ; return this ; }
Register action that will be invoked during the ffmpeg processing, when a progress time is output and parsed and progress percentage is calculated.
Register action that will be invoked during the ffmpeg processing when a progress time is output and parsed and progress percentage is calculated .
onPercentageProgress
Action<double>
Action to invoke when progress percentage is updated
Action to invoke when progress percentage is updated
totalTimeSpan
TimeSpan
The total timespan of the mediafile being processed
The total timespan of the mediafile being processed