From 8d14c8a18daae3fe409d0c6761385424990b8127 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Tue, 16 Apr 2024 15:42:37 +0200 Subject: [PATCH] apriltag-track-movie: bugfix: do not change number of frames --- apriltag/apriltag-track-movie/Cargo.toml | 2 +- apriltag/apriltag-track-movie/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apriltag/apriltag-track-movie/Cargo.toml b/apriltag/apriltag-track-movie/Cargo.toml index de9b3820e..3299c8a61 100644 --- a/apriltag/apriltag-track-movie/Cargo.toml +++ b/apriltag/apriltag-track-movie/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "apriltag-track-movie" -version = "0.1.0" +version = "0.1.1" edition = "2021" [dependencies] diff --git a/apriltag/apriltag-track-movie/src/lib.rs b/apriltag/apriltag-track-movie/src/lib.rs index ca0866a00..9d901f17a 100644 --- a/apriltag/apriltag-track-movie/src/lib.rs +++ b/apriltag/apriltag-track-movie/src/lib.rs @@ -52,6 +52,7 @@ impl FfmpegFrameIterator { let args = [ "-nostdin", "-i", &format!("{}", fname.as_ref().display()), + "-fps_mode", "passthrough", "-f", "yuv4mpegpipe", "pipe:", ];