I'm testing video server capability to consume rtsp streamed video from security webcam.
Original url of webcam looks like rtsp://admin:123456@xxx.xxx.xxx.xxx:xxx/. Video server refuses to accept such a URL. HTTP response from browser network traffic says Input value rtsp://admin:123456@xxx.xxx.xxx.xxx:554 for parameter address is invalid. invalid server ip
So I assume username/password cannot be part of the URL. To solve this I'm using combination of MediaMTX & ffmpeg
ffmpeg -rtsp_transport tcp -i "rtsp://admin:123456@xxx.xxx.xxx.xxx:554/" -f rtsp rtsp://xxx.xxx.xxx.xxx:8554/mystream
In such scenario, rtsp steam can be added to video server, but video cannot be viewed/added to a canvas.
Adding video stream to ArcGIS Pro says: The specified file, live-stream, or video service is unavailable.
Just for curiosity, I have added rtsp://xxx.xxx.xxx.xxx:8554/mystream to VLC player on the same server machine, video can be displayed without any issues
Found this information in the C:\arcgisvideoserver\directories\arcgisvideoservices\Rebroadcast\0:
INFO: EsriLiveVideoService version 1.0 build 298391
INFO: pkgcmd=C:\Program Files\ArcGIS\Video\\framework\runtime\mediatools\packager\packager.exe
INFO: in=rtsp://xxx.xxx.xxx.xxx:8554/mystream
INFO: out=pipe
INFO: manifest=C:\arcgisvideoserver\directories\arcgisvideoservices\Rebroadcast\0\ABR\ABR.m3u8
INFO: livebuf=30
INFO: segment_legnth=6
INFO: start_offset=-10
INFO: service_wait=0
INFO: Starts service termination request monitor.
INFO: Service will be termainated after user rquest.
[rtsp @ 00000291D3BD6E80] Unable to open RTSP for listening
CRITICAL: AV_ERROR: Error -10013Unknown error
CRITICAL: EsriLiveVideoService_Error: failed to establish connection rtsp://xxx.xxx.xxx.xx:8554/mystream?listen=1&protocol=tcp.
Again, VLC can stream this url rtsp://xxx.xxx.xxx.xx:8554/mystream?listen=1&protocol=tcp.
Manifest file is absent in this folder: C:\arcgisvideoserver\directories\arcgisvideoservices\Rebroadcast\0\ABR\ABR.m3u8
Any ideas? Suggestions?
ArcGIS Enterprise 11.4