From bff9ceae7f42723f939f620f9ef9faebca966742 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 29 Oct 2022 07:32:19 -0400 Subject: stream testing --- README.org | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index d5df01d..b4f6a13 100644 --- a/README.org +++ b/README.org @@ -22,7 +22,7 @@ Goal: - [X] Add SSH key - [X] Add as remote - [X] Push to the wiki -- [ ] Have the changes show up automatically +- [X] Have the changes show up automatically - [X] Have ansible copy the SSH key file:/docker:emacsconf-front:/home/ikiwiki/emacsconf.setup @@ -144,20 +144,26 @@ ansible-playbook -i inventory.yml prod-playbook.yml --tags proxy --extra-vars='{ /ssh:media|sudo:upload@media:~upload /ssh:media|sudo::/etc/nginx/sites-available * Stream - +** Prod Setting up icecast: ansible-playbook -i inventory.yml prod-playbook.yml --tags stream -Test with a file: -ansible-playbook -i inventory.yml prod-playbook.yml --tags test-stream-file -e icecast_test=~/code/emacsconf-2021-emacs-news-highlights/full.webm -e icecast_test_track=dev + +** Testing + +Runs the ffmpeg command on res + +ansible-playbook -i inventory.yml prod-playbook.yml --tags test -e icecast_test_file=/home/orga/test.webm -e icecast_test=file -e icecast_test_track=dev Play the stream with MPV: -ansible-playbook -i inventory.yml prod-playbook.yml --tags test-stream-mpv -e icecast_test_track=dev -e test=mpv +ansible-playbook -i inventory.yml prod-playbook.yml --tags test -e icecast_test_track=dev -e icecast_test=mpv + +Use a test pattern (don't know if this works) -ansible-playbook -i inventory.yml prod-playbook.yml --tags test-stream-pattern -e icecast_test_track=dev -e test=pattern +ansible-playbook -i inventory.yml prod-playbook.yml --tags test -e icecast_test_track=dev -e icecast_test=pattern * Captioning Set up whisper -- cgit v1.2.3