[MPlayer-users] Analyzing media streams

Nico Sabbi nicola_sabbi at fastwebnet.it
Sun Jul 8 23:17:27 CEST 2007


Reimar Döffinger wrote:
> Hello,
> On Sun, Jul 08, 2007 at 09:55:08PM +0200, Fredrik Johansson wrote:
> [...]
> Have a look at TOOLS/midentify in the MPlayer sources.
> 
> 
> 
>>* Service method (DVB, ATSC etc)
> 
> 
> Do DVB and ATSC captures even result in different data? I guess it
> depends on how you capture it though.

they are both mpegts, but they store information data in different formats

> 
>>Subtitles
>>Type (dvb-subtitling, teletext or both?)
> 
> 
> Why especially these choices?
> No idea how DVB does it, but teletext is not normally stored anywhere
> when you record... Though you could just check for a black border with
> white flicker in the top of the image (and whoever encoded this deserves
> a severe punishment for wasting loads of bits).
> Or possibly you meant closed captions? Except the stupid way to store
> them like teletext there is also a completely different way for DVDs
> which MPlayer at least partly supports and thus should be able to tell
> you about somehow.
> For either of these you'd need a dictionary database or so to get the language
> though. In some cases even OCR before that.
> As for any other subtitles probably midentify.
> 

dvb subtitles are stored in pes streams in mpegts clearly identified 
by descriptors; adding the code to -identify them is easy




More information about the MPlayer-users mailing list