Currently, FFmpeg.NET is parsing durations from metadata using TryParse without specifying an IFormatProvider. On machines with a non-default locale (e.g. having comma as a decimal separator), this will lead to a mismatch with FFmpeg which still uses the universal dot as a separator. Instead, we should use CultureInfo.InvariantCulture. Will open a pull request for this.
Currently, FFmpeg.NET is parsing durations from metadata using
TryParse
without specifying anIFormatProvider
. On machines with a non-default locale (e.g. having comma as a decimal separator), this will lead to a mismatch with FFmpeg which still uses the universal dot as a separator. Instead, we should useCultureInfo.InvariantCulture
. Will open a pull request for this.