2.2.1 and Javascript input-slave option

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
jonny211
New Cone
New Cone
Posts: 2
Joined: 22 Apr 2015 16:16

2.2.1 and Javascript input-slave option

Postby jonny211 » 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:-

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

jonny211
New Cone
New Cone
Posts: 2
Joined: 22 Apr 2015 16:16

Re: 2.2.1 and Javascript input-slave option

Postby jonny211 » 28 Apr 2015 16:12

Can anyone help me? Or if not refer me to any other embedded players that can handle multiple audio/video tracks?

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

Re: 2.2.1 and Javascript input-slave option

Postby Rémi Denis-Courmont » 28 Apr 2015 16:22

input-slave is not allowed in the browser or in playlists.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 21 guests