Live data from Hacker News

OBS Studio: Open-source software for video recording and live streaming

obsproject.com

161–170 of 371 posts

Re: OBS Studio: Open-source software for video recording and live streaming

#161

Earlier quoted context omitted.

Take a look at wlroots [0] for a library that massively simplifies the task of writing a wayland compositor. It also gives many of those lower level things "for free". For an even higher-level API built on top of wlroots, you can look at wltrunk [1]. There are standard APIs for screenshots and screencapture, implemented through the desktop portal and pipewire. Check the top-level post for more info about this -- it's…

> There are standard APIs for screenshots and screencapture What standard? Does anyone track how compliant the existing compositors are with the standard?

The standard is the desktop portal. The top-level post has a list of backend implementations. The readme in the main daemon has the same list: https://github.com/flatpak/xdg-desktop-portal#using-portals

Re: OBS Studio: Open-source software for video recording and live streaming

#162
post #71
post #35

If you are looking for a more robust solution Streamlabs OBS[1] is more popular in the livestreaming community, it's OBS on steroids. It is also open source, and just released a beta on Mac like this week. [1]: https://streamlabs.com/

Can you elaborate on what makes it more robust?

It's still in beta, so it's not actually better yet. I tried it out for a week and it didn't work out. After about 30 minutes of streaming, my dropped frames went up to 90%, despite my connection being strong. OBS never had a problem with this.

Re: OBS Studio: Open-source software for video recording and live streaming

#163
post #99

Earlier quoted context omitted.

> I can't fathom how anyone puts up with X. https://en.wikipedia.org/wiki/Stockholm_syndrome

I use ssh -X multiple times per week in general. Wayland in itself does not provide something equivalent.

Keep an eye on the waypipe project for the equivalent functionality: https://gitlab.freedesktop.org/mstoeckl/waypipe/

Re: OBS Studio: Open-source software for video recording and live streaming

#164
post #57

Earlier quoted context omitted.

Which OS are you using?

Not OP but I can say that on Windows it may require a lot of fiddling. Hardware drivers appear to be a big factor. Another concern is the many overlays that accompany game launchers and drivers, including: Nvidia, Steam, GOG, etc. These add latency and sometimes private notifications.

The fiddling step was what I hoped to minimize. Did you have better luck with Linux or MacOS?

Re: OBS Studio: Open-source software for video recording and live streaming

#165
post #54

Earlier quoted context omitted.

Same reason systemd exists, the previous solutions were old and clunky and some people got fed up and decided to update. Plus some good old NIH. People who were dealing just fine with previous solutions then start complaining about breaking things for the sake of breaking things and not being able to do things the way they were used to. In the specific case of Xorg I find the situation strange because I'd gladly have…

Is it possible to use XWayland for X forwarding? I've used X forwarding on macos with no problems, using XQuartz.

Yes, XWayland is architecturally very similar to XQuartz.

Re: OBS Studio: Open-source software for video recording and live streaming

#166

Earlier quoted context omitted.

I use ssh -X multiple times per week in general. Wayland in itself does not provide something equivalent.

Keep an eye on the waypipe project for the equivalent functionality: https://gitlab.freedesktop.org/mstoeckl/waypipe/

I don't think any solution based on video streaming can ever match what X11 provides, which is, remote apps use the settings of the client computer for rendering. e.g. with ssh -X, if I set my dpi in my .Xresources, no matter the machine to which I'm ssh'ing to, I'm always getting a correct font size for my local screen.

Re: OBS Studio: Open-source software for video recording and live streaming

#167
I've been using OBS for a couple months for live streams on YouTube (see https://www.jeffgeerling.com/blog/2020/ansible-101-jeff-geer...), and I have had rock-solid reliability, using an external mic interface, an external camera (displayed PIP), and sharing one of two displays during some instructional sessions.

One thing to keep in mind, though—unless you have a dedicated video card, and it's supported by OBS (the list of supported cards on macOS is very thin), your CPU has to do all the compositing and compression, meaning you need a lot of CPU to be able to manage the streaming.

On my 2016 MacBook Pro 13", it barely has the horsepower to do a stream and also run processes that I'm explaining (e.g. manage some VMs, run some database operations, etc.). I had to turn down the compression method to 'ultrafast', which is lowest quality (but still pretty good with 1080p output), and I also use SwitchResX to set my shared display at 1080p 1x resolution (instead of 4K/2x resolution).

Re: OBS Studio: Open-source software for video recording and live streaming

#169
post #124

OBS is amazing. Half our faculty just went all-out and spent thousands of dollars on some commercial screen recording software. Meanwhile I'm doing my online courses with OBS, and it works beautifully. I have multiple scenes set up in OBS that grab different parts of my screens, and I switch between them with simple key strokes, while narrating on my actions as I do them. It's a very simple, and very effective setup,…

By chance, do you know what software your faculty purchased?

Probably any of the education-specific tools that are maintained similar to enterprise software platforms, where they add 'online video tutoring' capabilities to check off a feature/table-stakes box, but it has a painful UI that makes OBS look like a dream to use, and adds an extra few thousand dollars to the school's bill every year.

Re: OBS Studio: Open-source software for video recording and live streaming

#170

Earlier quoted context omitted.

> So it breaks the entire linux philosophy of using input and output streams to pipe data between different modular applications? Not really. To use your analogy, the way that X works - every application being able to read the framebuffer of any other - is the equivalent of every application running as root and being able to read and modify any file on the system. When you consider that applications running under Way…

Maybe a stupid question, but can't any program read the memory of other programs from the same user? Can't you attach to it for debugging?

Not necessarily. Newer Linux distros have ptrace disabled on all non-child processes. You can still turn off this protection if you need to.
Post reply on HN