[FFmpeg-user] ffmpeg, amix, adelay out of sync issues

Paul B Mahol onemda at gmail.com
Fri Jan 29 13:02:48 EET 2021


On Fri, Jan 22, 2021 at 11:20 PM Randy Johnson via ffmpeg-user <
ffmpeg-user at ffmpeg.org> wrote:

> Hello,
>
> I have a series of mp3 files with a start time offset.
> I am trying to merge them together with adelay and amix.
> The following codes run and creates the combined MP3 but when I listen
> to the final output file there are spots where people are talking over
> each other not in the sense they are being rude but the audio being out
> of sync.
> Here are the files with the start and stoptime offsets:
>
> d4a19a58-790a-45c1-b96e-819bc98cd408.webm | 1720 | 3762173 ab794f92-
> bdfb-4bb0-821d-ba80c8a9228a.webm | 48920 | 3328385 a7df9a51-0671-4930-
> a14b-e7d85a562577.webm | 76220 | 3763361 5d312878-d25d-40d7-9418-
> bed85e22efc6.webm | 3109640 | 3267473 1cf6127d-250a-4601-a219-
> b1b6bbd725f8.webm | 3360980 | 3636927 c3ddd462-e05a-425f-af58-
> f288f930f2cb.webm | 3689600 | 3760423
> Here is the command broke into lines for easier readability:
>
> ffmpeg -i d4a19a58-790a-45c1-b96e-819bc98cd408.mp3 -i ab794f92-bdfb-
> 4bb0-821d-ba80c8a9228a.mp3 -i a7df9a51-0671-4930-a14b-e7d85a562577.mp3 -
> i 1cf6127d-250a-4601-a219-b1b6bbd725f8.mp3 -i c3ddd462-e05a-425f-af58-
> f288f930f2cb.mp3 -filter_complex " [0]adelay=1720|1720[a0];
> [1]adelay=48920|48920[a1]; [2]adelay=76220|76220[a2];
> [3]adelay=3360980|3360980[a3]; [4]adelay=3689600|3689600[a4];
> [a0][a1][a2][a3][a4]amix=inputs=5 " out.mp3 -y
> Any idea what I am doing wrong?
>

If you want real help, provide input files.

Also you have not provided information like ffmpeg version.

Always use latest master git build version.


>
> Thanks!
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list