15 lines
453 B
Bash
Executable file
15 lines
453 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
ffmpeg \
|
|
-s 1280x720 \
|
|
-framerate '30' \
|
|
-f rawvideo \
|
|
-pix_fmt rgb24 \
|
|
-i /dev/zero \
|
|
-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 \
|
|
-clock_video true \
|
|
-clock_audio true \
|
|
-y TEST
|