commit 199ec48f48a515d12558f9cd257a992fc709803e Author: Hannes Braun Date: Thu Dec 29 16:07:04 2022 +0100 „Possible setup“ ändern diff --git a/Possible-setup.md b/Possible-setup.md new file mode 100644 index 0000000..2332110 --- /dev/null +++ b/Possible-setup.md @@ -0,0 +1,25 @@ +Use [Nijika](https://github.com/hannesbraun/nijika) for queueing up multiple encoding tasks. + +I recommend using a very recent version of ffmpeg and libaom-av1. My recommendation is to use the versions provided in [Alpine Linux Edge](https://wiki.alpinelinux.org/wiki/Edge). Install ffmpeg together with Python in a Docker container, so your actual host system doesn't matter. Here's a possible Dockerfile: + +```dockerfile +FROM alpine:edge + +RUN apk add --no-cache ffmpeg python3 +RUN python3 -m ensurepip +RUN pip3 install --no-cache --upgrade pip setuptools pyyaml +``` + +Now, create a wrapper script for executing a command inside a container created from this image. It may look something like this: +```sh +#!/bin/sh + +docker run --rm --net=none --mount=type=bind,source=/home/me/Movies,destination=/ay --workdir=/ay hav1w-env $@ +``` + +Place the hav1w script together with the presets and the command queue of Nijika inside the directory mounted into the Docker container. Then add a command like this to the queue: +```sh +sh wrap.sh python3 hav1w.py input.mkv output.mkv 5.1 +``` + +Neither this setup, nor this "guide" is perfect. But maybe it helps to get a good starting point :) \ No newline at end of file