[FFmpeg-user] Delay filter reconfiguration

Paul B Mahol onemda at gmail.com
Wed Jun 11 10:07:28 CEST 2014

On 6/10/14, androiddevmar11 <androiddevmar11 at gmail.com> wrote:
> Hello,
> my filter graph looks like this: I have "n" inputs (video files). Each
> input
> is connected to "abuffer". Each "abuffer" to "adelay". Each "adelay" to
> "amix". I nead to mix many inputs into one aac file in such way:
> 1. Get sound frames (starting from 10 second to 15 second) from one input
> and mix them to aac file at time stamp lets say 25s to 30s. From the same
> input take frames from 17 second to 20 second and mix them at time stamp
> lets say 35s to 38s. I assume first I need to seek to 10 second of this
> input in order to be at correct place in file. Delay filter should be
> configured with 25000ms (place where I want to mix to). After firts part of
> frames are mixed I need to reconfigure delay filter. Next frames should be
> added starting from 35s. Should I reconfigure delay filter with value 10
> (35s-25s)?
> In other words I want to take frames from "n" inputs from any time and add
> them to aac file at any place.
> I am trying to free delay filter, recreate it with new parameter and
> recreate links in graph but it is not working. Is it good approach? Thank
> you for help and hints.

By "it is not working" you mean exactly what is returned?

adelay filter sets silence and so using it for your case is not optimal solution
(if I understood you correctly amix, would sum samples from 2 inputs).

> --
> View this message in context:
> http://ffmpeg-users.933282.n4.nabble.com/Delay-filter-reconfiguration-tp4665727.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list