💾 Archived View for bbs.geminispace.org › u › norayr › 16812 captured on 2024-08-25 at 08:18:27. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-08-18)
-=-=-=-=-=-=-
Re: "Showing my script "gemlogssh" in action with an old-school..."
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
May 11 · 3 months ago
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?
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!
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.
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.)
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?
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.
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.
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.