2008-04-15, 23:29
I've decided to try my hand at adding libass support to dvdplayer for my gsoc qualification task. I posted the patch here:
http://sourceforge.net/tracker/index.php...tid=581840
Some notes:
tested against revision 12670 of linuxport
libass requires the fontconfig library
The files created are:
DVDSubtitleParserSSA.cpp - Handles parsing the .ass/ssa file
DVDOverlaySSA .cpp - overlay containing libass structures
Files modified are:
DVDOverlayRenderer.cpp - added a function to handle rendering SSA overlays
DVDFactorySubtitle.cpp - to detect the ass/ssa file
Included in the file is a compiled version of libass as well as a test ssa file with some karaoke/positioning effects.
I'm not used to working with large MakeFile projects, so please feel free to call me an idiot and tell me what i did wrong
http://sourceforge.net/tracker/index.php...tid=581840
Some notes:
tested against revision 12670 of linuxport
libass requires the fontconfig library
The files created are:
DVDSubtitleParserSSA.cpp - Handles parsing the .ass/ssa file
DVDOverlaySSA .cpp - overlay containing libass structures
Files modified are:
DVDOverlayRenderer.cpp - added a function to handle rendering SSA overlays
DVDFactorySubtitle.cpp - to detect the ass/ssa file
Included in the file is a compiled version of libass as well as a test ssa file with some karaoke/positioning effects.
I'm not used to working with large MakeFile projects, so please feel free to call me an idiot and tell me what i did wrong