FFmpegRecorder icon indicating copy to clipboard operation
FFmpegRecorder copied to clipboard

Audio synchronization issue

Open hexmonad opened this issue 7 years ago • 4 comments

Hi Lei,

i noticed that when i try to record a video with multiple parts, an audio in the resulting video file is not syncing correctly with all video parts. It seems to be the audio is not cropped accurately while recording. Do you know about this issue and do you plan to fix it?

Thanks.

hexmonad avatar Oct 20 '16 11:10 hexmonad

Hi, @hexmonad Can you try the latest master branch out and let me know if it's getting any better?

CrazyOrr avatar Oct 24 '16 12:10 CrazyOrr

Hi,

audio syncing is better after last changes. But a slight delay between audio and video tracks still takes place (it is more noticeable in the end of the video).

P.s. the app crashes after a first launch. It's caused by NullPointerException in the case when a permission dialog is showed (onPause() is called for main activity) before the AudioRecorder initialization (see releaseAudioRecorder(), need to add a null check).

hexmonad avatar Oct 24 '16 14:10 hexmonad

Yes, thank you. NullPointerException fixed, I'll keep looking into the delay issue.

CrazyOrr avatar Oct 25 '16 03:10 CrazyOrr

Changes had been made in 7b385a7425403bb7c79064da54ebfdeea1f0e9ec according to issue #23, which may mitigate this sync issue.

CrazyOrr avatar Oct 10 '17 06:10 CrazyOrr