Unable to open subtitles from HTTP

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
PiRomant
New Cone
New Cone
Posts: 5
Joined: 18 Mar 2021 16:22

Unable to open subtitles from HTTP

Postby PiRomant » 18 Mar 2021 16:58

"Your input can't be opened: VLC is unable to open the MRL 'file:///C:/Windows/System32/%22http%3A%2F%2F... " while opening file with arg :sub-file=http://...
VLC 3.0.12

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

Re: Unable to open subtitles from HTTP

Postby Rémi Denis-Courmont » 19 Mar 2021 15:53

Does http://... look like a file path to you? You probably need to use input-slave.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

PiRomant
New Cone
New Cone
Posts: 5
Joined: 18 Mar 2021 16:22

Re: Unable to open subtitles from HTTP

Postby PiRomant » 19 Mar 2021 16:22

Does http://... look like a file path to you? You probably need to use input-slave.
The link looks like http:// ... DLRip.srt?link=3678f5f889a6db1fac6e0af9e1b440b7b0d00ea6&index=8&play
:input-slave= dont let me open local subtitles at all?

PiRomant
New Cone
New Cone
Posts: 5
Joined: 18 Mar 2021 16:22

Re: Unable to open subtitles from HTTP

Postby PiRomant » 21 Mar 2021 08:51

VLC for Linux has the same problem. This might be a general problem.

Code: Select all

VLC is unable to open the MRL 'file:///home/oem/http%3A//...

Miyuri
New Cone
New Cone
Posts: 1
Joined: 31 May 2021 16:33

Re: Unable to open subtitles from HTTP

Postby Miyuri » 31 May 2021 18:00

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.

PiRomant
New Cone
New Cone
Posts: 5
Joined: 18 Mar 2021 16:22

Re: Unable to open subtitles from HTTP

Postby PiRomant » 31 May 2021 18:28

One part of problem has been fixed in https://code.videolan.org/videolan/vlc/-/issues/25549
Another one is https://code.videolan.org/videolan/vlc/-/issues/25645

Code: Select all

main error: unsafe option "input-slave" has been ignored for security reasons


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests