RenderHeads / UnityPlugin-AVProMovieCapture

AVPro Movie Capture is a Unity Plugin for advanced video capture to AVI/MP4/MOV files
https://renderheads.com/products/avpro-movie-capture/
48 stars 8 forks source link

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

Open dirtygilly opened 1 month ago

dirtygilly commented 1 month ago

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)
Chris-RH commented 1 month ago
  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?
dirtygilly commented 1 month ago

Hi Chris,

Chris-RH commented 1 month ago

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? unitysupport@renderheads.com

dirtygilly commented 1 month ago

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>