Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Recorder not working in Build, what are my options?

Discussion in 'Audio & Video' started by MischmeisterM, Aug 1, 2023.

  1. MischmeisterM

    MischmeisterM

    Joined:
    Feb 22, 2021
    Posts:
    7
    I want to capture video clips from my unity app, have built a UI that lets me configure a ScriptedMovieRecorder but now i discovered, that the ScriptedMovieRecorder also only works when the app is started from the editor (I can't create a successful build with it)

    The only thing I can think of right now is doint it manually: putting every frame in a renderTexture and saving the clip as a .png sequence and converting that into a video afterwards (maybe just run ffmpeg after the capture is done?)
    Also need to think about update timing then - unity recorder provides convenience in delivering Time.deltaTime to fixed frame intervals, even if the actual frames take longer to render - is that easy to accomplish manually?

    Any easier solutions I'm missing here? In the asset store i so far only found other editor extensions...

    Cross Platform would be nice, but primarily looking for Windows...
     
  2. rooose

    rooose

    Unity Technologies

    Joined:
    Jun 8, 2022
    Posts:
    30
  3. MischmeisterM

    MischmeisterM

    Joined:
    Feb 22, 2021
    Posts:
    7
    rooose likes this.