Commit graph

2236 commits

Author SHA1 Message Date
Josh Holmer c78d01528d
Update several dependencies (#568)
Notably:
- parking_lot
- sysinfo
and many patch version bumps
2022-02-07 05:39:01 +00:00
redzic c7f38747bb
Fix progress bar size estimate (#566) 2022-02-03 22:18:04 +00:00
redzic 9dc898a67e
Update rav1e and vapoursynth (#565) 2022-02-01 06:52:08 +00:00
redzic d5fe2d233b
Future proof SVT-AV1 version parsing (#562)
* Future proof SVT-AV1 version parsing

* Fix

* Completely fix the parsing
2022-01-31 16:56:38 +00:00
redzic e7b2d08379
Update SVT-AV1 target quality params for v0.9.0 (#557)
* Update SVT-AV1 target quality params for v0.9.0

* Add version check for SVT-AV1

* Fix clippy warning

* Fix args for memmem::find
2022-01-30 23:08:11 +00:00
Josh Holmer 88ed5a131a
Warn about slowness when using "select" chunk method (#560)
Partially addresses #559
2022-01-28 15:16:09 +00:00
redzic be82f3bec9
Fix mkvmerge on network drives for windows (#558) 2022-01-24 02:50:55 +00:00
redzic 5f2a7c3d98
Fix ffmpeg issue in docker container (#555) 2022-01-20 02:35:38 +00:00
redzic a37b0f720a
Do not state that vapoursynth is optional (#552) 2022-01-19 22:19:42 +00:00
Josh Holmer 5b2b4fbbb9
Display chunk index instead of worker index in verbose mode (#550)
* Display chunk index instead of worker index in verbose mode

The chunk index would be much more useful for users who are using
verbose mode. Worker index is easily derived from counting the lines,
and is not particularly useful.

* Pass padding around instead of recalculating it

* Add assert and comment

Co-authored-by: Redzic <yusufredzic@gmail.com>
2022-01-19 01:42:41 +00:00
Josh Holmer e9cb98c83a Do not automatically backport each PR to stable
The way we have been doing releases does not coincide well with how we
have been utilizing our stable branch. Given that we release from
master, and that many people in the community use master on a daily
basis, it makes more sense for stable to always match the latest
released version, and for master to include unreleased changes which are
considered "stable".

For experiments, we should instead use a feature branch per experiment
until we are confident that it is ready to be merged into master.
2022-01-18 19:45:34 -05:00
Josh Holmer 351d19accb
Rework log levels to be more useful (#546)
- Update log levels so that the log file contains more verbose
  information by default, while leaving the stderr progress indicator
  relatively uncluttered
- Explicitly set the log level to `error` for all dependencies
- rav1e scenechange info has been moved to `--log-level trace`
- Avoid outputting colors if stderr is not a tty
- Fix a crash when using `--quiet`
2022-01-18 23:20:01 +00:00
redzic d893cd5aad
Update vapoursynth and other dependencies (#540) 2022-01-17 08:24:52 +00:00
redzic 36fbff1dcd
Update version to 0.3.1 (#541) 2022-01-17 07:16:42 +00:00
redzic 13313cacc1
Re-add concat info to --help (#537) 2022-01-16 21:03:59 +00:00
Zen ff1aaded35
Encoder mode/rate check (#532)
* Encoder mode/rate check

* Tweak

Co-authored-by: Redzic <yusufredzic@gmail.com>
2022-01-16 04:28:37 +00:00
redzic b54b1f713b
Call fix_path for mkvmerge concat (#533)
* Call fix_path for mkvmerge concat

* Fix formatting
2022-01-16 00:25:20 +00:00
redzic a3eea86652
Fix mkvmerge concat (#523) 2022-01-11 06:17:46 +00:00
KesavaViswanadha 66c82051c9
Fixed mkvmerge on windows by allowing for commands over 32767 characters to be executed. (#521)
* Fixed mkvmerge on windows by allowing for commands over 32767 characters to be executed.

* Fix formatting

* Fix errors

* Fix clippy warnings

Co-authored-by: Kesava Viswanadha <kviswanadha@berkeley.edu>
Co-authored-by: Redzic <yusufredzic@gmail.com>
2022-01-09 00:59:23 +00:00
redzic 38c1db6c0d
Display possible vspipe errors when ffmpeg pipe is present (#519)
* Display possible errors vspipe when ffmpeg pipe is present

* Fix clippy warnings
2022-01-07 23:03:39 +00:00
Zen 3efa46d0f4 Update preview screenshot, again 2022-01-07 07:18:00 +02:00
Zen bfd28eb2b7 new av1an preview 2022-01-06 18:11:34 +02:00
nusu-github 5d6fc9b773
Fixed a typo [enocoder => encoder] (#517) 2022-01-06 14:14:56 +00:00
Josh Holmer 6ab07aa7f0
Fix av1an versions in root cargo toml (#515) 2022-01-06 02:06:47 +00:00
Zen 7bb1b47eaa 0..3.0 2022-01-06 02:49:36 +02:00
Josh Holmer d7c3db84ca
Pre release changes (#511)
* Use latest indicatif release

* Fix some clippy lints

* Also validate formatting and warnings in CI

* Minor dependency updates

* Do not show '/0' frames if we haven't computed frame count yet
2022-01-05 03:48:35 +00:00
Zen dbab61d622 add langrange interpolation 2022-01-04 17:28:35 +02:00
redzic 1b27ef7e28
Remove ctrlc dependency (#509)
* Remove ctrlc dependency

* Update other dependencies
2022-01-04 10:23:00 +00:00
redzic 8f7ca56611
Remove some unnecessary allocations (#507) 2022-01-03 23:32:37 +00:00
Josh Holmer ff0abb01b3 Always run CI so that we can merge all PRs 2022-01-03 17:21:16 -05:00
Josh Holmer cd9f33ed41 Only assign us to stable PRs if there is a conflict 2022-01-03 17:21:16 -05:00
redzic d752884242
Fix mkvmerge resuming (#504) 2022-01-03 21:25:39 +00:00
Zen e1dee5adfa
Correct and simplify tiles calculation (#500)
* correct and simplify tiles calculation

* Use integer log2

Co-authored-by: Redzic <yusufredzic@gmail.com>
2022-01-03 21:01:43 +00:00
redzic d3687328b9
Escape commas in escape_path_in_filter (#495) 2022-01-03 20:48:45 +00:00
Zen a9c321c99a
Automatic tiling for default settings (#498) 2022-01-03 19:47:31 +00:00
Josh Holmer bd2f9456d1
Fix several TODOs (#496)
* Return results instead of panicking in Input methods

* Remove an already-completed TODO

* Move done file init to initialize
2022-01-02 19:28:01 +00:00
Josh Holmer dc2d3ebdab
Add a CLI option for changing chunk order (#493)
People have been requesting this because the default chunk order tends
to skew toward underestimating the final filesize. Longest first is kept
as the default because it provides the best performance.
2022-01-02 05:49:47 +00:00
Josh Holmer b8397b5a19
Move photon-noise to ENCODING header (#491)
This was missed during the rebase between the photon-noise and clap v3
PRs.
2022-01-02 02:34:36 +00:00
redzic 214adba05b
Migration to clap-v3 (#487) 2022-01-02 01:55:11 +00:00
Josh Holmer 03244e0877
Add option to generate film grain tables for aomenc (#485) 2022-01-01 21:13:03 +00:00
redzic 14a2b2e09c
Reduce length of mkvmerge command (#482)
* Reduce length of mkvmerge command

* Canonicalize encode_dir
2022-01-01 00:04:08 +00:00
redzic bdb983e884
Update indicatif and other dependencies (#483) 2021-12-31 22:42:14 +00:00
Zen 1ce56149af
Remove aom/vp9 min/max kf distance (#480) 2021-12-31 20:48:12 +00:00
Josh Holmer 78b3395dda
Fix more clippy lints (#476) 2021-12-29 20:30:10 +00:00
redzic fb3f38fab7
Remove overhead at the start and in between scene detection and encoding (#473)
This commit mainly changes the behavior in 2 ways:

1. We now get the frame count and do scene detection in parallel. Initially, only the number of processed frames are shown, and the percentage stays at 100%, and the total frame count is 0. When the actual frame count is available, the progress bar is updated to reflect that. This can help I/O bound situations where the source is very large and the frame count takes a long time to calculate.
2. We also generate the vapoursynth cache in parallel with the scene detection and calculating the frame count. This eliminates the pause between scene detection and actual encoding (if vspipe finishes generating the cache in time, which will be the case 99% of the time, and it will still reduce the overhead in the very unlikely case that it hasn't finished yet).

Also fixes bug where vapoursynth input wouldn't work if you specified anything other than lsmash or ffms2 for the chunk method.
2021-12-25 07:34:06 +00:00
Josh Holmer a9f3fb266e
Regular dependency upgrades (#471) 2021-12-25 03:24:18 +00:00
redzic 7d729a7626
Add more info to --help (#469) 2021-12-24 01:47:59 +00:00
redzic 2519535b6f
Fix vmaf plotting (#467) 2021-12-23 22:05:07 +00:00
Josh Holmer e85a4bc38f
Bump av-ivf to 0.2.3 (#464)
av-ivf was updated to nom 7. This removes several duplicate versions of
dependencies, reducing the total number of dependencies for av1an by 7.
2021-12-22 05:51:35 +00:00
redzic 702e73f724
Automatically set one-pass mode if --rt was specified (#462) 2021-12-22 05:09:25 +00:00