2.2.1 and Javascript input-slave option
Posted: 22 Apr 2015 16:25
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:-
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
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);
}
Please can someone tell me what the correct option string is?
Cheers.
Jon