summaryrefslogtreecommitdiffstats
path: root/2022/organizers-notebook
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--2022/organizers-notebook.md56
-rw-r--r--2022/organizers-notebook/index.org18
2 files changed, 55 insertions, 19 deletions
diff --git a/2022/organizers-notebook.md b/2022/organizers-notebook.md
index 5e13a370..16ca48d7 100644
--- a/2022/organizers-notebook.md
+++ b/2022/organizers-notebook.md
@@ -433,17 +433,22 @@ interests you!
### STARTED icecast fallback :derisk:sachac:
-ffmpeg -y -r 20 -t 3 -i sorry.png -f lavfi -i anullsrc=channel\_layout=stereo:sample\_rate=48000 -shortest -c:v vp8 -color\_primaries 1 -color\_trc 1 -colorspace 1 sorry.webm
+
+#### 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 vp8 icecast://https://emacsconf.org/2022/talks/$PASSWORD@localhost:8001/gen-sorry.webm
+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://https://emacsconf.org/2022/talks/$PASSWORD@localhost:8001/gen-sorry.webm
+
-if I stream to it and not gen, I see sorry using gen’s mount
-If I stream to gen, I see gen, but I need to refresh (mpv or Firefox)
+##### TODO Add test pattern to part of the screen
##### gen
@@ -470,16 +475,39 @@ Input #0, matroska,webm, from ’http://live0.emacsconf.org:8001/gen.webm&rs
Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp (default)
+#### DONE Create fallback for 480p as well
+
+
#### DONE Create fallback video
-#### TODO Add more ffmpeg options from the OBS profile to try to get them to match as closely as possible
+#### DONE Add more ffmpeg options from the OBS profile to try to get them to match as closely as possible
-#### TODO Detect fallback and reload the video player
+#### DONE Detect fallback and reload the video player
<https://stackoverflow.com/questions/36280764/audio-stops-playing-while-moving-to-fallback-mount-using-icecast#36332739>
+ // @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt txt CC0-1.0
+ // Copyright (c) 2022 Sacha Chua - CC0 Public Domain
+ var video = document.querySelector('video.reload');
+ if (video) {
+ var myVar = setInterval(reloadAsNeeded, 1000);
+ var oldTime = '';
+ function reloadAsNeeded() {
+ if ((video.paused != true && (video.currentTime - oldTime) == 0 && video.currentTime != 0)) {
+ var source = video.querySelector('source');
+ var oldVideo = source.src;
+ source.src = '';
+ source.src = oldVideo;
+ video.load();
+ video.play();
+ }
+ oldTime = video.currentTime;
+ };
+ }
+ // @license-end
+
### TODO Make sure things are okay for me to handle both streams :sachac:
@@ -519,7 +547,7 @@ can paste in <https://emacsconf.org/2022/qa/> for tips.
## Caption talks and make chapter headings
-### TODO Nudge volunteers to e-mail me captions by Dec 1 :mail:sachac:
+### DONE Nudge volunteers to e-mail me captions by Dec 1 :mail:sachac:
### DONE Copy chapter headings for mail talk :emacsconf:captions:
@@ -895,7 +923,7 @@ Try them in an Etherpad
### DONE Make a hyperlist for checking people in for easier copying and pasting
-### TODO Send FlowyCoder hyperlist for checking people in :mail:
+### DONE Send FlowyCoder hyperlist for checking people in :mail:
[Use Mumble for backchannel coordination and also on-stage](file:///home/sacha/proj/emacsconf/wiki/2022/organizers-notebook/index.md)
@@ -1773,7 +1801,7 @@ AM: 9-12 PM EST, PM: 1-5 PM EST (plus a little extra for setup/transition)
Saturday Dec 3
-<table id="orgaff52ba" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
+<table id="orge3c3e33" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@@ -1853,7 +1881,7 @@ publicvoit - pad until 4pm on Sat, until 2pm on Sun
Sunday Dec 4
-<table id="orgf1880ce" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
+<table id="orgd8bd5e3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@@ -2923,7 +2951,7 @@ Probably focus on grabbing the audio first and seeing what&rsquo;s worth keeping
Make a table of the form
-<table id="org2503e31" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
+<table id="orgfd89639" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@@ -3233,12 +3261,12 @@ mpv &#x2013;vf=negate $url
export SLUG=the ID of the talk
-- [TO\_STREAM -> PLAYING](#org1e12a03):stream:
+- [TO\_STREAM -> PLAYING](#org29019ab):stream:
- [CLOSED\_Q -> OPEN\_Q](#open)
- [OPEN\_Q -> TO\_ARCHIVE](#archive)
-<a id="org1e12a03"></a>
+<a id="org29019ab"></a>
### TO\_STREAM -> PLAYING :stream:
@@ -5671,7 +5699,7 @@ Sacha
### CANCELLED Draft e-mail to send speakers who may need to do it live
-### TODO Make sure IRC talks get BBB checkin information if they need to do it live :mail:
+### DONE Make sure IRC talks get BBB checkin information if they need to do it live :mail:
survey, orgyear, lspbridge, eev, python
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: