seek_streams_individually can also happen with .mov files
All checks were successful
Trigger quay.io Webhook / run (push) Successful in 6s

This commit is contained in:
Dominic 2024-05-30 11:13:12 +02:00
parent cbdf55335a
commit 2fdb653496
Signed by: msrd0
GPG key ID: AAF7C8430CA3345D

View file

@ -41,7 +41,7 @@ impl FfmpegInput {
cmd.arg("-r").arg(fps.to_string()); cmd.arg("-r").arg(fps.to_string());
} }
if let Some(start) = self.start { if let Some(start) = self.start {
if self.path.ends_with(".mp4") { if self.path.ends_with(".mp4") || self.path.ends_with(".mov") {
cmd.arg("-seek_streams_individualy").arg("false"); cmd.arg("-seek_streams_individualy").arg("false");
} }
cmd.arg("-ss").arg(format_time(start)); cmd.arg("-ss").arg(format_time(start));