summaryrefslogtreecommitdiffstats
path: root/roles/stream/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/stream/tasks/main.yml')
-rw-r--r--roles/stream/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/stream/tasks/main.yml b/roles/stream/tasks/main.yml
index 73040d6..b5ebcda 100644
--- a/roles/stream/tasks/main.yml
+++ b/roles/stream/tasks/main.yml
@@ -44,6 +44,9 @@
- name: Test by displaying the stream in mpv
tags: test-stream-mpv, never
local_action: shell mpv http://live0.emacsconf.org:{{ icecast_port }}/emacsconf/{{ icecast_test_track|d(gen) }}.webm
+- name: Test by streaming a test pattern
+ tags: test-stream-pattern, never
+ local_action: shell ffmpeg -loglevel 32 -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 -f webm icecast://emacsconf:{{ icecast_emacsconf_password }}@live0.emacsconf.org:{{ icecast_port }}/emacsconf/{{ icecast_test_track|d("gen") }}.webm
# - name: Set up restream script
# template:
# src: restream-yt.sh