Log in

View Full Version : req: ffmpeg audio sync help


FredThompson
31st July 2016, 20:02
MP4
video: AVC MainL3.1 24000/1001 FPS
audio: AAC 48.0 kHz sample rate, 1024 spf (46.875) FPS

Audio runs longer than video.

What arguments should be passed to FFMPEG to correct sync with the original streams?

If that's not possible, which audio codec would give the most compitability and supports 40 hKz for a call like this?

ffmpeg -i infile.mp4 -vcodec copy -acodec NEWCODEC -af aresample=resampler=soxr -ar 40000 outfile.mp4