question

LuisMolinaMartinez-4367 avatar image
0 Votes"
LuisMolinaMartinez-4367 asked LuisMolinaMartinez-4367 commented

Azure Video Analyzer - RTSP connectionRefused

Hi, I´m testing the Azure Video Analyzer AVA framework, it works ok with the videos in the samples, the ones allocated in the rtspsim module, but I´m not able to make it work with some external RTSP sources. I´m using this source rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov and another ones, these sources work in VLC player and in some custom programming in Python with OpenCV, so I don´t think there is an error with these sources, but still, the AVA module refuses the source, see error below

avaedge "subject": "/livePipelines/Sample-Pipeline-3/sources/rtspSource",
avaedge "eventType": "Microsoft.VideoAnalyzer.Diagnostics.NetworkError",
avaedge "eventTime": "2021-09-14T09:06:27.382Z",
avaedge "data": {
avaedge "code": "connectionRefused",
avaedge "target": "rtsp"
avaedge },

azure-iot-edge
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @LuisMolinaMartinez-4367, AVA only accepts .mkv files. Can you try testing your pipeline with a .mkv file?

1 Vote 1 ·

It works ok with mkv.

1 Vote 1 ·

Hi @LuisMolinaMartinez-4367 please can you share if you are following a specific tutorial on Azure Video Analyzer official documentation?

Please note from here that "The RTSP source node requires you to specify an RTSP URL, along with credentials to enable an authenticated connection."

Could it be the case that you need to define rtspUserName and rtspPassword ?

For example, like is done in the Tutorial: Continuous video recording and playback

 {
   "@apiVersion": "1.0",
   "name": "Sample-Pipeline-1",
   "properties": {
     "topologyName": "CVRToVideoSink",
     "description": "Sample pipeline description",
     "parameters": [
       {
         "name": "rtspUrl",
         "value": "rtsp://rtspsim:554/media/camera-300s.mkv"
       },
       {
         "name": "rtspUserName",
         "value": "testuser"
       },
       {
         "name": "rtspPassword",
         "value": "testpassword"
       }
     ]
   }
 }



0 Votes 0 ·

1 Answer

LuisMolinaMartinez-4367 avatar image
1 Vote"
LuisMolinaMartinez-4367 answered

I confirm that my issue was a networking issue with the RTSP source, so please close this thread, regarding the mkv´s, I also confirm they work ok, I was able to get the source code for the rtspsim and created new videos with this format and they work. It would be great if it can use another formats.

Regards.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.