HDTV w/ FF card

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

 



On Wednesday 20 April 2005 21:22, Carsten Koch wrote:
> Klaus Schmidinger wrote:
> > Carsten Koch wrote:
> >> Matthias Schwarzott wrote:
> >> ...
> >>
> >>> Or another posibility to get HDTV. How about marking a channel not be
> >>> displayable with ff-card and then showing only a black screen if such
> >>> a channel is detected.
> >>
> >> I would like that much better than a crash.  :-)
> >>
> >> The current behaviour (HDTV channels get into channels.conf
> >> automatically,
> >> if you happen to zap to such a channel innocently, the driver crashes)
> >> is not very user-friendly.
> >
> > The main question is: how do you detect a "HDTV channel" just from the
> > SI data?
>
> I do not know.
> But the femon plugin is able to display the resolution of the current
> stream, so that information is obviously available to vdr.
> Would it not be possible to show a black screen and some OSD message
> whenever the resolution of the current stream is > 720x576?
>
The simplest method I can think of is:

Every channel gets an additional value used to store one of the following 
values:

  UNKNOWN: need to test the channel
  HDTV: not playable by FF-card
  NOHDTV: playable by FF-card

If not present or channel gets added new, this value is initialized with 
UNKNOWN.

When switching to this channel for viewing it depends on the value what to do:
  HDTV: if output-device not capable of HDTV: block this attempt (or play 
sound and show error-stillframe)
  NOHDTV: continue as usual
  UNKNOWN:
    Do not set Video-PID for decoding, but for pass to userspace;
    Analyse it like femon does and decide between HDTV and NOHDTV, write value
    and continue switching as above.

The only visible effect for the user is, that the first switch to a channel is 
delayed.


But up to now I have no idea how this could be implemented.

Matthias


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux