[linux-dvb] hdtv scanning

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sun Nov 5 17:25:25 CET 2006

Nico Sabbi wrote:
> Klaus Schmidinger wrote:
>> Hmm, I would have expected that information to be in there somewhere.
>> The decoder should be able to detect the encoding of the data stream
>> by itself, without the application having to tell it what the data
>> actually is.
>> Klaus
> from an application point of view it makes more sense to follow the model:
> decode_pat()
> foreach program
> {
>  decode_pmt() ==> identify the codec used by the stream_type
> }
> Moreover, the pes headers in mpeg2 are already overbloated with 90% of 
> useless crap;
> adding more stuff would have been a bad choice, IMO.

Well, that might be feasible for live viewing, but what
about replaying a recording? There is no PAT/PMT in a


More information about the linux-dvb mailing list