GithubHelp home page GithubHelp logo

Comments (23)

marconett avatar marconett commented on August 22, 2024 1

Hmm, I'm not sure if #55 is related to this.

I have a 2018 MBP with an i9, so there shouldn't be a CPU bottleneck.
Output to console after I stop the virtualcam also doesn't show any lag frames, example:

info: Output 'virtualcam_output': Total frames output: 2556
info: Output 'virtualcam_output': Total drawn frames: 2558

OBS itself also runs fine and isn't choppy or anything, as well as output to QuickTime. I just now tested again with Chrome and that generally works fine as well (not choppy at all). A normal OBS recording to file also works quite normally.

from obs-mac-virtualcam.

marconett avatar marconett commented on August 22, 2024 1

I saw the that comment in the other thread too. I tried with both, no changes.

from obs-mac-virtualcam.

marconett avatar marconett commented on August 22, 2024 1

Huh. I played a bit with different OBS settings. I had FPS in Video Settings set to 60.

I decreased it to 30 and now Skype works fine! Skype probably just can't handle 60 fps input?

Thank you for the input though. Please feel free to close this issue if you want to.

from obs-mac-virtualcam.

gxalpha avatar gxalpha commented on August 22, 2024 1

@marconett Skype seems to have blocked DAL plugins now as well, could you check this conversation and report back?

from obs-mac-virtualcam.

marconett avatar marconett commented on August 22, 2024 1

I used sudo codesign --remove-signature /Applications/Skype.app/Contents/Frameworks/Skype\ Helper\ \\(Renderer\\).app and now the camera shows up. It's also not choppy anymore with OBS set to 60 fps!

from obs-mac-virtualcam.

gxalpha avatar gxalpha commented on August 22, 2024

To me it seems like this is an issue with your Skype then, not with the plugin.
Could you please add further information?

from obs-mac-virtualcam.

marconett avatar marconett commented on August 22, 2024

Sure, what do you need to know?

The problem does not occur when i use my Macbooks webcam directly with Skype.

from obs-mac-virtualcam.

marconett avatar marconett commented on August 22, 2024

I updated the original post with some additional information.

If there's anything else I can provide, let me know.

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

Related discussion in #55

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

What colorspace are you using in OBS? 601 or 709?
image

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

Ok cool, good to know. Then yeah I agree this is probably a separate issue from #55

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

Ooh great find! Yeah i think the DAL plugin advertises itself as 30 FPS, so if we told Skype to expect 30 FPS and then we send 60 FPS it's maybe not surprising Skype would be confused! Interesting!

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

I wonder what the right thing to do is here. Is there an easy way in OBS to convert between framerates like there is between pixel formats? Or maybe we just fix the advertising in the DAL plugin to properly expose whatever OBS is set to.

from obs-mac-virtualcam.

rjmunro avatar rjmunro commented on August 22, 2024

To me, fix the advertising in the DAL seems the obviously correct thing to do.

I always set OBS to 25FPS because that's what my cameras are set to, because I live in a PAL country.

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

Probably the next thing to try here would be to pass along the FPS with each frame, and the DAL plugin can adjust what it's advertising. I'm not sure if changing FPS mid stream is going to make Skype unhappy but it's worth a shot.

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

I implemented this in #148.

@marconett could you download this version and give it a try with 60fps and see if it improves things for you?

from obs-mac-virtualcam.

marconett avatar marconett commented on August 22, 2024

Hi John, nice to see that there's a package now and that it's supposed to run with the release version of obs.

But unfortunately, there seems to be a problem with the build. After installing the package, the "Start/Stop Virtual Camera" Menu entry shows up and I can toggle it on and off in obs, but there's no virtual camera in either Skype or Quick Time showing up.

It's a bit weird, as I got it to work in Skype once (after uninstalling the plugin and then reinstalling), but couldn't reproduce this after multiple attempts to reinstall the plugin.

The one time it was working in Skype, it seems to work fine. Checking the FPS settings, it seems to have lowered itself from 60 to 48 fps?

I also got the camera to show up in Quick Time once (but at the same time, not in Skype), although it only showed the test card, even though the camera was enabled.

I'm using OBS Studio 25.0.8.

Sorry for the diffuse error description, but I couldn't really find reproducible behavior.

Should I maybe try building the plugins myself again?

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

Try deleting the DAL plugin manually and then installing the package. I had the version set wrong initially which makes it so that the pkg doesn't overwrite early builds (that had a higher version number). Also try a restart. Not sure why this is but sometimes this seems to help.

from obs-mac-virtualcam.

marconett avatar marconett commented on August 22, 2024

Yes, that's what i meant by "reinstalling". I already tried that by deleting the DAL and OBS plugins as described in the readme.

I'll try rebooting a bit later.

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

The latest release shows the version number on the bottom of the test card. @marconett could you install that and see if your issue is fixed. If it is not could you verify that the test card shows 1.2.0 on the bottom of the test card?
image

from obs-mac-virtualcam.

marconett avatar marconett commented on August 22, 2024

I installed the release version and rebooted.

With the release version, I now always see the the virtual camera in Quick Time and "Starting/Stopping Virtual Camera" in OBS now works as expected. The test card now shows 1.2.0.
I tested Chrome and Firefox as well and it works fine there too. I just can't get the camera to show up in Skype anymore, even after a clean Skype reinstall.

I went ahead and tried a version of the plugin I built myself a month ago (the same version that worked with Skype before, albeit choppy) and couldn't get that to show up in Skype anymore either.. pretty frustrating, but it has to be a Skype or macOS issue.

So as of now, I can not help you with confirming if the problem is fixed or not.

from obs-mac-virtualcam.

gxalpha avatar gxalpha commented on August 22, 2024

Nice!

from obs-mac-virtualcam.

johnboiles avatar johnboiles commented on August 22, 2024

Yay! Glad to hear it!! Thanks for following up

from obs-mac-virtualcam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.