GithubHelp home page GithubHelp logo

Comments (7)

fzwoch avatar fzwoch commented on June 20, 2024

No idea really. It may be due to how OBS sends the first sample on startup. There may be a gap in between and the audio sink tries to compensate it somehow. Audio is difficult with latency and under-flowing buffers..

from obs-gstreamer.

normen avatar normen commented on June 20, 2024

I found a possible reason: When OBS is under load it seems to add buffers to the source plugin output. Disabling these with obs_source_set_async_unbuffered fixes any "buildup" of latency for me I had with RTSP cameras.

My PR #66 includes an added option to disable buffers in OBS.

Edit: Oops, this is about effects, the PR is only about sources, sorry.

from obs-gstreamer.

BEERproductions avatar BEERproductions commented on June 20, 2024

I found a possible reason: When OBS is under load it seems to add buffers to the source plugin output. Disabling these with obs_source_set_async_unbuffered fixes any "buildup" of latency for me I had with RTSP cameras.

My PR #66 includes an added option to disable buffers in OBS.

Edit: Oops, this is about effects, the PR is only about sources, sorry.

Well, again... This is like the 100th time where the OBS latency is bugging me. @normen Please add a Fix to your merge request where you add many of the latency options into the effects too, it's SO annoying!

from obs-gstreamer.

normen avatar normen commented on June 20, 2024

wat?

from obs-gstreamer.

BEERproductions avatar BEERproductions commented on June 20, 2024

wat?

I am using your Pull Request to disable the OBS buffering in the GStreamer plugin Sources. Would it be possible to implement that into the effects too?

from obs-gstreamer.

normen avatar normen commented on June 20, 2024

I don't know, I didn't look into the effects stuff yet, no idea if it works the same there.

from obs-gstreamer.

fzwoch avatar fzwoch commented on June 20, 2024

Closing as whatever the effect is, I doubt it is solvable in GStreamer or this plugin.

from obs-gstreamer.

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.