https://forum.videolan.org/viewtopic.php?t=138120
mederi's answer may help for you.
About input-slave, I have tested some other cases that work well.
1. subtitle from http
Code: Select all
vlc http://127.0.0.1:8080/video/demo.mkv :input-slave=http/subtitle://127.0.0.1:8080/video/demo.ass :sub-track=0
2. audio from http
Code: Select all
vlc http://127.0.0.1:8080/video/demoFromYoutube-dl.f303.webm :input-slave=http://127.0.0.1:8080/video/demoFromYoutube-dl.f251.webm :audio-track=0
3. subtitle from local
Code: Select all
vlc http://127.0.0.1:8080/video/demo.mkv :input-slave=/home/demo.ass :sub-track=0
4. audio from local
Code: Select all
vlc http://127.0.0.1:8080/video/demoFromYoutube-dl.f303.webm :input-slave=/home/demoFromYoutube-dl.f251.webm :audio-track=0
5. two subtitles from http
Code: Select all
vlc http://127.0.0.1:8080/video/demo.mkv :input-slave="http/subtitle://127.0.0.1:8080/video/demo.en.ass#http/subtitle://127.0.0.1:8080/video/demo2.fr.ass" :sub-track=0
Other combinations are possible. Attention that use "#" split different inputs, and "#" must be included in quotation mark. You can always use quotation mark to avoid special characters cause some error.
"webm" was downloaded from youtube-dl, video and audio both end with "webm".
I tested the local files with "file:///home/audio.webm", "file/subtitle:///home/demo.ass" that not work, after reading
https://superuser.com/questions/685507/ ... -same-time I know local files just use path. Hope these help for you and other searchers.