UnityPlugin-AVProMovieCapture icon indicating copy to clipboard operation
UnityPlugin-AVProMovieCapture copied to clipboard

[Bug] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio.

Open dirtygilly opened this issue 1 year ago • 4 comments

Unity Version

2022.3.30f1

AVPro Movie Capture Version

5.1.6f1-ultra (scripts5.2.5)

Which platform(s) are you using?

Windows

Which OS version(s) are you using?

Windows 11

Which rendering API(s) are you using?

Direct3D 11, Direct3D 12, OpenGL, OpenGLES

Hardware

i5 12400, 32GB Ram, Geforce 3060ti

Which capture component are you using?

Capture From Screen

Capture mode

Realtime

Which output mode are you using?

Video file

Video codecs

H264

Audio source

Unity

Audio codecs

AAC

Any other component configuration

No response

The issue

Capture works fine for about 5 mins and then starts throwing the overflow issue regardless of what is happening in game. Even if the game is idle it eventually runs into this issue - it may take a minute or two longer.

Log output

[AVProMovieCapture] Audio buffer has overflowed which may cause sync issues. Disable this component if not recording Unity audio. (1).
UnityEngine.Debug:LogWarning (object)
RenderHeads.Media.AVProMovieCapture.CaptureAudioFromAudioListener:OnAudioFilterRead (single[],int) (at Assets/ThirdPartyAssets/RenderHeads/AVProMovieCapture/Runtime/Scripts/Components/CaptureAudioFromAudioListener.cs:157)

dirtygilly avatar Jul 29 '24 09:07 dirtygilly

  1. Can you reproduce this in a new project running only the AVPro Movie Capture demo scenes?
  2. Is this occurring in D3D11 or D3D12, or both?
  3. Does it continue with the capture or does it crash?
  4. Is this occurring in editor and/or in build?

Chris-RH avatar Jul 29 '24 09:07 Chris-RH

Hi Chris,

  • My error , it is only running on D3D11
  • It continues to capture, only shows the warning, but the game's frame rate drops to 1 or 2 frames a second
  • So far only in editor, I have not tried to reproduce in build

dirtygilly avatar Jul 29 '24 09:07 dirtygilly

Can you reproduce this in a new project running only the AVPro Movie Capture demo scenes? Are you able to send us a copy of the resultant capture in which the error has occurred? [email protected]

Chris-RH avatar Jul 30 '24 09:07 Chris-RH

Hi Chris, i will be working on this today. Will revert asap

On Tue, 30 Jul 2024, 10:46 Chris-RH, @.***> wrote:

Can you reproduce this in a new project running only the AVPro Movie Capture demo scenes? Are you able to send us a copy of the resultant capture in which the error has occurred? @.***

— Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProMovieCapture/issues/413#issuecomment-2257936021, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFR544RQFNKBKPOQQSZTMTLZO5OIHAVCNFSM6AAAAABLT2NOQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXHEZTMMBSGE . You are receiving this because you authored the thread.Message ID: @.*** com>

dirtygilly avatar Jul 30 '24 12:07 dirtygilly

I'm going to have to close this soon if there is no update.

Chris-RH avatar Sep 30 '24 08:09 Chris-RH

Hi Chris, please do so. We have decide to approach the solution in a different way.

On Mon, 30 Sept 2024, 09:31 Chris-RH, @.***> wrote:

I'm going to have to close this soon if there is no update.

— Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProMovieCapture/issues/413#issuecomment-2382452271, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFR544VJW7YDU7IZDTHCYYLZZED73AVCNFSM6AAAAABLT2NOQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBSGQ2TEMRXGE . You are receiving this because you authored the thread.Message ID: @.*** com>

dirtygilly avatar Sep 30 '24 10:09 dirtygilly