[MPlayer-dev-eng] REQUEST: Subtitles as URL instead of file

attila attila at kinali.ch
Tue Jul 20 13:56:07 CEST 2004


On Fri, May 07, 2004 at 10:12:19AM +0200, Hendri Hondorp wrote:
> Hello,
> 
> I have a request for a codechange in subreader.c / mplayer. 
> 
> If a video file is located at a http/ftp URL and a subtitle 
> file (with the same URL but the extension (.sami/.srt/.sub/.mpsub etc)
> is different of course) too, this subtitle URL will be shown. 
> 
> Windows Media Player is doing it this way. In MPlayer it is not 
> possible to set the subtitle file using a URL, but only as a filename.
>  ( Or maybe I have not seen all options (one of the 'thousand') and
>    didn't realize something like this was possible.)
> 
> Can someone help me to change the code. I think it's not much work.
> In 'subreader.c' before 'fd=fopen(filename,"r")' the URL needs to 
> downloaded and connected to this 'downloaded temp-filename'.

Unfortunately the whole subreader code is currently unmaintned,
thus nobody has answered your question. I guess if you really
want to add this support you have to do it the hard way and read
the code. As a help i suggest the usage of cscope and grep.

			Attila Kinali




More information about the MPlayer-dev-eng mailing list