Re: [FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-19 Thread Mark Corner
Oh..awesome, that seems to work (at least on this video). I will need to try some more, but this is great, thanks! On December 19, 2017 at 11:20:49 AM, Gyan Doshi (gyando...@gmail.com) wrote: On 12/19/2017 9:40 PM, Mark Corner wrote: > I think we crossed emails, but the use of aresample=async=5

Re: [FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-19 Thread Gyan Doshi
On 12/19/2017 9:40 PM, Mark Corner wrote: I think we crossed emails, but the use of aresample=async=5000 seems to fix it for me. Use async=1 for discarding padding limits. The filter will then pad as needed. Gyan ___ ffmpeg-user mailing list ffmpe

Re: [FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-19 Thread Mark Corner
I think we crossed emails, but the use of aresample=async=5000 seems to fix it for me. However, at async=1000 I get artifacts in the audio such as audio from later in the clip getting superimposed… I am trying to build something that works for a bunch of videos, not just one and the magical 5000

Re: [FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-19 Thread Paul B Mahol
On 12/19/17, Mark Corner wrote: > Sorry, forgot to include the mailing list... See below. Is out of sync from start or happens later? > > > On December 19, 2017 at 9:16:02 AM, Mark Corner (mcor...@gmail.com) wrote: > > Ok, I tried this: > > ffmpeg -y -i RT2568dcb62e48c44c4ac61094c4377553 -i > R

Re: [FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-19 Thread Mark Corner
Oh, I think I got it…. I put in a resample=async and it seems like it works! I need to whittle the filter down to see which parts are necessary. ffmpeg -y -i RT2568dcb62e48c44c4ac61094c4377553 -i RTb5d9c3c0a59e98061159ddb310587b71 -i RT955f8ed764b5fda55a4dcd23cfed673d -filter_complex "[0]aresam

Re: [FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-19 Thread Mark Corner
Sorry, forgot to include the mailing list… See below. On December 19, 2017 at 9:16:02 AM, Mark Corner (mcor...@gmail.com) wrote: Ok, I tried this: ffmpeg -y -i RT2568dcb62e48c44c4ac61094c4377553 -i RTb5d9c3c0a59e98061159ddb310587b71 -i RT955f8ed764b5fda55a4dcd23cfed673d -filter_complex "[0]ad

Re: [FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-19 Thread Mark Corner
Thanks! I tried this at least: ffmpeg -y -i RT2568dcb62e48c44c4ac61094c4377553 -i RTb5d9c3c0a59e98061159ddb310587b71 -i RT955f8ed764b5fda55a4dcd23cfed673d -filter_complex "[0]adelay=25|25[t0];[1]adelay=2363|2363[t1];[2]adelay=983525|983525[t2];[t0]asetpts=PTS-STARTPTS[t0s];[t1]asetpts=PTS-STARTP

Re: [FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-19 Thread Paul B Mahol
On 12/19/17, Mark Corner wrote: > I am having trouble with amix producing different results with different > input orders and only one input to amix staying in sync with the video. > > I am starting with three video and three audio files, vp8 and opus > encoded. There is a video and audio that go

[FFmpeg-user] Stuck on adelay/amix sync problem..

2017-12-18 Thread Mark Corner
I am having trouble with amix producing different results with different input orders and only one input to amix staying in sync with the video. I am starting with three video and three audio files, vp8 and opus encoded. There is a video and audio that go together and are about 32 minutes long.