Mailing List archive

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

[linux-dvb] AW: decode ts



Hi,

>I need to decode ts information (such as sync byte, pid, transport error 
>indicator and so on) from  a  unsigned char buffer[188] read from fd_demux;

>How could I do that? Thanks.

struct dvb_ts_header {

	u32 synch_byte: 8;
	u32 transport_error_indicator: 1;
	u32 payload_unit_start_indicator: 1;
	u32 transport_priority: 1;
	u32 PID: 13;
	u32 transport_scrambling_control: 2;
	u32 adaptation_field: 1;
	u32 payload: 1;
	u32 continuity_counter: 4;

};

Hope that helps.

Bye,
   Florian




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



Home | Main Index | Thread Index