Page 1 of 1

2.2.1 and Javascript input-slave option

Posted: 22 Apr 2015 16:25
by jonny211
Hi,

I'm hoping someone can help me. I can use the standalone player to slave an audio track to a video track using the command line as below:-

"C:\Program Files (x86)\VideoLAN\VLC\vlc" file:///C:/Users/jon/Desktop/proxy/vid.mp4 --input-slave=file:///C:/Users/jon/Desktop/proxy/aud.mp4 file-caching=300

and all is okay.

However I am trying to use Firefox and the vlc plugin to do the same but without any luck, has the input-slave option been disabled? My last non-working attempt was using the following:-

Code: Select all

function vlcgo() { var vlc = getVLC("objvlc"); var options = [":input-slave=file:///C:/Users/jon/Desktop/proxy/audL.mp4"]; var itemid = vlc.playlist.add("file:///C:/Users/jon/Desktop/proxy/vid.mp4","",options); options=[]; vlc.playlist.playItem(itemid); }
The vlcgo function fires and plays the vid.mp4 file but the aud.mp4 isnt heard.

Please can someone tell me what the correct option string is?

Cheers.

Jon

Re: 2.2.1 and Javascript input-slave option

Posted: 28 Apr 2015 16:12
by jonny211
Can anyone help me? Or if not refer me to any other embedded players that can handle multiple audio/video tracks?

Re: 2.2.1 and Javascript input-slave option

Posted: 28 Apr 2015 16:22
by RĂ©mi Denis-Courmont
input-slave is not allowed in the browser or in playlists.