Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: How to determine PAL/NTSC
Johannes Stezenbach wrote:
>
> Klaus Schmidinger wrote:
> >
> > In order to use the right offset dynamically I would need a way to determine
> > whether the currently displayed video on the DVB card is in PAL or NTSC mode.
> > Is there a way to get this information from the DVB driver?
>
> You could use VIDEO_GET_SIZE (or listen to video events) and look at
> the picture height. There is no way to get the frame rate with the
> V3 API.
>
> Johanes
I'm not actually after the frame rate, it's the distinction between PAL and
NTSC that I need. If doing something like "anything < 500 lines is NTSC" is
reliable to distinguish between the two, that's just fine.
I'll give it a try.
Klaus
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index