Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Video Unity Recorder movie output is too fast

Discussion in 'Audio & Video' started by hedgefield, Apr 19, 2019.

  1. hedgefield

    hedgefield

    Joined:
    Jan 1, 2014
    Posts:
    29
    Hey there,

    I'm using the Unity Recorder 2.0.0-preview6 package with Unity 2018.3.8f1 on Windows 10, and I'm having some trouble with the movie output speed. When I render an MP4, the resulting video footage is faster than it should be when played in the editor, while the audio track is at the correct speed. For example, I have one recorder clip set up to record 10 seconds of the timeline in 4k. The resulting video output is 8 seconds. What's even weirder, is that when I set the output to 1080p, the resulting video is 6 seconds.

    Here is my setup:
    - I have one timeline in my scene, set to 30 FPS.
    - The Playable Director is set to update on the DSP clock, because the timeline is animated to an audio track.
    - I use a mixture of activation tracks, animation tracks with clips, and animation tracks recorded inline.
    - I have a RecorderClip set up in the timeline to output a 1080p MP4. Settings are shown in the screenshot.

    cc @marief_unity
     

    Attached Files:

  2. pintianz

    pintianz

    Joined:
    Mar 1, 2015
    Posts:
    25
    Having the same problem. The recorded video is way too fast. The video was designed to be in sync with the background music, but the recorded version is out of sync with audio playing at normal speed.
    Unity 2018.3.14,
    Recorder ver. 2.0.1-preview.1
    Record format: mp4
    Constant playback, Film(24), cap
    @marief_unity
     
  3. ibanezguy2112

    ibanezguy2112

    Joined:
    Jun 21, 2018
    Posts:
    1
    still running into this problem as well
     
  4. Teejay5

    Teejay5

    Joined:
    Feb 26, 2010
    Posts:
    101
    I'd like to bump this issue, happens here too. It's even worse if you're using a video texture in the game, the video texture will play back at like 10x the speed it's supposed to.
     
  5. strongbox3d

    strongbox3d

    Joined:
    May 8, 2012
    Posts:
    805
    Can someone from Unity get in here and help to figure this out? Please?

    I am trying to make some trailers and it is impossible to get the recorder to output at the correct speed.

    Regards,
    Carlos
     
  6. strongbox3d

    strongbox3d

    Joined:
    May 8, 2012
    Posts:
    805
    I think I figured out a way to get the right speed in the output of the recorder! I set the sync in Quality Settings to every second v blank, I pressed the game window's top right button VSync to activate it, and set the Recorder target setting in the top right to NTSC(29.97), and finally I unchecked Capture audio in the recorder. After I set these and recorded the output was at the right speed. Of course I had to take the video to AE or other software to like it to add the audio back.

    I hope this helps someone.

    Regards,
    Carlos
     
    GeorgeAdamon likes this.
  7. SkareMedia

    SkareMedia

    Joined:
    Jan 8, 2019
    Posts:
    2
    Im having this same issue too. I tried your steps but cant figure out where/how to activate the game windows VSync "I pressed the game window's top right button VSync to activate it"

    Where is this buttoin exactly?
     
  8. Romaleks360

    Romaleks360

    Joined:
    Sep 9, 2017
    Posts:
    38
    Any updates? That's very annoying! Basically makes Unity Recorder totally useless
     
  9. Dirrogate

    Dirrogate

    Joined:
    Feb 18, 2014
    Posts:
    110
    here:
     

    Attached Files:

  10. strongbox3d

    strongbox3d

    Joined:
    May 8, 2012
    Posts:
    805
    And here as well:
     

    Attached Files:

unityunity