QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
247 stars 39 forks source link

Unable to stream from E1 using the latest neolink docker image #258

Open d3vel0per opened 1 month ago

d3vel0per commented 1 month ago

Describe the bug I am unable to get RTSP working with E1 using the latest neolink docker image. Using it for the first time hence unsure if it worked with any previous images

To Reproduce Steps to reproduce the behavior. Example:

  1. Use the below docker compose file to bring up neolink
    
    version: "3"

services: neolink: container_name: neolink hostname: neolink network_mode: host image: quantumentangledandy/neolink restart: unless-stopped environment:

[[cameras]] name = "cam01" username = "admin" password = "password" uid = "alpha-numeric-id" address = "192.168.1.10" stream = "both"


2. neolink logs at startup:
```text
Running: /bin/sh -c /usr/local/bin/neolink "${NEO_LINK_MODE}" --config /etc/neolink.toml
[2024-05-15T18:19:30Z INFO  neolink] Neolink 82524a12b2a218b8d088029e19158ed9f44de9b8 release
[2024-05-15T18:19:30Z INFO  neolink::rtsp] Cam01: Rtsp Starting
[2024-05-15T18:19:30Z INFO  neolink::rtsp] Starting RTSP Server at 0.0.0.0:8554
[2024-05-15T18:19:30Z INFO  neolink::utils] Cam01: Connecting to camera at Address: 192.168.1.10, UID: alpha-numeric-id
[2024-05-15T18:19:30Z INFO  neolink_core::bc_protocol] Cam01: Trying TCP discovery
[2024-05-15T18:19:30Z INFO  neolink_core::bc_protocol] Cam01: TCP Discovery success at 192.168.1.10:9000
[2024-05-15T18:19:30Z INFO  neolink::utils] Cam01: Logging in
[2024-05-15T18:19:30Z INFO  neolink::utils] Cam01: Connected and logged in
[2024-05-15T18:19:32Z INFO  neolink::common::camthread] Cam01: Camera time is already set: 2024-05-15 14:19:32.0 +05:00:00
[2024-05-15T18:19:34Z INFO  neolink::common::neocam] Cam01: Model E1
[2024-05-15T18:19:34Z INFO  neolink::common::neocam] Cam01: Firmware Version v3.0.0.400_21062500
[2024-05-15T18:19:35Z INFO  neolink::rtsp::stream] Cam01: Available at /Cam01/main, /Cam01/Main, /Cam01/mainStream, /Cam01/MainStream, /Cam01/Mainstream, /Cam01/mainstream, /Cam01
[2024-05-15T18:19:35Z INFO  neolink::rtsp::stream] Cam01: Available at /Cam01/sub, /Cam01/Sub, /Cam01/subStream, /Cam01/SubStream, /Cam01/Substream, /Cam01/substream
  1. neolink logs after ffprobe
    0:00:44.851109946     9   0x7f94005060 WARN                GST_RUST element_factory.rs:259:gstreamer::element_factory::ElementBuilder::build::{{closure}}: element factory 'fallbackswitch' not found
    0:00:44.855223705     9   0x7f9c004760 FIXME                default gstutils.c:4031:gst_pad_create_stream_id_internal:<audsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
    0:00:44.855861298     9   0x7f9c004760 WARN                GST_PADS gstpad.c:4361:gst_pad_peer_query:<audsrc:src> could not send sticky events
    0:00:44.856745669     9   0x7f8c0020c0 FIXME                default gstutils.c:4031:gst_pad_create_stream_id_internal:<vidsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
    0:00:44.856844576     9   0x7f8c0020c0 WARN                GST_PADS gstpad.c:4361:gst_pad_peer_query:<vidsrc:src> could not send sticky events
    0:01:04.862384755     9   0x7f94005060 WARN               rtspmedia rtsp-media.c:3634:wait_preroll: failed to preroll pipeline
    0:01:04.862434014     9   0x7f94005060 WARN               rtspmedia rtsp-media.c:4004:gst_rtsp_media_prepare: failed to preroll pipeline
    0:01:04.865600977     9   0x7f94005060 ERROR             rtspclient rtsp-client.c:1115:find_media: client 0x7f940091a0: can't prepare media
    [2024-05-15T18:20:35Z INFO  neolink::rtsp::stream] Buffer full on audsrc
    0:01:04.870699995     9   0x7f94005060 ERROR             rtspclient rtsp-client.c:3412:handle_describe_request: client 0x7f940091a0: no media
    0:01:38.334614781     9   0x7f94005000 WARN                GST_RUST element_factory.rs:259:gstreamer::element_factory::ElementBuilder::build::{{closure}}: element factory 'fallbackswitch' not found
    0:01:38.337747520     9   0x7f7800e180 FIXME                default gstutils.c:4031:gst_pad_create_stream_id_internal:<audsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
    0:01:38.337965316     9   0x7fa0002240 FIXME                default gstutils.c:4031:gst_pad_create_stream_id_internal:<vidsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
    0:01:38.338070983     9   0x7fa0002240 WARN                GST_PADS gstpad.c:4361:gst_pad_peer_query:<vidsrc:src> could not send sticky events
    0:01:38.338357613     9   0x7f7800e180 WARN                GST_PADS gstpad.c:4361:gst_pad_peer_query:<audsrc:src> could not send sticky events
    0:01:58.338284627     9   0x7f94005000 WARN               rtspmedia rtsp-media.c:3634:wait_preroll: failed to preroll pipeline
    0:01:58.338373498     9   0x7f94005000 WARN               rtspmedia rtsp-media.c:4004:gst_rtsp_media_prepare: failed to preroll pipeline
    0:01:58.344873124     9   0x7f94005000 ERROR             rtspclient rtsp-client.c:1115:find_media: client 0x7f940092e0: can't prepare media
    0:01:58.346394234     9   0x7f94005000 ERROR             rtspclient rtsp-client.c:3412:handle_describe_request: client 0x7f940092e0: no media
  2. ffprobe command and output
    ffprobe rtsp://localhost:8554/cam01/sub
    ffprobe version 4.3.6-0+deb11u1+rpt5 Copyright (c) 2007-2023 the FFmpeg developers
    built with gcc 10 (Debian 10.2.1-6)
    configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-mmal --enable-neon --enable-v4l2-request --enable-libudev --enable-epoxy --enable-sand --libdir=/usr/lib/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
    libavutil      56. 51.100 / 56. 51.100
    libavcodec     58. 91.100 / 58. 91.100
    libavformat    58. 45.100 / 58. 45.100
    libavdevice    58. 10.100 / 58. 10.100
    libavfilter     7. 85.100 /  7. 85.100
    libavresample   4.  0.  0 /  4.  0.  0
    libswscale      5.  7.100 /  5.  7.100
    libswresample   3.  7.100 /  3.  7.100
    libpostproc    55.  7.100 / 55.  7.100
    [rtsp @ 0x5579701840] method DESCRIBE failed: 503 Service Unavailable
    rtsp://localhost:8554/cam01/sub: Server returned 5XX Server Error reply
  3. On one occasion ffprobe was able to get an output when I had set stream as subStream but was not able to reproduce again
    ffprobe rtsp://localhost:8554/cam01/sub
    ffprobe version 4.3.6-0+deb11u1+rpt5 Copyright (c) 2007-2023 the FFmpeg developers
    built with gcc 10 (Debian 10.2.1-6)
    configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-mmal --enable-neon --enable-v4l2-request --enable-libudev --enable-epoxy --enable-sand --libdir=/usr/lib/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
    libavutil      56. 51.100 / 56. 51.100
    libavcodec     58. 91.100 / 58. 91.100
    libavformat    58. 45.100 / 58. 45.100
    libavdevice    58. 10.100 / 58. 10.100
    libavfilter     7. 85.100 /  7. 85.100
    libavresample   4.  0.  0 /  4.  0.  0
    libswscale      5.  7.100 /  5.  7.100
    libswresample   3.  7.100 /  3.  7.100
    libpostproc    55.  7.100 / 55.  7.100
    Input #0, rtsp, from 'rtsp://localhost:8554/cam01/sub':
    Metadata:
    title           : Session streamed with GStreamer
    comment         : rtsp-server
    Duration: N/A, start: 0.200000, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 704x480, 10 fps, 10 tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: pcm_s16be, 16000 Hz, 2 channels, s16, 512 kb/s

    and at that point in time the logs looked something like this:

    Click to expand
0:00:27.506594308     8   0x7f74005980 WARN                GST_RUST element_factory.rs:259:gstreamer::element_factory::ElementBuilder::build::{{closure}}: element factory 'fallbackswitch' not found
0:00:27.510289527     8   0x7f74006300 FIXME                default gstutils.c:4031:gst_pad_create_stream_id_internal:<vidsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:27.510289472     8   0x7f78001b60 FIXME                default gstutils.c:4031:gst_pad_create_stream_id_internal:<audsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:27.510765636     8   0x7f74006300 WARN                GST_PADS gstpad.c:4361:gst_pad_peer_query:<vidsrc:src> could not send sticky events
0:00:27.511060652     8   0x7f78001b60 WARN                GST_PADS gstpad.c:4361:gst_pad_peer_query:<audsrc:src> could not send sticky events
0:00:27.778781187     8   0x7f580104c0 WARN              rtpsession gstrtpsession.c:2435:gst_rtp_session_chain_send_rtp_common:<rtpsession0> Can't determine running time for this packet without knowing configured latency
0:00:27.778838131     8   0x7f580104c0 WARN              rtpsession gstrtpsession.c:2514:gst_rtp_session_chain_send_rtp_common:<rtpsession0> Don't have a clock yet and can't determine NTP time for this packet
0:00:27.786541661     8   0x7f580102a0 WARN              rtpsession gstrtpsession.c:2435:gst_rtp_session_chain_send_rtp_common:<rtpsession1> Can't determine running time for this packet without knowing configured latency
0:00:27.786590494     8   0x7f580102a0 WARN              rtpsession gstrtpsession.c:2514:gst_rtp_session_chain_send_rtp_common:<rtpsession1> Don't have a clock yet and can't determine NTP time for this packet
0:00:27.787293823     8   0x7f74005980 FIXME              rtspmedia rtsp-media.c:4624:gst_rtsp_media_suspend: suspend for dynamic pipelines needs fixing
0:00:27.787710413     8   0x7f580102a0 WARN              rtpsession gstrtpsession.c:2435:gst_rtp_session_chain_send_rtp_common:<rtpsession1> Can't determine running time for this packet without knowing configured latency
0:00:27.787738617     8   0x7f580102a0 WARN              rtpsession gstrtpsession.c:2514:gst_rtp_session_chain_send_rtp_common:<rtpsession1> Don't have a clock yet and can't determine NTP time for this packet
0:00:27.787775931     8   0x7f580102a0 WARN              rtpsession gstrtpsession.c:2435:gst_rtp_session_chain_send_rtp_common:<rtpsession1> Can't determine running time for this packet without knowing configured latency
0:00:27.787790968     8   0x7f580102a0 WARN              rtpsession gstrtpsession.c:2514:gst_rtp_session_chain_send_rtp_common:<rtpsession1> Don't have a clock yet and can't determine NTP time for this packet
0:00:27.792913717     8   0x7f74005980 FIXME              rtspmedia rtsp-media.c:4624:gst_rtsp_media_suspend: suspend for dynamic pipelines needs fixing
0:00:27.792970698     8   0x7f74005980 WARN               rtspmedia rtsp-media.c:4663:gst_rtsp_media_suspend: media 0x7f6c07c1d0 was not prepared
0:00:27.806815618     8   0x7f58010400 FIXME                default gstutils.c:4031:gst_pad_create_stream_id_internal:<audsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:27.808089685     8   0x7f58010180 FIXME                default gstutils.c:4031:gst_pad_create_stream_id_internal:<vidsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:27.878216522     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2855 will be dropped
0:00:27.978550501     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1234 will be dropped
0:00:27.978627445     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2871 will be dropped
0:00:27.989087811     8   0x7f58010360 WARN              rtpsession gstrtpsession.c:2435:gst_rtp_session_chain_send_rtp_common:<rtpsession1> Can't determine running time for this packet without knowing configured latency
0:00:27.989130310     8   0x7f58010360 WARN              rtpsession gstrtpsession.c:2514:gst_rtp_session_chain_send_rtp_common:<rtpsession1> Don't have a clock yet and can't determine NTP time for this packet
0:00:28.079939547     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1218 will be dropped
0:00:28.080018306     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2942 will be dropped
0:00:28.181067114     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1147 will be dropped
0:00:28.181143984     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2793 will be dropped
0:00:28.282402031     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1296 will be dropped
0:00:28.282480161     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2908 will be dropped
0:00:28.383977133     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1181 will be dropped
0:00:28.384055354     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2906 will be dropped
0:00:28.485356790     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1183 will be dropped
0:00:28.485439364     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2679 will be dropped
0:00:28.586382432     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1410 will be dropped
0:00:28.586459098     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2541 will be dropped
0:00:28.688257457     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1548 will be dropped
0:00:28.688337049     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2516 will be dropped
0:00:28.789048674     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1573 will be dropped
0:00:28.789123081     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2618 will be dropped
0:00:28.890065482     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1471 will be dropped
0:00:28.890144240     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2645 will be dropped
0:00:28.990624496     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1444 will be dropped
0:00:28.990702088     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2759 will be dropped
0:00:29.091617397     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1330 will be dropped
0:00:29.091688897     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2504 will be dropped
0:00:29.192527113     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1585 will be dropped
0:00:29.192605687     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2466 will be dropped
0:00:29.294058696     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1623 will be dropped
0:00:29.294128214     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2572 will be dropped
0:00:29.409567143     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1517 will be dropped
0:00:29.409643031     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2541 will be dropped
0:00:29.523963504     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1548 will be dropped
0:00:29.524040300     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2813 will be dropped
0:00:29.625135107     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1276 will be dropped
0:00:29.625207699     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2520 will be dropped
0:00:29.725634178     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1569 will be dropped
0:00:29.725713640     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2510 will be dropped
0:00:29.826990317     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1579 will be dropped
0:00:29.827064891     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2476 will be dropped
0:00:29.927778589     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1613 will be dropped
0:00:29.927856071     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2594 will be dropped
0:00:30.029416246     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1495 will be dropped
0:00:30.029496005     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2458 will be dropped
0:00:30.131034606     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1631 will be dropped
0:00:30.131111124     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2529 will be dropped
0:00:30.231541103     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1560 will be dropped
0:00:30.231616472     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2544 will be dropped
0:00:30.333420684     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1545 will be dropped
0:00:30.333497257     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2533 will be dropped
0:00:30.434809212     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1556 will be dropped
0:00:30.434886637     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2484 will be dropped
0:00:30.535795131     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1605 will be dropped
0:00:30.535872853     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2432 will be dropped
0:00:30.637369381     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1657 will be dropped
0:00:30.637445325     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2563 will be dropped
0:00:30.739241869     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1526 will be dropped
0:00:30.739322146     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2546 will be dropped
0:00:30.839509867     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1543 will be dropped
0:00:30.839587681     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2293 will be dropped
0:00:30.940863395     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1796 will be dropped
0:00:30.940935506     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2602 will be dropped
0:00:31.042358830     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1487 will be dropped
0:00:31.042432349     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2488 will be dropped
0:00:31.144211226     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1601 will be dropped
0:00:31.144280819     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2433 will be dropped
0:00:31.245060369     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1656 will be dropped
0:00:31.245125906     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2533 will be dropped
0:00:31.345850049     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1556 will be dropped
0:00:31.345919863     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2639 will be dropped
0:00:31.447197670     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1450 will be dropped
0:00:31.447279762     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2279 will be dropped
0:00:31.547597667     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1810 will be dropped
0:00:31.547685907     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2467 will be dropped
0:00:31.648692530     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1622 will be dropped
0:00:31.648769400     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 1 Slice, Size: 2431 will be dropped
0:00:31.750231354     8   0x7f580101e0 WARN               h264parse gsth264parse.c:1522:gst_h264_parse_handle_frame:<parser> broken/invalid nal Type: 12 Filler Data, Size: 1658 will be dropped
0:00:31.852278379     8   0x7f580101e0 WARN              rtpsession gstrtpsession.c:2435:gst_rtp_session_chain_send_rtp_common:<rtpsession0> Can't determine running time for this packet without knowing configured latency
0:00:31.852329693     8   0x7f580101e0 WARN              rtpsession gstrtpsession.c:2514:gst_rtp_session_chain_send_rtp_common:<rtpsession0> Don't have a clock yet and can't determine NTP time for this packet
0:00:31.852869190     8   0x7f74005980 FIXME              rtspmedia rtsp-media.c:2902:gst_rtsp_media_seek_trickmode:<GstRTSPMedia@0x7f6c07c1d0> Handle going back to 0 for none live not seekable streams.
0:00:37.127369998     8   0x7f74005980 WARN               rtspmedia rtsp-media.c:4975:gst_rtsp_media_set_state: media 0x7f6c07c1d0 was not prepared

I tried enabling/disabling audio, switching between streams both, main and subStream but nothing worked. Also updated camera firmware to v3.0.0.2356_23062000

Expected behavior neolink docker image works with E1

Versions Neolink software: quantumentangledandy/neolink latest 7688e8085d91 Reolink camera model and firmware: E1 v3.0.0.2356_23062000

toxicantidote commented 1 month ago

I am experiencing very similar symptoms with a Reolink Argus 2E. Connection success with VLC is about 20% of attempts.

Also noticing that connecting the VLC stream and official Reolink app at the same time causes the VLC stream to lag very badly.

I am also using docker (pulled today), but I am not mapping across /etc/timezone or /etc/localtime

Versions reported by Reolink app:

CPU usage is around 5-6% (of 2x Xeon E5-2630 v2) Wi-Fi signal (as reported by AP) is -67dBm, TX 52Mbps, RX 58.5Mbps. Neolink docker host and VLC client both have wired gigabit to switch, which in turn has wired gigabit to the AP.

My debug log is here: neolink-debug.log

d3vel0per commented 1 month ago

Reverted back to 0.6.2 without using docker and it seems to work fine