changed codec to VP9 and fixed ffmpeg cmd

This commit is contained in:
Quentin Roussel
2024-08-18 20:26:45 +08:00
parent b9a6b4e3f0
commit 4f81509799
4 changed files with 12 additions and 9 deletions

View File

@@ -5,21 +5,27 @@ DEBUG_OUTPUT_DIR = $(PWD)/out
build:
docker build . -t $(APP_NAME)
debug:build
mkdir -p $(OUTPUT_DIR)
clean:
docker stop $(APP_NAME)
docker rm $(APP_NAME)
debug: clean build
mkdir -p $(DEBUG_OUTPUT_DIR)
mkdir -p $(PWD)/images/raw
mkdir -p $(PWD)/images/final
docker run \
-it \
--mount type=bind,source=$(PWD)/images,target=/home/node/app/images \
--mount type=bind,source=$(DEBUG_OUTPUT_DIR),target=/home/node/app/out \
--name $(APP_NAME) \
$(APP_NAME)
run:build
run: clean build
mkdir -p $(OUTPUT_DIR)
docker run \
-d \
--mount type=bind,source=$(OUTPUT_DIR),target=/home/node/app/out \
--name $(APP_NAME) \
$(APP_NAME)
.PHONY: build debug run
.PHONY: build debug run clean