Commit graph

17 commits

Author SHA1 Message Date
redzic
4ef9bdaa8a
More idiomatic Rust, add Cargo.lock to the repo (#313)
Previously, we represented quantizer values as an owned `String` for
constructing various encoder commands, which is much slower and less
robust than representing the quantizer as an integral value. This has
been updated to represent the `q` and `n_threads` both as a `usize`, and
only convert to a `String` for formatting as needed.

Furthermore, several struct fields containing paths have been updated to
use a `PathBuf` or `&Path` instead of a `String`. These are the first
steps required to supporting non-UTF8 filenames on Windows and
Unix-based operating systems.

`run_vmaf_on_chunk`'s function signature has been update to take generic
arguments that satisfy `AsRef<Path>`, which allows the caller to save
themselves from creating a new `Path` if the original argument was a
`String`, for example.

* Do not represent the concatenation method as a string
* Fix pedantic clippy warnings
* Remove Cargo.lock from .gitignore
* Fix startup_check for ivf concatenation
* Add doc comment to `Args` for better help generation in Clap
* Use Display impl instead of directly using str::From for `Encoder` and `ConcatMethod`
* Do not unwrap the result of killing child processes
* Assert that VMAF calculation was successful
* Use more idiomatic Rust
2021-07-24 20:09:21 +03:00
Luigi311
16e39713a2
Fix workflow, Fix Dockerfile (#303)
* Fix workflow
* Dockerfile: Build rust
* Action: Fix svt-av1
2021-07-19 02:36:06 +03:00
Luigi311
592bd9920d
Fix x264/x265, Disable multiplexing (#290)
* Fix x265/x264, Expand gitignore
* Cargo: Disable Multiplex
2021-07-11 14:36:31 +03:00
Luis Garcia
da32f15ffe
Probe slow (#277)
Add probe-slow
2021-06-09 00:39:14 +03:00
Zen
c5a801ce43 add to git ignore 2021-05-14 07:02:56 +03:00
Zen
cdcce27981 ignore .backup files 2020-11-27 15:51:16 +02:00
Zen
0ac05ec614 Version bump 2020-09-15 16:53:55 +03:00
Zen
634e8d5ebb Update .gitignore 2020-08-31 02:05:07 +03:00
megapro17
eb79279935 Ignore vscode 2020-08-14 00:35:14 +03:00
Zen
728fb46ba5 .exe added to gitignore 2020-02-25 21:06:34 +02:00
Zen
cf7422cec1 removed vids 2020-02-09 10:21:01 +02:00
Zen
d7e710c0bb Update .gitignore 2020-01-11 15:05:46 +02:00
Zen
077d34cfa0 Update .gitignore 2020-01-11 14:24:58 +02:00
Zen
91a13f32b2 Update .gitignore 2020-01-11 14:24:47 +02:00
Zen
3511db64ee Update .gitignore 2020-01-08 23:29:10 +02:00
Zen
6b17223395 Update .gitignore 2020-01-08 01:05:01 +02:00
Zen
0d9ab3b202
Initial commit 2020-01-08 00:49:56 +02:00