From e08a073d68e5c177d187e301b51c1affe9825d98 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Mon, 16 Jul 2018 22:04:34 +0200 Subject: [PATCH] Encode with YUV420P, to be more compatible --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d26b473..c6587650 100644 --- a/Dockerfile +++ b/Dockerfile @@ -931,7 +931,7 @@ ENV FIREFOX_VERSION="${FF_VER}" \ FIREFOX="true" \ MULTINODE="false" \ FFMPEG_FRAME_RATE=10 \ - FFMPEG_CODEC_ARGS="-crf 0 -preset ultrafast -qp 0" \ + FFMPEG_CODEC_ARGS="-crf 0 -preset ultrafast -qp 0 -pix_fmt yuv420p" \ FFMPEG_FINAL_CRF=0 \ FFMPEG_DRAW_MOUSE=1 \ VIDEO_TMP_FILE_EXTENSION="mkv" \ diff --git a/README.md b/README.md index cb1a8fe8..918a54d5 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ Once your tests are done you can either manually stop the recording via `docker Relevant up-to-date environment variables to customize it are at the Dockerfile, below a possibly outdated list of settings: FFMPEG_FRAME_RATE=10 - FFMPEG_CODEC_ARGS="-crf 0 -preset ultrafast -qp 0" + FFMPEG_CODEC_ARGS="-crf 0 -preset ultrafast -qp 0 -pix_fmt yuv420p" FFMPEG_FINAL_CRF=0 FFMPEG_DRAW_MOUSE=1 VIDEO_TMP_FILE_EXTENSION="mkv"