Add clock_source since we are generating the video feed

This commit is contained in:
Mathias Koehler 2023-04-29 15:44:29 +02:00
parent a080b68a79
commit d9564a8c38
Signed by: interru
GPG key ID: E01E350F5E2A884A

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
~/ndi/ffmpeg/ffmpeg \ ffmpeg \
-s 1280x720 \ -s 1280x720 \
-framerate '30' \ -framerate '30' \
-f rawvideo \ -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" \ -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 \ -pix_fmt uyvy422 \
-f libndi_newtek \ -f libndi_newtek \
-y video1 -clock_video true \
-clock_audio true \
-y TEST