/av1an-dirwatch-docker

Primary LanguageDockerfileMIT LicenseMIT

Docker Pulls MIT license

What's this?

It will watch directory, and run av1an if it sees a file there.

How to use

Run interactively, watching /opt/in directory, outputting to /opt/out, using faster encoder

docker run --rm -it -v "/opt/in:/home/user/in" -v "/opt/out:/home/user/out" varnav/av1an-dirwatch -enc svt_av1 -v "-enc-mode 3" -a "-c:a libopus -b:a 96k"

Run as daemon

docker run -d --name optimize-images -v "/opt/in/:/home/user/in" -v "/opt/out/:/home/user/out" --restart on-failure:10 --network none --security-opt no-new-privileges varnav/av1an-dirwatch

Known issues

Will not work under WSL2 because of this.

TODO

  • Multistage build to make smaller image