[libav-tools] Repeating one input constantly in an avconv mix

Luca Barbato lu_zero at gentoo.org
Fri Sep 12 15:13:49 CEST 2014


On 11/09/14 23:51, Camil Staps wrote:
> Dear lu,
> 
> Thanks again, I got this installed in a clean test environment now.
> First, to test, I ran "avconv -loop 2 -i in-a.wav output.wav", which indeed
> creates output.wav as playing twice in-a.wav.
> Now I'm running "avconv -loop 2 -i in-a.wav -i in-b.wav -filter_complex amix
> output.wav" with test files (in-a.wav is shorter). This doesn't do anything
> different than without -loop; it just plays both input files once (at the
> same start moment), but after the first one ends, it doesn't start again.
> 
> Is this intended behaviour, or just because this is still under
> construction, or am I misunderstanding something again?

It is probably because it is still under development, the workaround
could be to pipe two avconv using a streamable format such as ts or nut
(horrible but working).

lu



More information about the libav-tools mailing list