Re: [matroska-devel] Re: a subtitle format

Christian HJ Wiesner <[email protected]> Thu, 06 Mar 2003 11:19:37 +0100
Newsgroups gmane.comp.multimedia.usf.devel,gmane.comp.multimedia.matroska.devel
Message-ID <[email protected]>
TO : [email protected]
TO : [email protected]

Liisachan wrote:

>Christian HJ Wiesner wrote:
>  
>
>>What about the following subtitle IDs  :
>>
>>'S_TEXT/ASCII'
>>
>>'S_TEXT/UTF8'
>>
>>'S_IMAGE/PNG'
>>
>>'S_IMAGE/BMP'
>>
>>'S_USF'
>>
>>'S_SSA'
>>
>>S_ASS'
>>
>>'S_SRT'
>>
>>Did i forget any ? Am i correct in my assumption that SRT = VobSub ?
>>
>>    
>>
>i believe "vobsub" should mean SUB+IDX too.
>
>I m not sure whether or not this is technically possible,
>but there are strong requests In CJK areas for soft-muxing a subtitle 
>file in SUB Format (.SUB) ripped by VobSub,
>in order to backup DVDs;
>because the OCR of SubRip works only for Latin Alphabet etc. and not for 
>CJK characters
>(in short, if the sub in a dvd is in Chinese, Japanese or in Korean, you 
>cannot get an SRT for it unless you type everything manually by yourself;
>instead, you will get a file with extension .SUB (this is sub data) and 
>.IDX (this is for timing if i remember correctly)
>
>The fact that you cannot mux subs in .SUB is one of the main reasons why 
>ppl in CJK areas are unhappy
> with sub supports in today's OGM.
>
>Liisachan
>

Liisachan, thanks for the input. Am i correct the .SUB file contains 
simple Bitmap images for every subtitle ? In this case the

'S_IMAGE/BMP'

codec ID could be used, and the .IDX file could simply be translated 
into matroska's block time codes, so it would disappear completely. 
Probably the easiest and best way to mux .SUB subtitles into matroska, 
and we had hardware support for this also once i manage to convince KiSS 
or Neuston to support matroska in their standalones ...

@Gabest : was it possible to include libpng into VobSub, such that the 
Bitmaps could be compressed to PNG, without altering anything ? Of 
course, matroska codec ID would then be set to

'S_IMAGE/PNG'

but the timing information ( .IDX file ) was exactly the same.

What do you guys think ? 
@Mosu : was this supportable on mplayer for Linux people ?
@BBB : doable for Gstreamer also to be able to render subs over an 
overlay mixer or such ? Or do you need the subs in the same video 
stream, so the matroska plugin has to blend them over before rendering 
to video sink ?

Regards

Christian

http://usf.corecodec.org