From 91bda20a9bd7c937c464427c97653d752710daee Mon Sep 17 00:00:00 2001 From: Thomas Gotwig Date: Tue, 23 Jul 2024 18:55:18 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20-c:v=20hevc=5Fvideotoolbox=20?= =?UTF-8?q?to=20fps=5Fchanger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/tgotwig/vidmerger/issues/46 --- src/commanders/_cmd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commanders/_cmd.rs b/src/commanders/_cmd.rs index 5d9bf8a..b06652a 100644 --- a/src/commanders/_cmd.rs +++ b/src/commanders/_cmd.rs @@ -61,7 +61,7 @@ pub fn adjust_fps_by_ffmpeg( new_file_location: PathBuf, ) -> PathBuf { let cmd = format!( - "ffmpeg -i {} -r {} {}", + "ffmpeg -i {} -c:v hevc_videotoolbox -r {} {}", file_to_merge.to_str().unwrap(), fps_goal, new_file_location.to_str().unwrap()