The TI E2E™ design support forums will undergo maintenance from Sept. 28 to Oct. 2. If you need design support during this time, contact your TI representative or open a new support request with our customer support center.

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.

SK-TDA4VM: Can not connect to camera use RTSP protocol

Part Number: SK-TDA4VM

Dear experts,

I have a camera IP with the RTSP protocol (Reolink E1 Pro).

It can be streaming video using VLC player with the URL:

   rtsp://admin:password@192.168.101.12:554//h264Preview_01_main

However, I cannot run a demo example, with RTSP.

   ./app_edgeai.py ../configs/rtsp_src_example.yaml

The example does not work.

( I replace the default URL with the camera's URL).

  • Hi Kevin,

    Could you share the logs from running the demo?

    Also, in the comments in rtsp_src_example.yaml, there is an example for how to create a RTSP streamer. Are you able to reference that to create a RTSP stream?

    Regards,

    Takuma

  • Hi,

    I use the camera Reolink E1 Pro: https://reolink.com/product/e1-pro

    This is a camera support RTSP stream so I do not need to create an RTSP streamer on Linux.

    URL: rtsp://admin:password@192.168.101.13:554/h264Preview_01_main

    I tested it by VLC, and it works.

    When I run the example

    ./app_edgeai.py ../configs/rtsp_src_example.yaml

    It exits and it does not work.

    The logs:

    Number of subgraphs:1 , 129 nodes delegated out of 129 nodes 
     
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=5) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
      3043.589234 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
      3043.589302 s:  VX_ZONE_INIT:Enabled
      3043.589311 s:  VX_ZONE_ERROR:Enabled
      3043.589318 s:  VX_ZONE_WARNING:Enabled
      3043.589914 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
      3043.590136 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
    [GST SRC STR]
    [FLOW 0]
    rtspsrc location=rtsp://admin:smarthome@192.168.101.13:554/h264Preview_01_main latency=0 buffer-mode=auto ! rtph264depay ! h264parse ! v4l2h264dec ! video/x-raw, format=NV12 !tiovxmultiscaler name=split_01 
    split_01. ! queue ! video/x-raw, width=320, height=320 ! tiovxdlpreproc data-type=3 target=0 channel-order=1 tensor-format=rgb out-pool-size=4 ! application/x-tensor-tiovx ! appsink name=pre_0 max-buffers=2 drop=true 
    split_01. ! queue ! video/x-raw, width=1280, height=720 ! tiovxdlcolorconvert target=1 out-pool-size=4 ! video/x-raw, format=RGB ! appsink name=sen_0 max-buffers=2 drop=true 
    
    [GST SINK STR]
    appsrc format=GST_FORMAT_TIME is-live=true block=true do-timestamp=true name=post_0 ! tiovxdlcolorconvert ! video/x-raw,format=NV12, width=1280, height=720 ! queue ! mosaic_0.sink_0 
    tiovxmosaic name=mosaic_0 background=/tmp/background_0
    sink_0::startx=320  sink_0::starty=180  sink_0::width=1280   sink_0::height=720  
    ! video/x-raw,format=NV12, width=1920, height=1080 ! kmssink sync=false driver-name=tidss 
    
      3050.547804 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:100] De-Initialization Done for HOST !!!
      3050.552280 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
    APP: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... Done !!!
    IPC: Deinit ... !!!
    IPC: DeInit ... Done !!!
    MEM: Deinit ... !!!
    MEM: Alloc's: 28 alloc's of 70656496 bytes 
    MEM: Free's : 28 free's  of 70656496 bytes 
    MEM: Open's : 0 allocs  of 0 bytes 
    MEM: Deinit ... Done !!!
    APP: Deinit ... Done !!!
    

  • Hi Kevin,

    Apologies for the confusion, what I meant was for pure debugging purposes, could you manually create the RTSP streamer on Linux and run the default example included with the SDK? 

    I would like to make sure that some baseline application that is known to work can be ran on your system to verify basic functionality of the system.

    Regards,

    Takuma