From 53223d087634b2182d410b6e1e999986cb397ee3 Mon Sep 17 00:00:00 2001 From: Bruno Date: Mon, 7 Jun 2021 00:04:23 +0200 Subject: [PATCH] improved quality realtime recorder h264 --- Recorder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Recorder.cpp b/Recorder.cpp index f234620..2410bde 100644 --- a/Recorder.cpp +++ b/Recorder.cpp @@ -143,7 +143,7 @@ const std::vector VideoRecorder::profile_description { // fast (5) #ifndef APPLE // "video/x-raw, format=I420 ! x264enc pass=4 quantizer=26 speed-preset=3 threads=4 ! video/x-h264, profile=baseline ! h264parse ! ", - "video/x-raw, format=I420 ! x264enc tune=\"zerolatency\" threads=4 ! video/x-h264, profile=baseline ! h264parse ! ", + "video/x-raw, format=I420 ! x264enc tune=\"zerolatency\" pass=4 threads=4 ! video/x-h264, profile=baseline ! h264parse ! ", #else "video/x-raw, format=I420 ! vtenc_h264_hw realtime=1 allow-frame-reordering=0 ! h264parse ! ", #endif