From 0bf4e7433cc57e43f651e9483959f2b86d7dca14 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Mon, 28 Nov 2022 20:00:32 -0500 Subject: fallbacks --- 2022/organizers-notebook/index.org | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to '2022/organizers-notebook/index.org') diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org index 62c4ffd3..a851aeeb 100644 --- a/2022/organizers-notebook/index.org +++ b/2022/organizers-notebook/index.org @@ -168,17 +168,18 @@ SCHEDULED: <2022-11-28 Mon> :LOGBOOK: CLOCK: [2022-11-27 Sun 15:30] :END: - +**** Creating the files ffmpeg -y -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000 -loop 1 -r 20 -t 10 -i sorry.png -c:v libvpx -c:a libvorbis -color_primaries 1 -color_trc 1 -colorspace 1 -crf 30 -g 120 -minrate 1.5M -b:v 1500 -g 120 -maxrate 1.5M -cluster_time_limit 5100 -shortest sorry.webm - + +ffmpeg -y -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000 -loop 1 -r 20 -t 10 -i sorry.png -vf scale=854:480 -c:v libvpx -c:a libvorbis -color_primaries 1 -color_trc 1 -colorspace 1 -crf 30 -g 120 -minrate 1.5M -b:v 1500 -g 120 -maxrate 1.5M -cluster_time_limit 5100 -shortest sorry-480p.webm + icecast 2.4.4 Stream #0:0: Video: vp8, yuv420p(tv, bt709, progressive), 1280x720, SAR 1:1 DAR 16:9, 20 fps, 20 tbr, 1k tbn, 1k tbc (default) Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp (default) Okay. I can ffmpeg to /gen-sorry.webm with orga@live0:/usr/share/icecast2/web$ ffmpeg -r 20 -re -stream_loop -1 -i gen-fallback.webm -f webm -content_type video/webm -c:a copy -c:v copy icecast://emacsconf:$PASSWORD@localhost:8001/gen-sorry.webm - - +***** TODO [#C] Add test pattern to part of the screen ***** gen Input #0, matroska,webm, from 'http://live0.emacsconf.org:8001/gen.webm': @@ -200,7 +201,14 @@ Input #0, matroska,webm, from 'http://live0.emacsconf.org:8001/gen.webm': Duration: N/A, start: 19.473000, bitrate: N/A Stream #0:0: Video: vp8, yuv420p(tv, bt709, progressive), 1280x720, SAR 1:1 DAR 16:9, 20 fps, 20 tbr, 1k tbn, 1k tbc (default) Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp (default) - +**** DONE Create fallback for 480p as well +CLOSED: [2022-11-28 Mon 19:59] +:PROPERTIES: +:Effort: 0:30 +:END: +:LOGBOOK: +CLOCK: [2022-11-28 Mon 19:00]--[2022-11-28 Mon 19:59] => 0:59 +:END: **** DONE Create fallback video CLOSED: [2022-11-27 Sun 16:25] :LOGBOOK: -- cgit v1.2.3