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 recording from microphone out of sync after pause #422

Closed spebern closed 1 week ago

spebern commented 2 weeks ago

Unity Version

2022.3.19f1

AVPro Movie Capture Version

v5.3.0-Trial, AVPro Movie Capture - Ultra Edition v5.3.0

Which platform(s) are you using?

Android

Which OS version(s) are you using?

Android 13

Which rendering API(s) are you using?

No response

Hardware

Tab M10 Plus Gen 3

Which capture component are you using?

Capture From WebCamTexture

Capture mode

Realtime

Which output mode are you using?

Video file

Video codecs

H264

Audio source

Microphone

Audio codecs

AAC

Any other component configuration

No response

The issue

Pausing the video recording on android does not pause the audio recording. This results in delayed audio after resume. Video and audio are out of sync.

I used the Demo02-WebcamCapture scene.

Log output

No response

spebern commented 2 weeks ago

There appears to be a related issue #204, but we still seem to have that problem. In the logs we can also see: image

MorrisRH commented 2 weeks ago

We've implemented a work around so that devices where the codec doesn't support pausing the stream behave correctly. This will make it into the next release (version 5.3.1).

Chris-RH commented 1 week ago

This has been fixed in AVPro Movie Capture version 5.3.1. Please let us know if your issue is not resolved.