perf: lower seek time for thumbnails
This commit is contained in:
parent
160cf59d4a
commit
f98f3b2fdb
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ impl<'a> Previewable for VideoPath<'a> {
|
|||
.args(["-threads", "1"])
|
||||
.args(["-i", &self.0.to_string_lossy()])
|
||||
.args(["-vframes", "1"])
|
||||
.args(["-ss", &(300f64.min(duration / 4.0)).to_string()])
|
||||
.args(["-ss", &(90f64.min(duration / 2.0)).to_string()])
|
||||
.arg(&*outfile.path().to_string_lossy())
|
||||
.arg("-y")
|
||||
.output()?;
|
||||
|
|
Loading…
Reference in a new issue