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

Ivan Kalvachev ivan at cacad.com
Wed Jul 21 17:50:38 CEST 2004


I'm interested in such feature.
I'm not familiar with the stream reader code and even less with URL
handling, but i will try to look over it.

At least -sub url://to/file will work. I hope.


Wish You Best
   Ivan Kalvachev
  iive


attila said:
> 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
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>




More information about the MPlayer-dev-eng mailing list