[haiku-bugs] Re: [Haiku] #6826: Add support for styled SSA/ASS subtitle rendering - libass (enhancement)

  • From: "herdemir" <trac@xxxxxxxxxxxx>
  • Date: Wed, 17 Nov 2010 15:30:37 -0000

#6826: Add support for styled SSA/ASS subtitle rendering - libass (enhancement)
---------------------------------------+------------------------------
  Reporter:  herdemir                  |        Owner:  stippi
      Type:  enhancement               |       Status:  new
  Priority:  normal                    |    Milestone:  R1
 Component:  Applications/MediaPlayer  |      Version:  R1/Development
Resolution:                            |     Keywords:
Blocked By:                            |  Has a Patch:  0
  Platform:  All                       |     Blocking:
---------------------------------------+------------------------------

Comment (by herdemir):

 Sorry for writing a long comment, just for information.

 Well, sorry for not being clear in using "styled" word. To clarify
 "styled" subtitle it would be better to explain what SSA/ASS subtitles
 features are.

 SSA/ASS is alot more advanced then basic subtitles(SRT) files. They
 provide multiple styles with style management support, like using
 different fonts/colors/size/shadow anywhere and anytime. They also provide
 advanced display features like text positioning, karaoke, etc. For more
 info:
 - http://en.wikipedia.org/wiki/SubStation_Alpha
 - http://www.matroska.org/technical/specs/subtitles/ssa.html

 If you prefer to see in action than in words, here are same samples which
 you can view them with a SSA/ASS supported player like SMPlayer,VLC,any
 gstreamer based player with assrender plugin, etc.:
 - http://samples.mplayerhq.hu/Matroska/mewmew/mewmew-vorbis-ssa.mkv
 - http://samples.mplayerhq.hu/Matroska/matrix/Matrix.Reloaded.Trailer-
 640x346-XviD-1.0beta2-HE_AAC_subtitled.mkv

 This is where libass comes in play. It provides all the rendering support
 you need. Even with a simple SRT to SSA/ASS converter it can render srt
 subtitles with advanced style.

 As for ffmpeg, it supports basic ASS/SSA subtitles by downgrading to SRT
 like basic subtitle(no advanced styling,etc.). Maybe they may incorporate
 libass with its changed license, since they don't prefer GPL but a little
 less restrictive license like LGPL(or maybe BSD too).

 Actually, I wanted to implement it as a filter to MediaKit or MediaPlayer,
 like in Windows VSFilter does, but since I'm new to Be API and there is
 not much of good documentation about MediaKit/MediaPlayer, I couldn't go
 further. Even I don't know if it is possible.

 IMO supporting libass in a native filter way would be really good for
 Haiku. Any program can use this Media Kit filter if it wants to support
 subtitle rendered w.

 Just my 2 cents.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6826#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: