From 84a1358c9b1928bff141e987b558eccebd2358bb Mon Sep 17 00:00:00 2001 From: Olivier Berger Date: Sat, 2 May 2020 16:04:12 +0200 Subject: [PATCH] Proposed fix for audio recording issue (https://github.com/elgalu/docker-selenium/issues/147#issuecomment-613765353) --- video-rec/bin/start-video-rec.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video-rec/bin/start-video-rec.sh b/video-rec/bin/start-video-rec.sh index 887a99f6..1516cf34 100755 --- a/video-rec/bin/start-video-rec.sh +++ b/video-rec/bin/start-video-rec.sh @@ -62,11 +62,11 @@ if [ "${AUDIO}" == "true" ]; then -draw_mouse ${FFMPEG_DRAW_MOUSE} \ -r ${FFMPEG_FRAME_RATE} \ -f "x11grab" \ - -i "default" \ -i "${DISPLAY}.0" \ -f "pulse" \ + -i "default" \ ${FFMPEG_CODEC_VA_ARGS} \ - -y -an "${tmp_video_path}" 2>&1 & + -y "${tmp_video_path}" 2>&1 & else ffmpeg \ -s ${FFMPEG_FRAME_SIZE} \