Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Format of /dev/video or where to get MPEG TS stream?
On Mon, 20 Mar 2000, Ralph Metzler wrote:
> Oops, sorry, my example was fine for IP/MPE data but for section data
> you have to use something like this:
>
> struct bitfilter filt = {
> pid,
> { section, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
> 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000},
> mode,0,
> FILTER_MEM,
> };
>
>
> where section is ((section_id << 8) | 0xff )
>
> mode is one of
>
> #define SECTION_SINGLE 0x00
> #define SECTION_CYCLE 0x02
> #define SECTION_CONTINUOS 0x04
Success! Thanks! I'm writing a scanner. I'll let you know how it goes...
---
Terry Hardie terry@gxc.com
Founder and Chief Technology officer ICQ#: 977679
Convergence Equipment Co, Manassas, VA, USA V: +1-703-361-5566
"Home of the BOB Class 4 convergence switch"
Home |
Main Index |
Thread Index