Code Monkey home page Code Monkey logo

Comments (5)

derrod avatar derrod commented on September 27, 2024 1

There are some things we could try to prevent this at least, e.g. the first instance to decide on a filename could touch the file so it exists as a 0-byte placeholder until the output and encoder are ready to start writing actual data.

We can probably leave this open for now.

from obs-studio.

RytoEX avatar RytoEX commented on September 27, 2024

We do not accept bug reports for older versions of OBS Studio. Please test and provide logs for OBS Studio 30.1.2 or newer.

from obs-studio.

zenorbi avatar zenorbi commented on September 27, 2024

I have retested with OBS 30.1.2, the issue remains, here are the new logs:

https://obsproject.com/logs/fNBPyO0ASU5Qtka6
https://obsproject.com/logs/oJo8YbOBVlXql726

from obs-studio.

derrod avatar derrod commented on September 27, 2024

OBS does check if a file already exists unless the "Overwrite if file eixsts" option is enabled in advanced settings. It's possible that you're running into a race condition where the file simply does not exist yet by the time the check runs. Just use different output folders or filename formats.

from obs-studio.

zenorbi avatar zenorbi commented on September 27, 2024

I do not have the "Overwrite if file exists" option checked and I am clicking the 2 buttons manually with around 300ms in between (according to the logs).

Just for testing I have changed the format to always collide and I can confirm that given enough time between the 2 button presses, OBS will create a second file with (2) in the filename, so this looks to be a race condition.

Next time I will write to different folders but this was just bad luck where I have lost one of my recordings due to this, but I believe in reporting issues even if I already know the solution (for example, wait 1 second between starting each recording session).

from obs-studio.

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.