very kludgy. I think you have to look at the video when the conditions that
you mention exist and detect the presence of similar video to generate the
error message/alert. Eg. if loss of video results in a blue screen being
sent, grab frames at regular intervals, check a few pixels at different
locations for colour, and if they are all blue raise the error/alert. If the
image freezes, compare with previously sampled values. Similarly for sound,
try using code from one of the many 'oscilloscope' samples going around and
raise the alert when the values do not exceed a set threshold for a while
(you'll get some noise when the mic is disconnected). Remember that long
periods of silence are frequently encountered and are not necessary a fault
condition. (I saw an 'art' film once which had nothing on the sound track
for the first 15 minutes!). Same for 'frozen' video.
HTH
Sujit
"Cor" <no*@non.com> wrote in message
news:3f******** **************@ reader20.wxs.nl ...
Hi,
I think first of all make a list in what circumstances, because your
sample looks now a little like a question
"I want a message on my screen when there is no power."
I dont think much people can answer that qeustion with so little
information.
Cor