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.