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: Unable to run RTSP streaming demo

Part Number: SK-TDA4VM
Other Parts Discussed in Thread: TDA4VM

Hello, similar to this thread: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1122288/sk-tda4vm-can-not-connect-to-camera-use-rtsp-protocol?tisearch=e2e-sitesearch&keymatch=tda4vm%252520rtsp#

I am unable to run the RTSP demo with an RTSP stream (I've tried running an RTSP server on my phone and confirmed it worked with a Jetson Nano as well as with a Wyze camera with RTSP firmware).

When I run the demo, I get the following on the console:

root@tda4vm-sk:/opt/edge_ai_apps/apps_python# ./app_edgeai.py ../configs/rtsp_src_example.yaml

 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 !!!
  6385.887135 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
  6385.887183 s:  VX_ZONE_INIT:Enabled
  6385.887190 s:  VX_ZONE_ERROR:Enabled
  6385.887195 s:  VX_ZONE_WARNING:Enabled
  6385.887845 s:  VX_ZONE_INIT:[tivxInitLocal:145] Initialization Done !!!
  6385.890192 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
==========[INPUT PIPELINE(S)]==========

[ERROR] Error pulling tensor from GST Pipeline
[PIPE-0]

rtspsrc location=rtsp://admin:admin@192.168.86.33:1935 latency=0 proxy-id=None proxy-pw=None name=source0


==========[OUTPUT PIPELINE]==========

appsrc do-timestamp=True format=3 block=True name=post_0 ! tiovxdlcolorconvert ! capsfilter caps="video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720;" ! queue ! mosaic_0.sink_0

tiovxmosaic target=1 background=/tmp/background_0 name=mosaic_0
sink_0::startx="<320>" sink_0::starty="<180>" sink_0::widths="<1280>" sink_0::heights="<720>"
! capsfilter caps="video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080;" ! kmssink sync=False max-lateness=5000000 qos=True processing-deadline=15000000 driver-name=tidss connector-id=48 plane-id=49

  6395.408806 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:107] De-Initialization Done for HOST !!!
  6395.413288 s:  VX_ZONE_INIT:[tivxDeInitLocal:223] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
DDR_SHARED_MEM: Alloc's: 31 alloc's of 82917384 bytes
DDR_SHARED_MEM: Free's : 31 free's  of 82917384 bytes
DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes
DDR_SHARED_MEM: Total size: 536870912 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!

It doesn't look like the rtspsrc is formed correctly so I'm wondering if there is a config file somewhere that I need to update.  I didn't follow the link to run as rtsp server on a linux machine, as I would prefer to use existing RTSP servers that I have already tested in other environments.

thanks,
Justin

  • Hi Justin,

    Could you please consider creating RTSP streamer on linux machine, and run the default example present in sdk ?

    Here is the detailed documentation on how to setup RTSP streamer on Linux machine (link).

    We have tested RTSP streamer on linux machine this will help us to verify some basic functionality which is known to work on your system.

    Regards,

    Pratik

  • Hi, I created an RTSP streamer on my Jetson Nano following the instructions provided, and I was able to run the streaming example on the board.  Is that the only way to stream at this time?  I only have the test example working and haven't figured out how to stream the camera image yet.

  • Hi Justin,

    We have tested RTSP streamer running on linux machine from our side.

    Could you please let us know which camera sensor you are working with specific to this RTSP demo you tried is it compatible RTSP protocol ?

    Have you tried streaming camera from linux machine and if yes what was the gstreamer pipeline for that ?

    --

    Pratik

  • Hi Pratik, I was able to get the RTSP example running with a USB camera running on the Jetson Nano (see photo below).  I didn't get it working with a Raspberry Pi camera connected to CSI port, but that is a gstreamer pipeline issue that I need to figure out, and not related to the TI TDA4VM.  Thank you for your help!  If you have a RPi camera gstreamer pipeline that streams RTSP from a linux box that you could share, I would appreciate!  Thanks!