Bun's Lab – Telegram
Bun's Lab
147 subscribers
1.81K photos
102 videos
63 files
49 links
Electronics projects, vintæg computing, programming and repairs. A minimalist blog of sorts.
@BunsGarden @BunsNook
Download Telegram
I've been using OBS to stream a bit in discord among friends.
I wanted to add the desktop of the lab PC as a video source, while using my laptop to actually stream to discord.


For that you need nginx as well as the rtmp plugin on the receiving machine:
apt install nginx libnginx-mod-rtmp


Edit /etc/nginx/nginx.conf and add the following section:
rtmp {
server {
listen 1935;
chunk_size 4096;
allow publish all;

application live {
live on;
record off;
}
}
}


Restart nginx and check if it's running and listening to the assigned port:
systemctl restart nginx
ss -antpl | grep 1935


You can then stream your desktop with just ffmpeg
ffmpeg -f x11grab -s 1920x1080 -i :0.0 \
-f flv rtmp://<Receiving_IP>/live/desktop


For OBS set up the stream as follows:
Settings -> Stream -> Custom
Server: rtmp://<Receiving_IP>/live
Stream Key: lab


Then set up your scene with XSHM or pipewire screenrecording and start the stream.

On the receiving end use VLC video source -> add -> path/url -> rtmp://localhost/live/lab
🤯1
Does anyone know of a camera streaming solution for Android that is not DroidCam?

Been using my phone as web cam through USB. But bumping the cable ever so slightly causes a disconnect and the stack to hang until I either reboot the phone or plug it into a charger and out again. That only works half the time though.
Me irl
💯2
7
💯3
8
I'm in a group of 7 transfems and we're arguing about C. I'm with my people 😂

Edit: now we're 9 transfems
❤‍🔥4🥰3
It me.

Last day of con. Will collect my puppy girl, my stuff, and say goodbye to all my friends
🥰126
Time to say goodbye

See you at GPN
🥰3
Happy new year everyone!

The bf and I caught the con crud. Had to cancel our NYE plans, which I was really looking forward to. We spent the night in bed, didn't even leave the house to watch the local fireworks.
When the hyper focus kicks the days before you gotta leave for a couple days
🤣4