From d9564a8c38e9fa1844b5d29e6b5a894352c2bdcf Mon Sep 17 00:00:00 2001 From: Mathias Koehler Date: Sat, 29 Apr 2023 15:44:29 +0200 Subject: [PATCH] Add clock_source since we are generating the video feed --- testvideo.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/testvideo.sh b/testvideo.sh index b06ce81..a873a5a 100755 --- a/testvideo.sh +++ b/testvideo.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -~/ndi/ffmpeg/ffmpeg \ +ffmpeg \ -s 1280x720 \ -framerate '30' \ -f rawvideo \ @@ -9,4 +9,6 @@ -vf "drawbox=enable='mod(n,2)':w=iw:h=ih:c=green:t=ih*0.02,drawbox=enable='not(mod(n,2))':w=iw:h=ih:c=blue:t=ih*0.02,drawtext=text='':timecode='00\:00\:00\:00':rate=30000/1000:x=(w-tw)/2:y=h-(h-th)/2:fontcolor=white:fontsize=90:box=0" \ -pix_fmt uyvy422 \ -f libndi_newtek \ - -y video1 + -clock_video true \ + -clock_audio true \ + -y TEST