On Sat, 28 Oct 2006 22:44:07 +0200 Charles de Noyelle <[EMAIL PROTECTED]>
babbled:
> Hello,
>
> My post is about .srt subtitles in Emotion.
>
> I tried to look into the code, and I *think* that nothing is done to
> read subtitles. What I expected and look for is kind of
>
> EAPI void emotion_object_{subtitles,spu}_file_set ( Evas_Object *obj,
> const char *filename )
>
> I saw the "emotion_object_spu_channel_count(Evas_Object *obj)" But I
> could not figure out what it was used for... DVD's subs ?
yes - dvd subtitles are handled by libxine as video overlays - they do work if
turned on. there is no way to use external files.
> The thing is that needs some changes in Emotion EAPI, and maybe, a such
> thing is not wanted (read subtitles in Emotion).
>
> What do you thing about it? Would that be easy to do? Is it necessary?
i suggest first looking at gstreamer and xine api's to see if you can put it
there as the subtitles also need to be timed to the video.
>
> The point for me to do this, is to be able to read subtitled movies in
> "rage", which I just love :) (thanx raster)
>
> I made the first "patch" to be able to do so in this app... It enables
> rage to avoid the thumbnailing of ".srt" files.
thanks - though won't appply to my local rage src at all - i currently don't
have any time to work on this unfortunately :(
> ------------------------- 8< -------------------------------------------
> rage-0.1.0/src/bin/bg.c bg.c
> 32a33,40
> > int
> > is_subtitle_file ( char *file )
> > {
> > if ( ( strlen ( file ) > 4 ) &&
> > !strncmp ( (file + strlen (file) - 4 ), ".srt", 4 ) ) return 1;
> > return 0;
> > }
> >
> 48c56
> < if (file[0] != '.')
> ---
> > if ( (file[0] != '.') && ( ! is_subtitle_file ( file ) ) )
> ------------------------------------------------------------ 8< -------
>
> I know, it was kind of easy to make, and probably not well made... but
> it might help someone :)
>
> --
> Charles de Noyelle
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel