##
((( lounge music )))
(st -g 100x35)
## bitreich-tv - 2020-08-28
o
o /
\ /
\ /
+-----------------v----------------+
| ,----------------------. __ |
| | | / \ |
| | B I T R E I C H | \__/ |
| | _____ | ...... |
| | | \ / | ...... |
| | | \ / | |
| | | v | ====== |
| | | ====== |
| `----------------------` |
| stereo [_] |
+----------------------------------+
/ \
logo by 20h
## Memecache overview (1/4)
annna meme count (total on 2020-08-26: 4191)
4500 +-------------------------------------------------------------------+
| + + + + + MM |
4000 |-+ M +-|
| MMM |
3500 |-+ MM +-|
| MM |
3000 |-+ MMM +-|
| MM |
2500 |-+ MM +-|
| MMM |
2000 |-+ M +-|
| MM |
1500 |-+ M +-|
| MM |
1000 |-+ MMM +-|
| MMMM |
500 |-+ MMMM +-|
| +MMMMM*MMMMMMMMMMMMMMM*M*M + + |
0 +-------------------------------------------------------------------+
2018-12 2019-04 2019-08 2019-12 2020-04 2020-08 2020-12
16:30 < annna> I know 0x1040|0x10|(1<<3)|(1<<1)|0x6|0x1 memes:
gopher://adamsgaard.dk/0/pub/memecount
% in this corona curve we can see that we are still in the first wave.
% no signs of any flattening ahead
## Memecache overview (2/4)
annna meme growth (new memes per day)
1000 +-------------------------------------------------------------------+
|+ + + + + + +|
|+ +|
|+ M M +|
100 |-+ * M *M M M MM +-|
|+ * M* MMMMMM MM *MMMM +|
|+ * M* MMMMMMMMMMMMMMMMMM +|
10 |-+ M MM*MMMMMMM MMMMMMMMMMMM +-|
|+M M * MMMM MMMMMMM* M M MMMMMM*M +|
|+ MMMMM MM M M M M M*M* M MMMMMM * MM +|
|+ MM*M* M*MM*MMM MM*M*MMMMMM * M*M* M M * +|
1 |-+MMM*MMMMMMMMMM MMMMMMMMMM* M M M M +-|
|+ M MM **MMMMMM* *M*MM*MM*MM * +|
|+ M M* M M * M M M M* +|
0.1 |-+ M ** M +-|
|+ M +|
|+ +|
|+ + + + + + +|
0.01 +-------------------------------------------------------------------+
2018-12 2019-04 2019-08 2019-12 2020-04 2020-08 2020-12
% however, growth is linear at this point with an average of roughly 20 M/d
## Memecache overview (3/4)
+----- statistics (2020-08-26) ------+
| number of images: 2819 |
| number of movies: 1319 |
| average movie length: 113.0 s |
| total image viewing time: 3.9 h |
| (assuming 5 s per image) |
| total movie length: 41.4 h |
+------------------------------------+
## Memecache overview (4/4)
"Memes are opium for the people"
-- Karl Marx, on #meme-consumers
#pause
according to adc's logs and git://src.adamsgaard.dk/bitreich-memestats (not including annna):
* 581 of 4191 (14%) of memes have been mentioned more than once
* 124 of 4191 (4%) of memes have been mentioned more than three times
* Meme use has a positive feedback
#pause
>>>> MEME ENLIGHTENMENT <<<<
#pause
* See old memes and keep up to date on new memes with low user effort
* Watch videos and images as a/v-stream: bitreich-tv
## Non-video memes
images: sound: other:
52 .JPG 3 .mp3 1 .css
2 .PNG 2 .ogg 5 .pdf
35 .gif 4 .wav 2 .svg
1 .gifv 7 .txt
1 .ico 9 .vt
1485 .jpg 1 .vtt
31 .jpeg 2 .vtv
% no bmp memes yet
% ATM: only handle image and video files
#pause
brtv-imgs-to-video.sh
1. convert(1): scale image to fit 16:9, add padding if needed
2. ffmpeg(1): image -> 10 s video clip
## Transition slides
brtv-generate-title-slides.sh
1. convert(1): create image with logo and meme hashtag
2. ffmpeg(1): image -> 5 s video clip
## Beamâ„¢ memes to streaming server
* Synchronous meme enjoyment
* Inspired by Bitreich Radio
* Encode memes to common codec
* Stream all video clips in random order to server
* mkvserver_mk2 (fork of now-deprecated ffmpeg server component)
* vlc(1)
* icecast(1) (with blank fallback stream in same codec)
#pause
* Very unstable, dropped clients (even with large buffers)
#pause
* Encode one randomized 24h #long meme video for each day
## wait..
* Simple solutions
* Why duplicate and reencode?
* Let the client TCOB
* Gopher
% bitreich is promoting simple solutions
% encoding hours of media every day != simple
% gopher is the way to go, not icecast and friends
## Another approach
* mpv(1) supports .m3u and .pls playlists with gopher:// URIs
#pause
brtv-generate-playlist.sh:
Outputs playlists with title slides
* Videos hosted at bitreich.org/1/memecache
* Titles and img->video hosted at adamsgaard.dk/1/{title,img2vid}
#pause
brtv-playlist-to-m3u.sh:
brtv-playlist-to-pls.sh:
Convert playlist from stdin to .m3u/.pls, adds hashtag as metadata title to current video
## Examples
all.m3u:
sort -R "${annna}/modules/hashtags/hashtags.txt" | \
brtv-generate-playlist.sh | \
brtv-playlist-to-m3u.sh > all.m3u
#pause
corona.m3u:
grep -E "^#corona-" "${annna}/modules/hashtags/hashtags.txt" | \
sort -R | \
brtv-generate-playlist.sh | \
brtv-playlist-to-m3u.sh > corona.m3u
#pause
news.m3u:
(cd "${annna}" && git log --all --pretty="%s" --date=relative --since="2 days ago") | \
grep 'Adding #' | sed 's/.* #/#/;s/ .*//' | \
while read -r tag; do
grep "$tag" "${annna}/${tagfile}" | head -1
done | \
sort -R | \
brtv-generate-playlist.sh | \
brtv-playlist-to-m3u.sh > news.m3u
## Source
Playlists generated with hourly cron job at adamsgaard.dk
All code references to:
git://src.adamsgaard.dk/bitreich-tv
gopher://adamsgaard.dk/1/src/bitreich-tv/ (stagit-gopher)
Send patches and ideas: adc /
[email protected]
##
gopher://bitreich.org/1/tv
| o
| o /
| \ /
| \ /
| +-------------v--------------------+
| | ,----------------------. __ |
| | | | / \ |
| | | B I T R E I C H | \__/ |
| | | _____ | ...... |
| | | | \ / | ...... |
| | | | \ / | |
| | | | v | ====== |
| | | | ====== |
| | `----------------------` |
| | stereo [_] |
| +----------------------------------+
| / \
|
|Welcome to the first TV channel on Gopherspace!
|
|Please see our different channels with its varieties of content, to make
|you happy and give you pleasure at the same time.
|
|The playlists are best viewed using mpv(1), mplayer(1), vlc(1) or any
|ffmpeg-based player. There the developers at bitreich added gopher
|support for better gopher media experience.
|
Binf+ News
|
...
## Channels
#bitreich-tv @ bitreich IRC
*
gopher://adamsgaard.dk/9/news.m3u
*
gopher://adamsgaard.dk/9/all.m3u
*
gopher://adamsgaard.dk/9/bitreich.m3u
*
gopher://adamsgaard.dk/9/gopher.m3u
*
gopher://adamsgaard.dk/9/corona.m3u
*
gopher://adamsgaard.dk/9/slav.m3u
more ideas?
## Fin
"Turn on bitreich-tv, tune in, drop out"
-- Timothy Leary
Thanks: 20h, everyone who was patient