-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Showing my script "gemlogssh" in action with an old-school video


I've just published the video in my Mastodon account. The script helps me to manage posts in my Gemini capsule, served with Agate, trough SSH.

For the show, I used OBS to screecast a Cool Retro Term screen over an image of an Amstrad PC W512 monitor.


https://mstdn.mx/@leoperbo/112402818354925875


โ˜ฏ๏ธ leoperbo

May 08 ยท 12 days ago ยท ๐Ÿ‘ norayr, chirale


16 Comments โ†“


๐Ÿš€ stack ยท May 08 at 02:57:

Very nice. My first visit to Mastodon - maybe it's not so bad...


๐Ÿ’€ requiem ยท May 08 at 14:22:

This is really nice. I have been thinking about something similar for mine, SSH is a nice touch. Is there GitHub repo somewhere?


๐Ÿ™ norayr ยท May 08 at 15:47:

i am glad i was able to replace obs with simple ffmpeg script. will link it from computer.


โ˜ฏ๏ธ leoperbo [OP] ยท May 08 at 17:45:

I have a git in Codeberg for gemlogssh:


โ€” https://codeberg.org/leoperbo/gemlogssh


It's in spanish and could present a lot of "bad practices" because I do not have professional training in the IT area (just amateur).


๐Ÿš€ stack ยท May 08 at 20:42:

Forgive me for quoting myself yet again:

โ€” tilde.cafe/~stack/gemlog/2021-11-04-keep-gemini-amateur.gmi

...So-called "professionals" want you to think amateur implies "inferior" - that is how they get to charge you money. Amateurs do it for love, not money. I am proud to be an amateur in the Gemini community.


๐Ÿš€ chirale ยท May 09 at 17:48:

I stumbled upon CRT the other day and was thinking how it could stay on Lagrange in reading. I get here and someone has already implemented something similar. ๐Ÿ”


๐Ÿ™ norayr ยท May 11 at 14:38:

promised script to stream:


KEY=yourkey
ffmpeg \
-f x11grab -r 30 -s 1920x1080 -i :0.0+0,0 \
-f jack -i ffmpeg \
-c:v libx264 -preset ultrafast -c:a aac \
-f flv "rtmp://yourpeertube.org:1935/live/${KEY}" | grep -v rtmp

๐Ÿ™ norayr ยท May 11 at 14:38:

i take sound from jack. same should work for youtube and twitch too, not only for peertube.


โ˜ฏ๏ธ leoperbo [OP] ยท May 11 at 18:06:

Nice! I played with ffmpeg and cvlc years ago, when I was trying to make a script for fast-start recordings with a keybind. Making scenes with layers is too much for my limited knowledge and time, so, I take advantage of OBS... Have you tried making a multi-layered script that includes cameras and images?


๐Ÿš€ stack ยท May 11 at 18:12:

For extra credit, maybe someone can figure out how to alpha-composite the edges of the screen image, or at least a non-rectangular masks!


๐Ÿ™ norayr ยท May 12 at 01:17:

heh, instead of scene with a camera i just do mplayer which plays from the webcam.

i actually decided to use ffmpeg instead of obs because obs was putting video on the screen without window decorator and title bar. and it looked inconsistent. so i decided to play stream with mplayer.

โ€” now it looks like this.

btw the video stream comes from canon 6d, which was not supported by canon official software which helps to use camera as a webcam, but gphoto2 can do that.)


๐Ÿ™ norayr ยท May 12 at 01:18:

to be fair i need to say that during covid i think canon not only released its software which makes it possible to use some cameras as web cams, but also released an update which if i am not mistaken supported my old and outdated camera.


โ˜ฏ๏ธ leoperbo [OP] ยท May 12 at 16:37:

The abscense of window decorator "issue" made posible the video which starts this thread ๐Ÿ˜…


Your video is from your entire desktop, isn't it? OBS allows you to generate scenes by putting content from different sources (windows, images, cameras, webcams, phones...) together, in the way you need them, like making a collage.


BTW, nice desktop, is it Enlightenment DE? or another implementation of GNUstep?


๐Ÿ™ norayr ยท May 14 at 21:58:

yes, for more complicated setups perhaps obs is more useful.

i just use windowmaker. (: enlightenment is heavy thing. windowmaker is lightweight and simple, but it can do everything.


๐Ÿ™ norayr ยท May 14 at 21:58:

well, not a full screen. i cut full hd resolution from my screen so bottom and right parts of the screen are not streamed.


โ˜ฏ๏ธ leoperbo [OP] ยท May 14 at 23:26:

I remember that windowmaker was one of the softwares which pulled me to the FLOSS world. My first aproach was by testing alternative interfaces in 1999, with Litestep, when I used Windows mostly but I was jealous of the GNU Linux interfaces, a lot of them over windowmaker.

-- Response ended

-- Page fetched on Mon May 20 11:46:32 2024