NodeCoreMT Twitch: Difference between revisions
Jump to navigation
Jump to search
(Update burst tolerance settings) |
(Adjusted stream resolution and font sizes) |
||
Line 10: | Line 10: | ||
--memory 4g | --memory 4g | ||
--cpus 3 | --cpus 3 | ||
-e width=854 | |||
-e height=480 | |||
-e fps=24 | -e fps=24 | ||
-e vkeyint=24 | -e vkeyint=24 | ||
Line 15: | Line 17: | ||
-e vmaxrate=2M | -e vmaxrate=2M | ||
-e vmaxburst=2M | -e vmaxburst=2M | ||
-e vfilter="eq=gamma=1.15,drawtext='fontfile=/app/monogram.ttf:fontcolor=white:fontsize= | -e vfilter="eq=gamma=1.15,drawtext='fontfile=/app/monogram.ttf:fontcolor=white:fontsize=16:x=(w-text_w-4):y=(h-lh-4):shadowx=1:shadowy=1:alpha=0.5:text=%{gmtime\:%Y-%m-%d %H\\\\\:%M\\\\\:%SZ}',drawtext='fontfile=/app/monogram.ttf:fontcolor=white:fontsize=16:x=4:y=(h-lh-4):shadowx=1:shadowy=1:alpha=0.5:textfile=/app/notice.txt':reload=true" | ||
-v `pwd`/notice.txt:/app/notice.txt:ro | -v `pwd`/notice.txt:/app/notice.txt:ro | ||
-v `pwd`/minetest.conf:/app/minetest.conf:ro | -v `pwd`/minetest.conf:/app/minetest.conf:ro | ||
Line 28: | Line 30: | ||
font_shadow = 2 | font_shadow = 2 | ||
font_shadow_alpha = 192 | font_shadow_alpha = 192 | ||
font_size = | font_size = 20 | ||
fov = 72 | fov = 72 | ||
</nowiki> | </nowiki> |
Latest revision as of 16:00, 30 September 2022
A constant 24/7 livestream of gameplay on the NodeCore Community server.
https://www.twitch.tv/NodeCoreMT
The stream is run on a separate cloud VM than the world server itself (so the stream may be active even when the world is offline, or vice versa), using the setup from Video/Streaming Advice#Automated Streaming.
Config for minetestcast
--memory 4g --cpus 3 -e width=854 -e height=480 -e fps=24 -e vkeyint=24 -e vcrf=24 -e vmaxrate=2M -e vmaxburst=2M -e vfilter="eq=gamma=1.15,drawtext='fontfile=/app/monogram.ttf:fontcolor=white:fontsize=16:x=(w-text_w-4):y=(h-lh-4):shadowx=1:shadowy=1:alpha=0.5:text=%{gmtime\:%Y-%m-%d %H\\\\\:%M\\\\\:%SZ}',drawtext='fontfile=/app/monogram.ttf:fontcolor=white:fontsize=16:x=4:y=(h-lh-4):shadowx=1:shadowy=1:alpha=0.5:textfile=/app/notice.txt':reload=true" -v `pwd`/notice.txt:/app/notice.txt:ro -v `pwd`/minetest.conf:/app/minetest.conf:ro -v `pwd`/monogram.ttf:/app/monogram.ttf:ro
minetest.conf
display_gamma = 2 font_path = /app/monogram.ttf font_shadow = 2 font_shadow_alpha = 192 font_size = 20 fov = 72