diff --git a/230101/project.toml b/230101/project.toml index 3907d26..8fff98f 100644 --- a/230101/project.toml +++ b/230101/project.toml @@ -9,8 +9,8 @@ end = "12" fast = [["5", "7"], ["9", "11"]] [source.metadata] -source_duration = "12.533330" -source_fps = "25/1" +source_duration = "12.53333" +source_fps = "50/1" source_tbn = "1/12800" source_res = "FullHD" source_sample_rate = 48000 diff --git a/src/render/ffmpeg.rs b/src/render/ffmpeg.rs index 86f6f20..63657cd 100644 --- a/src/render/ffmpeg.rs +++ b/src/render/ffmpeg.rs @@ -50,25 +50,60 @@ impl FfmpegInput { } } +pub(crate) struct FfmpegOutput { + pub(crate) fps: Option, + pub(crate) duration: Option