bino-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bino-list] SubTitles?


From: Martin Lambers
Subject: Re: [Bino-list] SubTitles?
Date: Sun, 06 Mar 2011 09:21:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

Hi!

On 06/03/11 00:39, Joe wrote:
> I was looking how to implement subtitles support and found support for 
> subtitles (.srt) decoding only in git version of ffmpeg (srt decoding appears 
> to be missing even in latest gentoo unstable version 0.6_p25767). Am I 
> missing 
> something? Or is it better to us some other subtitle decoding library? And 
> what about subtitles rendering library, don't you have some hint?

I did not yet look into subtitles in detail, but I think we can stick to
what FFmpeg provides. Version 0.6.1 seems to have support for subtitles,
but I don't know about .srt files (what are those? where are they
used?). FFplay apparently handles subtitless, and we could take a look
how it is done there.

Some subtitle formats are stored in text form, while others are stored
in a fixed bitmap form. I don't know how FFmpeg handles these two, but
bitmaps could be put into a texture and overlayed onto the
color-corrected video texture, and text could be rendered with an OpenGL
font rendering library. I'd rather not use Qt's built-in text rendering
for this, so that we can make subtitles work also with Equalizer. FTGL
seems to be widely used:
<http://sourceforge.net/apps/mediawiki/ftgl/index.php?title=Main_Page>.

Martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]