Mailing List archive

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

[linux-dvb] Re: Help for PMT needed




OK, tonight I will post it.

Thanks,
		Nico

On Fri, 8 Aug 2003, Kamil Burzynski wrote:

>
> ----- Original Message -----
> From: "Nico" <sabbi@cs.unibo.it>
> To: <linux-dvb@linuxtv.org>
> Sent: Thursday, August 07, 2003 11:51 AM
> Subject: [linux-dvb] Help for PMT needed
>
>
> > if the TS packet has the PUSI field set then I consider that packet as the
> > start of a PMT section;
> > now, after having read and verified the values of pointer (skip bytes),
> > SSI  and version_number,
> > I calculate the value of section_length and if it's > 183-SKIP then
> > I try to read from the TS the next packet of PMT_PID where PUSI is not set
> > (to complete the section of the PMT with the same version number).
> >
> > The problem is that although the value of section_length is large,
> > there's NO packet with PUSI not set, so the sections are always
> > incomplete.
> >
> > The questions are:
> > am I proceeding the right way to read the PMT? and if so, is my case
> > covered in the standard ? How do I recognize where a section begins and
> > where it ends?
>
> I'm not familiar with linuxdvb driver itself, i'm just doing similar things
> (i.e. PSI/SI analyzing/generation) in my software.
>
> However, it seems for me that:
>
> a) Some packets are missing in your input data (e.g. due to wrong filters only
> PUSI packets are retrieved or something similar)
>
> or
>
> b) You are parsing PMT in a wrong way - for example PMT can be small and fit
> into single 188 packet.
>
> Can you post hexdump of single PUSI packet which you are trying to parse?
>
> Best regards from
> Kamil Burzynski
> Senior Design Engineer
> Advanced Digital Broadcast Poland, LTD.
>   - -
> "Yes, I'm criminal. My crime is that of curiosity."
>
>
> --
> Info:
> To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
>
>



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index