[MPlayer-dev-eng] [PATCH] Remove font attributes from subtitles

Guillaume POIRIER poirierg at gmail.com
Tue Sep 20 01:23:42 CEST 2005


Hi,

On 9/6/05, Robert Ramiega <jedi at plukwa.net> wrote:
>   Hi!
> Sometimes subtitles files (i've seen this in mdvd and mpl2 only) contain
> information on attributes of the following subtitle (like italics or color).
> As of now mplayer just displays this information as part of subtitle. So far
> i couldn't make head or tails out of subtitle rendering in mplayer so i made
> small patch that removes this extranous information.
>  If someone would be so nice and get me started on subtitle rendering i'm
> willing to try to make mplayer actually recognize and use this attributes.
> 
> Here is sample subtitle:
> 
> [01][19]{C:$aaccff}Battlestar Galactica [1x02]
> Water|/{C:$aaccff}http://napisy.gwrota.com
> [15][35]{C:$aaccff}/Poprzednio w Battlestar Galactica...
> [40][70]{C:$aaccff}CYLONI ZOSTALI STWORZENI|{C:$aaccff}PRZEZ CZLOWIEKA.
> [76][106]{C:$aaccff}ZBUNTOWALI SIE.
> [112][137]{C:$aaccff}EWOLUOWALI.
> [147][167]{C:$aaccff}WYGLADAJA
> [171][184]{C:$aaccff}I CZUJA
> [185][200]{C:$aaccff}JAK LUDZIE.
> [219][247]{C:$aaccff}NIEKTORZY SA ZAPROGRAMOWANI TAK,|{C:$aaccff}BY MYSLEC,ZE SA LUDZMI.
> [248][288]{C:$aaccff}ISTNIEJE WIELE TAKICH SAMYCH KOPII.
> [297][327]{C:$aaccff}I MAJA PLAN.
> [352][370]/- Alarm radiologiczny.|- Skad?
> [372][395]Olympic Carrier,|maja jadrówki na pokladzie.

how come there has been no replies to this patch? is it ok/bad?

Guillaume
-- 
Reading doesn't hurt, really!
 -- Dominik 'Rathann' Mierzejewski




More information about the MPlayer-dev-eng mailing list