Skip to content

Instantly share code, notes, and snippets.

RTMP to Discord stream (GoLive) conversion

Overview

This guide sets up nginx to convert a RTMP stream to HLS, which then can be opened in browsers. Discord can then take advantage of Chromium's tab sharing feature to stream the HLS stream. Only a few seconds of latency are added, which is acceptable for most applications.

Note: If your goal is to just get audio streaming working on Linux, this guide might be helpful (It results in lower FPS for me, however):

We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
#,Item,Theme[0],Theme[1],,Material[0],Amount[0],Material[1],Amount[1],Material[2],Amount[2],Material[3],Amount[3],LevelReq,CraftingTime,Value
0,"","","",0,"Island Palm Leaf",0,"Island Palm Leaf",0,"Island Palm Leaf",0,"Island Palm Leaf",0,0,0,0
1,"Isleworks Potion","Concoctions","",0,"Island Palm Leaf",2,"Islewort",2,"Island Palm Leaf",0,"Island Palm Leaf",0,1,4,28
2,"Isleworks Firesand","Concoctions","Unburied Treasures",0,"Island Sand",2,"Island Limestone",1,"Islewort",1,"Island Palm Leaf",0,1,4,28
3,"Isleworks Wooden Chair","Furnishings","Woodworks",0,"Island Log",4,"Island Vine",2,"Island Palm Leaf",0,"Island Palm Leaf",0,1,6,42
4,"Isleworks Grilled Clam","Foodstuffs","Marine Merchandise",0,"Island Clam",2,"Island Laver",2,"Island Palm Leaf",0,"Island Palm Leaf",0,1,4,28
5,"Isleworks Necklace","Accessories","Woodworks",0,"Island Branch",3,"Island Vine",1,"Island Palm Leaf",0,"Island Palm Leaf",0,1,4,28
6,"Isleworks Coral Ring","Accessories","Marine Merchandise",0,"Island Coral",3,"Island Vine",3,"I
# Scores Mudfish "advanced mode" nodes since the built-in tool isn't very useful.
# Run with: scrapy runspider mudfish.py
import json
import re
import scrapy
srcIp = "110.175.213.58"
destIp = "124.150.157.158"
srcCountry = "AU"

Mount Rokkon: How to not get hit by wind sprites

YouTube link: https://www.youtube.com/watch?v=3HItOmXk0AA

The rest of this document is simply a note to myself on how I made the video

Analysis and image generation

analysis.nb is a Mathematica notebook for analysing the wind sprite patterns and exporting SVGs of them (stills-*.svg for the slideshow images, frames/%04d.svg for the timeline animation)

@kotarou3
kotarou3 / README.md
Last active March 24, 2024 12:50
Multi-extruder FDM 3D printer comparison

Multi-extruder FDM 3D printer comparison

Includes:

  • Non-IDEX, IDEX (independent extruders), and toolchanger printers
  • Some single extruder printers for reference
  • Prices generally under US$10k (though some more expensive ones are included for "fun")

Notes:

  • Values taken from marketing material - no guarantees if they actually reach
@kotarou3
kotarou3 / pelican-cases.csv
Created March 29, 2024 21:28
Internal dimensions of Pelican cases in a convenient table and diagram
Model L (mm) W (mm) H (mm)
1010 111 73 43
1015 131 67 35
1020 135 90 43
1050 160 93 70
1030 162 67 52
1040 165 98 44
1120 185 121 85
1060 210 108 57
1150 211 147 95