Hi,
I have wintv pvr usb 2.0 which streams MPEG2 video. I have a driver outputting mpeg2 stream to stdout. From this stream i want to grab a ppm at a certain interval or on demand.

1. What is the easiest way to read an mpeg stream using fobs from stdin?

2. Currently, i have my mpeg2 driver sending mpeg2 to fifo and i am reading from there.  Should i skip all the frames, set the latest frame and extract PPM?

Please help.
Thanks
PM