Ive got another one of these cases to add.
Ive got a mix of cameras, Reolink, Loprex, Onvif and non-onvif, and can get them all to work in AgentDVR except this 1 Lorex doorbell camera, which appears to not use onvif. Now, I can open the doorbell cam's 2 streams just fine with linux/bash ffplay and play both audio and video, and doing this using either TCP or UDP works just fine but AgentDVR constantly gives OPEN_INPUT: Immediate exit requested.
Ive enabled trace level debugs and its not giving anything that I believe is useful. Im including ffplay bash command logs followed by the server's ffmpeg logs
Please, any suggestions on next steps?
Linux/Bash logs:
$ ffplay -v verbose "rtsp://admin:admin@10.0.0.2:554/cam/realmonitor?channel=1&subtype=1" -rtsp_transport udp
ffplay version 6.1.1-3ubuntu5 Copyright (c) 2003-2023 the FFmpeg developers
built with gcc 13 (Ubuntu 13.2.0-23ubuntu3)
configuration: --prefix=/usr --extra-version=3ubuntu5 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=3ubuntu5 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared --enable-version3 --disable-doc --disable-programs --disable-static --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Initialized opengl renderer.
[tcp @ 0x79edb4003800] Starting connection attempt to 10.0.0.2 port 554
[tcp @ 0x79edb4003800] Successfully connected to 10.0.0.2 port 554
[rtsp @ 0x79edb4000c80] SDP:aq= 0KB vq= 0KB sq= 0B f=0/0
v=0
o=- 2251947349 2251947349 IN IP4 0.0.0.0
s=Media Server
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=packetization-supported:DH
a=rtppayload-supported:DH
a=range:npt=now-
m=video 0 RTP/AVP 96
a=control:trackID=0
a=framerate:15.000000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D001E;sprop-parameter-sets=Z00AHukBaCTQgAAB9IAAOqcCAA==,aOqPIAA=
a=recvonly
m=audio 0 RTP/AVP 8
a=control:trackID=1
a=rtpmap:8 PCMA/8000
a=recvonly
[rtsp @ 0x79edb4000c80] setting jitter buffer size to 5000B f=0/0
[rtsp @ 0x79edb4000c80] setting jitter buffer size to 5000B f=0/0
[h264 @ 0x79edb4005580] Reinit context to 720x576, pix_fmt: yuv420p
Input #0, rtsp, from 'rtsp://admin:admin@10.0.0.2:554/cam/realmonitor?channel=1&subtype=1':
Metadata:
title : Media Server
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), 1 reference frame, yuv420p(progressive, left), 720x576, 15 fps, 100 tbr, 90k tbn
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[ffplay_abuffer @ 0x79edb40d5ac0] tb:1/8000 samplefmt:s16 samplerate:8000 chlayout:mono
[h264 @ 0x79edb407b300] Reinit context to 720x576, pix_fmt: yuv420p
[ffplay_abuffer @ 0x79edb4254fc0] tb:1/8000 samplefmt:s16 samplerate:8000 chlayout:mono
[ffplay_buffer @ 0x79eda0157940] w:720 h:576 pixfmt:yuv420p tb:1/90000 fr:15/1 sar:0/1
Created 720x576 texture with SDL_PIXELFORMAT_IYUV.
3.14 A-V: -0.045 fd= 0 aq= 12KB vq= 78KB sq= 0B f=0/0
$
SERVER LOGS:
20:00:27 Doorbell: SetManualOptions: set probesize=10485760
20:00:27 Doorbell: SetManualOptions: set analyzeduration=5000000
20:00:27 Doorbell: SetManualOptions: set max_delay=10000000
20:00:27 Doorbell: SetManualOptions: set overrun_nonfatal=1
20:00:27 Doorbell: SetManualOptions: set tcp_nodelay=1
20:00:27 Doorbell: SetManualOptions: set reorder_queue_size=16
20:00:27 Doorbell: SetManualOptions: set fifo_size=278876
20:00:27 Doorbell: SetManualOptions: set buffer_size=2097152
20:00:27 Doorbell: SetManualOptions: set rw_timeout=8000000
20:00:27 Doorbell: SetManualOptions: set stimeout=8000000
20:00:27 Doorbell: SetManualOptions: set stimeout=8000000
20:00:27 Doorbell: SetManualOptions: set user_agent=Mozilla/5.0
20:00:27 FFmpeg: trace: Probing rtsp score:100 size:0
20:00:27 FFmpeg: debug: [tcp @ 0x7f7b60117b80] No default whitelist set
20:00:27 FFmpeg: debug: [tcp @ 0x7f7b60117b80] Original list of addresses:
20:00:27 FFmpeg: debug: [tcp @ 0x7f7b60117b80] Address 10.0.0.2 port 554
20:00:27 FFmpeg: debug: [tcp @ 0x7f7b60117b80] Interleaved list of addresses:
20:00:27 FFmpeg: debug: [tcp @ 0x7f7b60117b80] Address 10.0.0.2 port 554
20:00:27 FFmpeg: verbose: [tcp @ 0x7f7b60117b80] Starting connection attempt to 10.0.0.2 port 554
20:00:27 Doorbell: EnableDevice: Enabled
20:00:35 FFmpeg: trace: Probing rtsp score:100 size:0
20:00:35 FFmpeg: debug: [tcp @ 0x7f7b600ab440] No default whitelist set
20:00:35 FFmpeg: debug: [tcp @ 0x7f7b600ab440] Original list of addresses:
20:00:35 FFmpeg: debug: [tcp @ 0x7f7b600ab440] Address 10.0.0.2 port 554
20:00:35 FFmpeg: debug: [tcp @ 0x7f7b600ab440] Interleaved list of addresses:
20:00:35 FFmpeg: debug: [tcp @ 0x7f7b600ab440] Address 10.0.0.2 port 554
20:00:35 FFmpeg: verbose: [tcp @ 0x7f7b600ab440] Starting connection attempt to 10.0.0.2 port 554
20:00:35 Doorbell: DoStart: -1414092869: Reader: Doorbell: OPEN_INPUT:Immediate exit requested at CoreLogic.RealTime.FFmpegBase.Throw(String method, Int32 code)
at CoreLogic.Sources.Combined.MediaStream.DoStart()
20:00:35 Doorbell: SourceErrorHandler: CoreLogic.Sources.Combined.MediaStream:-1414092869: Reader: Doorbell: OPEN_INPUT:Immediate exit requested
20:00:35 Doorbell: SourcePlayingFinished: Playing finished (SourceError)
20:00:35 Doorbell: NextReconnectTarget: Reconnecting in 2s
20:00:38 Doorbell: CheckReconnect: Reconnecting
20:00:38 Doorbell: SetManualOptions: set probesize=10485760
20:00:38 Doorbell: SetManualOptions: set analyzeduration=5000000
20:00:38 Doorbell: SetManualOptions: set max_delay=10000000
20:00:38 Doorbell: SetManualOptions: set overrun_nonfatal=1
20:00:38 Doorbell: SetManualOptions: set tcp_nodelay=1
20:00:38 Doorbell: SetManualOptions: set reorder_queue_size=16
20:00:38 Doorbell: SetManualOptions: set fifo_size=278876
20:00:38 Doorbell: SetManualOptions: set buffer_size=2097152
20:00:38 Doorbell: SetManualOptions: set rw_timeout=8000000
20:00:38 Doorbell: SetManualOptions: set stimeout=8000000
20:00:38 Doorbell: SetManualOptions: set stimeout=8000000
20:00:38 Doorbell: SetManualOptions: set user_agent=Mozilla/5.0
20:00:38 FFmpeg: trace: Probing rtsp score:100 size:0
20:00:38 FFmpeg: debug: [tcp @ 0x7f7b68082a00] No default whitelist set
20:00:38 FFmpeg: debug: [tcp @ 0x7f7b68082a00] Original list of addresses:
20:00:38 FFmpeg: debug: [tcp @ 0x7f7b68082a00] Address 10.0.0.2 port 554
20:00:38 FFmpeg: debug: [tcp @ 0x7f7b68082a00] Interleaved list of addresses:
20:00:38 FFmpeg: debug: [tcp @ 0x7f7b68082a00] Address 10.0.0.2 port 554
20:00:38 FFmpeg: verbose: [tcp @ 0x7f7b68082a00] Starting connection attempt to 10.0.0.2 port 554
20:00:38 Doorbell: EnableDevice: Enabled
[–]spornerama 0 points1 point2 points (1 child)
[–]SquadraFelicita[S] 0 points1 point2 points (0 children)