mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Do not apply FPS filter for VFR since muxed timestamps would mismatch
This commit is contained in:
@@ -67,7 +67,16 @@ namespace Flowframes.Media
|
|||||||
var mf = Interpolate.currentMediaFile;
|
var mf = Interpolate.currentMediaFile;
|
||||||
|
|
||||||
if (resampleFps.Float >= 0.1f)
|
if (resampleFps.Float >= 0.1f)
|
||||||
filters.Add($"fps={resampleFps}");
|
{
|
||||||
|
if (Interpolate.currentMediaFile.IsVfr)
|
||||||
|
{
|
||||||
|
Logger.Log($"Ignoring {resampleFps.Float} FPS limit as this is currently unsupported for variable framerate videos.");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
filters.Add($"fps={resampleFps}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GetBool(Config.Key.keepColorSpace) && extraData.HasAllColorValues())
|
if (Config.GetBool(Config.Key.keepColorSpace) && extraData.HasAllColorValues())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user