This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RDK 4.0 Vsys_registerEventHandler & Tamper detection

Other Parts Discussed in Thread: TVP5158

Hi Group,

I'm currently using the UDWorks DM 8168 DVR-RDK and the latest TI - RDK 4.0.0.3

I've written a DVR application that is based on the VCAP_VENC_VDIS demo use case.

The app is running stable and does generate H264 video streams (D1 & CIF). But I have the following problems:

1.

When I register the vsys event handler (Vsys_registerEventHandler), I do not receive other events than the VSYS_EVENT_HDMI_TV_CONNECTED & VSYS_EVENT_HDMI_TV_DISCONNECTED. I did expect to also receive video loss & tampering events. But no events are triggered when covering or disconnecting a camera.

I also have the scd thread running and I do receive tamper results by decoding the VALG_FRAMERESULTBUF_S from the Scd_bitsWriteMain function. Also by calling the Vcap_getVideoSourceStatus I receive the correct video status.

2.

When I start the system with a camera covered, the VALG_FRAMERESULTBUF_S  does not report that the signal is tampered. When I uncover the camera I sometimes do receive a pChResult->frmResult & ALG_LINK_SCD_DETECTOR_TAMPER result, so it's kind of reversed logic here.

When the system is started and no cameras are covered/tampered, everything works as expected. So I expect the setup to be correct.

Do I miss any information? Any hints to my problems?

Thanks in advance & best regards

Frank

  • Video Loss Event and Tamper Event are not reported as events by DVR RDK . These event enums should have been deleted.

     

    Video Loss Event on Camera Plugout:

    The Video Loss is detected by the external video decoder which is board specific.It is expected that customer implement the Vcap_getVideoSourceStatus according to the external video decoder used on the board.

    TVP5158 external video decoder is used in UD DVR and the implementation of Vcap_getVideoSourceStatus for TVP5158 is part of the DVR package.

    Your current approach to poll Vcap_getVideoSourceStatus is the right approach.

    Tamper Detection:

    VALG_FRAMERESULTBUF_S is the correct way to determine tamper.Tamper is not reported as an event.

     

    We will check the behavior of point (2). This was a issue with older release and should have been resolved. DVR RDK 4.01 is the latest release.