Page 1 of 1

dub audio over repeating video input

Posted: 12 Jan 2009 09:20
by michaeldjcox
Is it possible to get VLC to stream to a file a endlessly repeating mpeg file while at the same time dubbing an audio track over the top?

I have been doing:

vlc.exe -vvv video.mpg --input-repeat=5 --input-slave="sound.mp3" --sout="#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst=newvideo.mpg}}"

but unfortunately (and in reasonably slave-like fashion) that command sequence repeats the input-slave as well as the input.

Re: dub audio over repeating video input

Posted: 12 Jan 2009 20:53
by Jean-Baptiste Kempf
Of course that everything is repeated, what would you want?

Re: dub audio over repeating video input

Posted: 13 Jan 2009 08:10
by michaeldjcox
Yes I agree its exactly what the input-slave option should do - I didn't mean to imply any fault.

But is there an alternative set of parameters I could use to dub a single audio track over multiple repeats of a video?

Many thanks for your help.

Re: dub audio over repeating video input

Posted: 13 Jan 2009 22:23
by RĂ©mi Denis-Courmont
Yes, with separate inputs, using VLM and bridging. Slave input is insufficient.

Re: dub audio over repeating video input

Posted: 15 Jan 2009 08:08
by michaeldjcox
Many thanks - I will investigate that.

Re: dub audio over repeating video input

Posted: 09 Feb 2009 19:14
by michaeldjcox
I have played around with VLM and it seems straightforward.

But for all my searching through the forums and documentation and cannot see how to combine two streams into one using the available syntax.

Be very grateful for some advice please.

Many thanks in advance