Load subtitles from http:// stopped working

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
black3r
New Cone
New Cone
Posts: 3
Joined: 04 Oct 2013 23:34

Load subtitles from http:// stopped working

Postby black3r » 04 Oct 2013 23:48

Hi,

I have some videos (with subtitles in external .srt files) located online. I want to play them with VLC. A while ago, I was testing this usage case with an older version of VLC (2.0.8.a), now I have the latest (2.1.0) and this is not working anymore...

Example use-case:

/home/roman$ vlc http://192.168.1.2/file.mkv :sub-file=http://192.168.1.2/file.srt
[0x7f9e94c9c2e8] filesystem access error: cannot open file /home/roman/http://192.168.1.2/subs.srt (No such file or directory)
[0x7f9eac008c48] main input error: open of `file:///home/roman/http%3A//192.168.1.2/subs.srt' failed

Looks like it is ignoring the fact that I've given a MRL address and just tries to find it locally, in current directory..
I tested Windows version of 2.1.0 and it is not working there either (with similar error message, also trying to find http:// something locally).

Now I can temporarily downgrade to 2.0.8, but I would like to use the latest version with new features (better HW acceleration with GPU i think) some day + I've created script to create playlists for these files and .html pages with VLC web plug-in so I could share these videos with friends, and I do not want to force them to use earlier version in which this works..

Is this a bug? Is it known? Will it be fixed?

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

Re: Load subtitles from http:// stopped working

Postby Rémi Denis-Courmont » 05 Oct 2013 09:49

sub-file always took a file path as far as I know, as the name implies. input-slave is the more generic option.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

black3r
New Cone
New Cone
Posts: 3
Joined: 04 Oct 2013 23:34

Re: Load subtitles from http:// stopped working

Postby black3r » 06 Oct 2013 15:14

Well, i currently have VLC 2.0.8.a installed on my Arch Linux and loading subtitles from MRL using sub-file is working here.. I haven't tried the same version on Windows nor any other versions.. I've just tried 2.1.0 on both operating systems and this feature is not working.. I'm aware that the feature name implies loading from file but I don't think it's hard to implement loading from MRL when it already worked (at least in one version)

I've also tried input-slave, but input-slave is not able to load raw .srt subtitles... I've managed to load subtitles using input-slave only when i wrapped them into .mkv container (which is something i would like to avoid..)

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

Re: Load subtitles from http:// stopped working

Postby Rémi Denis-Courmont » 06 Oct 2013 16:42

In any case the sub-file option has been intended for and explicitly marked as a file path for over 10 years...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Wargasm
New Cone
New Cone
Posts: 1
Joined: 20 Oct 2013 20:25

Re: Load subtitles from http:// stopped working

Postby Wargasm » 20 Oct 2013 20:34

Same thing happened to me! I was embedding to a web page but with v2.1 subtitles dont work anymore with the sub-file command.

i would like to avoid to wrapped them into .mkv container too :( HELP!

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

Re: Load subtitles from http:// stopped working

Postby Rémi Denis-Courmont » 22 Oct 2013 19:32

You need to use an input slave then.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 70 guests