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/
45 stars 8 forks source link

Audio does not sync up with video #286

Open CalvinOh opened 1 year ago

CalvinOh commented 1 year ago

In all of my AVProMovieCapture recordings the audio is slightly ahead of the video. The audio is about half a second early. I've tried running the app on three different PCs with the same result. I also get the same result in the IDE and compiled app.

Here's an example of a video with the audio problem: https://drive.google.com/file/d/1vuuXgz_hoEeza1boamwzRB32Gc9ID5Yt/view?usp=share_link

CalvinOh commented 1 year ago

Sent an email with the project files

Chris-RH commented 1 year ago

Thanks, we have received emails from both of you and will look into this.

CalvinOh commented 1 year ago

It has been a while, is there any update on this?

Another question: Is there a configuration where the audio and visual will be synced? Whether through settings in AVPro or specific hardware (ie a minimum system requirement)

lieene commented 10 months ago

We are facing the same problem. capturing video by AVProMovieCapture. The audio is about 500 ms earlier than the video. The audio we use is generated with TTS and we are lipsyncing a character from the audio. Things look good when live displayed. But when captured lip and audio sync is broken.

How is the investigation going? Is there any workaround for this issue?

zerotransform commented 7 months ago

We're also having syncing issues. Build is on Android, using Unity 2022.3.F7. Our app is timing critical.

I've set the Audio Source to Microphone. Any help would be great.

artoonie commented 2 months ago

I have a setup where I'm intentionally delaying the video by one second, so my audio and video are also not in sync -- no bug in the AVPro software, just my own doing.

Curious if there are any plans to allow adding an API for manually syncing A/V?

My plan is currently to accumulate audio into a circular buffer and feed it to AVProMovieCapture after the appropriate delay, but wanted to check in on this ticket to see if there's anything else planned that might be a little less memory-intensive.