dub audio over repeating video input

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

dub audio over repeating video input

Postby michaeldjcox » 12 Jan 2009 09:20

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: dub audio over repeating video input

Postby Jean-Baptiste Kempf » 12 Jan 2009 20:53

Of course that everything is repeated, what would you want?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: dub audio over repeating video input

Postby michaeldjcox » 13 Jan 2009 08:10

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15336
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: dub audio over repeating video input

Postby Rémi Denis-Courmont » 13 Jan 2009 22:23

Yes, with separate inputs, using VLM and bridging. Slave input is insufficient.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: dub audio over repeating video input

Postby michaeldjcox » 15 Jan 2009 08:08

Many thanks - I will investigate that.

michaeldjcox
Blank Cone
Blank Cone
Posts: 61
Joined: 08 Dec 2008 13:06

Re: dub audio over repeating video input

Postby michaeldjcox » 09 Feb 2009 19:14

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 73 guests