On Tue, Jun 13, 2017 at 8:29 PM, GrĂ©gory S <[email protected]> wrote:

>
> Now i want to be able to select from which video source the sound will be
> exported.
> If the duration of the sound is shorter than the duration of the mozaic (if
> it do not comes from the longest video), i want to have silence until the
> end of the video.
>

Add    -map    to select the audio e.g.    -map 1:a    to select the audio
from the 2nd input.

Add   -af apad    to extend the selected audio with silence indefinitely.

Add    -shortest    to stop muxing when the video stream ends.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to