Live data from Hacker News

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

obsproject.com

281–290 of 371 posts

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

#281

Can't manage to record my desktop, only get a black screen instead. Can't manage to find a fix, even 3 years latter while not being the only one... I know it's free... Still, to me, after couple years of sponsorship it should have fixed itself... (specially with hardware as common as mine.)

This is a common problem with laptops due to the multi-GPU power saving setup most laptops have, we have a thread at https://obsproject.com/forum/threads/laptop-black-screen-whe... which explains how to fix it.

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

#283

Earlier quoted context omitted.

ManyCam is an option, though I'm not really sure how reliable/performant.

You can try out the free version, seems ok. I was worried about it being sketchy, but it looks like it's from a team in Canada.

>I was worried about it being sketchy,

It's not sketchy, it's just aimed at, well, pro cammers. Or at least used to be.

Now that we're all camming, we're all in the target audience.

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

#284

Earlier quoted context omitted.

The screen tearing isn't caused by X. It's a faulty video driver.

You had decades to fix the faulty video drivers for X11.... Meanwhile they work on Wayland since day one.

Vendors with closed source drivers had decades to fix.

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

#285
post #230
post #193

I randomly learned OBS a while ago for doing some twitch streams in the evenings. I'm so glad I did. I run a 6,000 people company during the day and have OBS setup to push into Google Meet. I've done townhall with live on-screen Q/A voting, hosted podcast discussions, done PIP product reviews. I use its video record feature to react to figma prototypes and post the MP4s in the respective channel for discussion. OBS i…

Can you recommend any resources for learning OBS? My daughter wanted to record some videos of her playing a web-based game. I found the interface to OBS unintuitive. I managed to figure out how to capture a specific area on the desktop, but it was unexpectedly difficult to resize the output to match the input. I found some way of doing it that I can't remember. A few months later I had to do it again and that time I…

try obs streamlabs or twitch studio - they're a lot more beginner friendly and built with OBS if your daughter just wants to record or stream.

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

#286

Earlier quoted context omitted.

Lies.

We found the Nvidia fanboy.

Debian 11, AMD RX560, KDE on X, FreeSync on and working, screen tearing appears in landscape orientation and isn't there in portrait. If that's the driver problem, then show me any reason it works fine on the same buffer size.

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

#287

Earlier quoted context omitted.

wayland is mega broken on HiDPI. Or at least apps are broken on wayland on HiDPI. Very sad

I am currently running Gnome in wayland and multiple displays with different fractional scaling settings, it works fine. On the other hand in Xorg I can't set different scaling factor for each monitor (at least gnome doesn't allow it), neither can I use fractional scaling.

That's GDM's fault, although XRandr doesn't make it any easier to implement.

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

#288
post #264

Earlier quoted context omitted.

>But KDE, GNOME, Enlightenment, etc. don't use it, so each of those have to implement things separately. I am not sure how this is relevant if you're trying to write your own compositor. If those projects want to create extra work for themselves, that's on them. >the screenshot API just has a way to request a screenshot, it doesn't have a way to specify that you would like to select a window, region, or display/scree…

> I am not sure how this is relevant if you're trying to write your own compositor. If those projects want to create extra work for themselves, that's on them. I'm actually more concerned about the fact that wlroots has/had to duplicate work done by Gnome and KDE (wlroots is more recent than much of gnome and kde's wayland support). > Yes, that's on purpose. What's supposed to happen is that the portal daemon (NOT th…

>I'm actually more concerned about the fact that wlroots has/had to duplicate work done by Gnome and KDE

I don't think so, GNOME and KDE have never had the goal of making a reusable and generic compositor library like wlroots. You can try to build something with their internal compositor libraries (libmutter or kwayland) but they probably won't be as nice.

>The problem is that each compositor has to implement it's own screenshot dialog, and you _have_ to go through that dialog for that compositor.

This is on purpose and it's not the problem. It's the only way to do it securely. The problem is that you are trying to perform a privileged operation, which is the only way that something like flameshot can even work. Allowing random unprivileged programs to scrape your screen without confirmation is how you get trojans and other spyware. It's not worth adding more APIs to the portal just to support this because it's intended to be a secure API that can be accessed from within sandboxed applications.

Sure there are other tools on X but unfortunately none of those options are secure either.

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

#290

Earlier quoted context omitted.

I'm doing something similar on Linux, although a bit more complicated. I'm using v4l2loopback [0] to create a dummy video device, ffmpeg to create a stream endpoint that streams into the dummy video device, then setting up OBS to stream to localhost. It is actually really nice to have the capability to fully control what is going in to the video input. I haven't run into a need to also change the audio input yet but…

Could you detail on how you are creating the ffmpeg streaming endpoint? That would be very heplful!

Personally, the command I use is this:

  # Replace `/dev/video2` with the dummy video device added by `l4v2loopback`.
  ffmpeg -re -listen 1 -i rtmp://127.0.0.1:5050/ -c:v rawvideo -an -pix_fmt yuv420p -f v4l2 /dev/video2

After starting ffmpeg, you set up OBS to stream to a custom streaming server at`rtmp://127.0.0.1:5050` and start streaming.

It's not very efficient and there's a delay since OBS is encoding with h264 then ffmpeg is decoding that. It's not too bad for me because I can use the NVENC encoder but I'm sure there's a way to get OBS to stream raw video somehow.

Post reply on HN