FFmpegRecorder
FFmpegRecorder copied to clipboard
Audio synchronization issue
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.
Hi, @hexmonad Can you try the latest master branch out and let me know if it's getting any better?
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).
Yes, thank you. NullPointerException fixed, I'll keep looking into the delay issue.
Changes had been made in 7b385a7425403bb7c79064da54ebfdeea1f0e9ec according to issue #23, which may mitigate this sync issue.