From: Daniel Caujolle-B. <seg...@cl...> - 2004-09-08 12:38:42
|
Le Mercredi 08 Septembre 2004 10:38, Skliarouk Arieh a =E9crit=A0: > Hello, > > >>>>In my home www-based video distribution project I have several movies > >>>>with subtitles. > >>>> > >>>>Currently I generate .ASX file (from PHP) as follows: > >>>><ASX version =3D "3.0"> > >>>> <TITLE>home video</TITLE> > >>>> <ENTRY> > >>>> <ref href =3D "http://myhome.com/Tracks/AnInterestingMovie.avi"= /> > >>>> </ENTRY> > >>>></ASX> > >>>> > >>>>What tag should I add to the .ASX file so xine would pickup subtitles= I > >>>>want and play them along the .avi track? > >>> > >>> I don't know if subtitle support is part of the ASX specs (at least > >>> from the one i read many many month ago). If you have the information, > >>> i will be happy to add subtitle support in ASX playlist in xine-ui. > >> > >>AFAIK subtitle support is not part of ASX. But ASX allows you to set > >>arbitrary parameters that (hopefully) will be taken into account by > >>media player. > >>I propose you to add to xine handling of parameter "xine_subtitle" and > >>treat its value as URL to actual subtitle according to following exampl= e: > >> > >><PARAM NAME=3D"xine_subtitle" value =3D > >>"http://anwebsite.com/TwoWeeksNotice/TwoWeeksNotice-English.srt" /> > > > >why not simply "subtitle" ? > > I thought that "subtitle" is too global and such tag can even exist in > ASX spec. But do as you think is appropriate. Well, current CVS support (non official) subtitle in asx now, like this =2E.. <entry> <ref href =3D "file.ext" subtitle =3D "subtitle.ext"/> </entry> =2E.. Cheers. =2D-=20 73's de Daniel "Der Schreckliche", F1RMB. -=3D- Daniel Caujolle-Bert -=3D- seg...@cl... -= =3D- -=3D- http://naboo.homelinux.org -=3D- |