neolink icon indicating copy to clipboard operation
neolink copied to clipboard

Reolink E1 Base, unable to get stream working

Open markhermeling opened this issue 6 months ago • 1 comments

neolink starts and can connect to the E1 Base.

When I connect VLC to it via rtsp://:/Inside2/subStream, there is an error from VLC: Your input can't be opened VLC is unable to open the MRL 'rtsp://192.168.40.10:8888/Inside2/subStream'. Check the log for details.

ffmpeg says: [rtsp @ 0x7fed522044c0] method DESCRIBE failed: 503 Service Unavailable [in#0 @ 0x7fed52204300] Error opening input: Server returned 5XX Server Error reply Error opening input file rtsp://192.168.40.10:8888/Inside2/sub. Error opening input files: Server returned 5XX Server Error reply

Camera is at the latest firmware. Debug log is below with

export RUST_LOG = debug export GST_DEBUG=3

Unclear to me if the WARN messages are significant and/or what the root cause of the ERROR messages are. Happy to provide more info.

This is on a Ubuntu 24.04.1 LTS VM that is also running Frigate: Linux frigate 6.8.0-60-generic #63-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 19:04:15 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Configuration is: bind = "0.0.0.0" bind_port = 8888

[[cameras]] name = "Inside2" username = "admin" password = "*" address = "192.168.40.13" uid = "" format = "h264" #debug = true stream = "subStream" push_notifications = false

The camera works fine through the Reolink app.

/opt/neolink/neolink --version [2025-05-31T22:52:28Z INFO neolink] Neolink 7158943fc8b86a3d7ffe72248945540ddc4e80f0 release neolink 0.6.3-rc.2

Debug log: [2025-05-31T22:49:04Z INFO neolink_core::bc_protocol] Inside2: TCP Discovery success at 192.168.40.13:9000 [2025-05-31T22:49:04Z INFO neolink::utils] Inside2: Logging in [2025-05-31T22:49:04Z DEBUG neolink_core::bc_protocol::login] Populating abilities [2025-05-31T22:49:04Z DEBUG neolink_core::bc_protocol::abilityinfo] Abilities: <AbilityInfo><userName>admin</userName><subModule><abilityValue>general_rw, norm_rw, version_ro, uid_ro, autoReboot_rw, restore_rw, reboot_rw, shutdown_rw, dst_rw, log_ro, performance_ro, upgrade_rw, export_rw, import_rw, bootPwd_rw</abilityValue></subModule><subModule><abilityValue>port_rw, dns_rw, email_rw, ipFilter_rw, localLink_rw, pppoe_rw, upnp_rw, wifi_rw, ntp_rw, netStatus_rw, ptop_rw, autontp_rw</abilityValue></subModule><subModule><channelId>0</channelId><abilityValue>motion_rw</abilityValue></subModule><subModule><channelId>0</channelId><abilityValue>ispBasic_rw, ispAdvance_rw, ledState_rw</abilityValue></subModule><subModule><abilityValue>user_rw, userOnline_rw, bootPwd_rw</abilityValue></subModule><PTZ><subModule><abilityValue>control_rw, preset_rw, cruise_rw, track_rw, decoder_rw, ptzInfo_ro</abilityValue></subModule></PTZ><subModule><channelId>0</channelId><abilityValue>preview_rw, compress_rw, snap_rw, rtsp_rw, streamTable_ro</abilityValue></subModule></AbilityInfo> [2025-05-31T22:49:04Z INFO neolink::utils] Inside2: Connected and logged in [2025-05-31T22:49:06Z INFO neolink::common::camthread] Inside2: Camera time is already set: 2025-05-31 18:49:05.0 +05:00:00 [2025-05-31T22:49:08Z INFO neolink::common::neocam] Inside2: Model E1 [2025-05-31T22:49:08Z INFO neolink::common::neocam] Inside2: Firmware Version v3.1.0.4450_2412233625 [2025-05-31T22:49:09Z DEBUG neolink::rtsp::gst::factory] Constructing Factor Impl [2025-05-31T22:49:09Z DEBUG neolink::rtsp::gst::factory] Adding anonymous as permitted user [2025-05-31T22:49:09Z DEBUG neolink::rtsp::stream] Path: /Inside2/sub [2025-05-31T22:49:09Z DEBUG neolink::rtsp::stream] Path: /Inside2/Sub [2025-05-31T22:49:09Z DEBUG neolink::rtsp::stream] Path: /Inside2/subStream [2025-05-31T22:49:09Z DEBUG neolink::rtsp::stream] Path: /Inside2/SubStream [2025-05-31T22:49:09Z DEBUG neolink::rtsp::stream] Path: /Inside2/Substream [2025-05-31T22:49:09Z DEBUG neolink::rtsp::stream] Path: /Inside2/substream [2025-05-31T22:49:09Z DEBUG neolink::rtsp::stream] Path: /Inside2 [2025-05-31T22:49:09Z INFO neolink::rtsp::stream] Inside2: Available at /Inside2/sub, /Inside2/Sub, /Inside2/subStream, /Inside2/SubStream, /Inside2/Substream, /Inside2/substream, /Inside2 [2025-05-31T22:49:19Z DEBUG neolink::rtsp::factory] buffer_size: 98304, bitrate: 393216 [2025-05-31T22:49:19Z DEBUG neolink::rtsp::factory] Building H264 Pipeline [2025-05-31T22:49:19Z DEBUG neolink::rtsp::factory] Building Aac pipeline 0:00:14.384212141 4114992 0x738448000b70 WARN GST_RUST element_factory.rs:285:gstreamer::element_factory::ElementBuilder::build::{{closure}}: element factory 'fallbackswitch' not found 0:00:14.387983877 4114992 0x738448000f50 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id 0:00:14.388228867 4114992 0x738448000f50 WARN GST_PADS gstpad.c:4392:gst_pad_peer_query:audsrc:src could not send sticky events 0:00:14.390064510 4114992 0x738448001150 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id 0:00:14.390184566 4114992 0x738448001150 WARN GST_PADS gstpad.c:4392:gst_pad_peer_query:vidsrc:src could not send sticky events 0:00:34.390796326 4114992 0x738448000b70 WARN rtspmedia rtsp-media.c:3881:wait_preroll: failed to preroll pipeline 0:00:34.391136542 4114992 0x738448000b70 WARN rtspmedia rtsp-media.c:4251:gst_rtsp_media_prepare: failed to preroll pipeline 0:00:34.397820395 4114992 0x738448000b70 ERROR rtspclient rtsp-client.c:1117:find_media: client 0x73843c006350: can't prepare media 0:00:34.398599229 4114992 0x738448000b70 ERROR rtspclient rtsp-client.c:3412:handle_describe_request: client 0x73843c006350: no media 0:00:34.399574551 4114992 0x738448000b70 ERROR rtspclient rtsp-client.c:1073:find_media: client 0x73843c009230: no factory for path /inside2/substream 0:00:34.399734554 4114992 0x738448000b70 ERROR rtspclient rtsp-client.c:3127:handle_setup_request: client 0x73843c009230: media '/inside2/substream' not found [2025-05-31T22:50:04Z DEBUG neolink::rtsp::factory] buffer_size: 98304, bitrate: 393216 [2025-05-31T22:50:04Z DEBUG neolink::rtsp::factory] Building H264 Pipeline [2025-05-31T22:50:04Z DEBUG neolink::rtsp::factory] Building Aac pipeline 0:01:00.210349390 4114992 0x738448000b70 WARN GST_RUST element_factory.rs:285:gstreamer::element_factory::ElementBuilder::build::{{closure}}: element factory 'fallbackswitch' not found 0:01:00.212680979 4114992 0x738448000f50 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id 0:01:00.212799211 4114992 0x738448000f50 WARN GST_PADS gstpad.c:4392:gst_pad_peer_query:audsrc:src could not send sticky events 0:01:00.213110558 4114992 0x738448000fb0 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id 0:01:00.213250841 4114992 0x738448000fb0 WARN GST_PADS gstpad.c:4392:gst_pad_peer_query:vidsrc:src could not send sticky events 0:01:00.472769999 4114992 0x738448001550 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:00.484975193 4114992 0x738448001350 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:00.657758201 4114992 0x738448001550 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:00.658279351 4114992 0x738448001550 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:00.658473410 4114992 0x738448001550 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:00.658612342 4114992 0x738448001550 WARN rtpsession gstrtpsession.c:2484:gst_rtp_session_chain_send_rtp_common: Can't determine running time for this packet without knowing configured latency 0:01:00.658702983 4114992 0x738448001550 WARN rtpsession gstrtpsession.c:2567:gst_rtp_session_chain_send_rtp_common: Don't have a clock yet and can't determine NTP time for this packet 0:01:00.713286496 4114992 0x738448001350 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:00.713500487 4114992 0x738448001350 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:00.713727552 4114992 0x738448001350 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:00.713816154 4114992 0x738448001350 WARN rtpsession gstrtpsession.c:2484:gst_rtp_session_chain_send_rtp_common: Can't determine running time for this packet without knowing configured latency 0:01:00.713914408 4114992 0x738448001350 WARN rtpsession gstrtpsession.c:2567:gst_rtp_session_chain_send_rtp_common: Don't have a clock yet and can't determine NTP time for this packet 0:01:00.715050717 4114992 0x738448000b70 FIXME rtspmedia rtsp-media.c:4894:gst_rtsp_media_suspend: suspend for dynamic pipelines needs fixing 0:01:00.715606146 4114992 0x738448001350 WARN rtpsession gstrtpsession.c:2567:gst_rtp_session_chain_send_rtp_common: Don't have a clock yet and can't determine NTP time for this packet 0:01:00.715719225 4114992 0x738448001350 WARN rtpsession gstrtpsession.c:2567:gst_rtp_session_chain_send_rtp_common: Don't have a clock yet and can't determine NTP time for this packet [2025-05-31T22:50:05Z INFO neolink::rtsp::stream] Buffer full on vidsrc [2025-05-31T22:50:05Z INFO neolink::rtsp::stream] Buffer full on audsrc [2025-05-31T22:50:09Z INFO neolink::rtsp::stream] Buffer full on audsrc [2025-05-31T22:50:09Z INFO neolink::rtsp::stream] Buffer full on vidsrc [2025-05-31T22:50:13Z INFO neolink::rtsp::stream] Buffer full on vidsrc [2025-05-31T22:50:13Z INFO neolink::rtsp::stream] Buffer full on audsrc 0:01:10.747354881 4114992 0x738448000b70 FIXME rtspmedia rtsp-media.c:4894:gst_rtsp_media_suspend: suspend for dynamic pipelines needs fixing 0:01:10.747467466 4114992 0x738448000b70 WARN rtspmedia rtsp-media.c:4934:gst_rtsp_media_suspend: media 0x73842c035d70 was not prepared [2025-05-31T22:50:15Z DEBUG neolink::rtsp::gst::server] New Session [2025-05-31T22:50:17Z INFO neolink::rtsp::stream] Buffer full on vidsrc [2025-05-31T22:50:17Z INFO neolink::rtsp::stream] Buffer full on audsrc [2025-05-31T22:50:19Z DEBUG neolink::rtsp::gst::server] Some("PzcE2vAq4wDViyXv"): 30689/30 [2025-05-31T22:50:21Z INFO neolink::rtsp::stream] Buffer full on audsrc [2025-05-31T22:50:21Z INFO neolink::rtsp::stream] Buffer full on vidsrc [2025-05-31T22:50:24Z DEBUG neolink::rtsp::gst::server] Some("PzcE2vAq4wDViyXv"): 25687/30 [2025-05-31T22:50:25Z INFO neolink::rtsp::stream] Buffer full on audsrc 0:01:20.764722433 4114992 0x738448001350 WARN GST_PADS gstpad.c:4392:gst_pad_peer_query:udpsrc0:src could not send sticky events 0:01:20.765194481 4114992 0x738448000f50 WARN GST_PADS gstpad.c:4392:gst_pad_peer_query:udpsrc1:src could not send sticky events 0:01:20.767332729 4114992 0x738448001550 WARN GST_PADS gstpad.c:4392:gst_pad_peer_query:udpsrc2:src could not send sticky events 0:01:20.771530719 4114992 0x738448001750 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id 0:01:20.771786370 4114992 0x738448001950 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:20.773099027 4114992 0x738448001d50 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id 0:01:20.773411896 4114992 0x738448001b50 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:20.925355159 4114992 0x738448001b50 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:20.925913011 4114992 0x738448001b50 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:20.926133638 4114992 0x738448001b50 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:20.926265175 4114992 0x738448001b50 WARN rtpsession gstrtpsession.c:2484:gst_rtp_session_chain_send_rtp_common: Can't determine running time for this packet without knowing configured latency 0:01:20.926327122 4114992 0x738448001b50 WARN rtpsession gstrtpsession.c:2567:gst_rtp_session_chain_send_rtp_common: Don't have a clock yet and can't determine NTP time for this packet 0:01:24.919981148 4114992 0x738448001950 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:24.920198259 4114992 0x738448001950 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:24.920461974 4114992 0x738448001950 WARN rtspstream rtsp-stream.c:5381:rtp_pad_blocking: Passing event. 0:01:24.920564013 4114992 0x738448001950 WARN rtpsession gstrtpsession.c:2484:gst_rtp_session_chain_send_rtp_common: Can't determine running time for this packet without knowing configured latency 0:01:24.920622821 4114992 0x738448001950 WARN rtpsession gstrtpsession.c:2567:gst_rtp_session_chain_send_rtp_common: Don't have a clock yet and can't determine NTP time for this packet 0:01:24.921491412 4114992 0x738448000b70 FIXME rtspmedia rtsp-media.c:3149:gst_rtsp_media_seek_trickmode:GstRTSPMedia@0x73842c035d70 Handle going back to 0 for none live not seekable streams. [2025-05-31T22:50:29Z DEBUG neolink::rtsp::gst::server] Some("PzcE2vAq4wDViyXv"): 30701/30 [2025-05-31T22:50:34Z DEBUG neolink::rtsp::gst::server] Some("PzcE2vAq4wDViyXv"): 25701/30 [2025-05-31T22:50:39Z DEBUG neolink::rtsp::gst::server] Some("PzcE2vAq4wDViyXv"): 20700/30 [2025-05-31T22:50:44Z DEBUG neolink::rtsp::gst::server] Some("PzcE2vAq4wDViyXv"): 15700/30

markhermeling avatar May 31 '25 23:05 markhermeling