seydx / homebridge-camera-ui

Homebridge plugin for RTSP Cameras with HSV, motion detection support, Image Rekognition, Web UI to manage/watch streams and WebApp support
MIT License
648 stars 92 forks source link

Prebuffer issue (HSV stops working after a day) #492

Closed neuhausf closed 2 years ago

neuhausf commented 2 years ago

I have a TP-Link Tapo C210 camera which works well with your plugin. I've tried several config to minimize latenceny and maximize streaming quality. Whatever I do, the HSV motion detection (and clip recording) stops working after around a day. Streaming keeps running. I guess it's an issue with prebuffering: When I restart the prebuffer-process, the motion detection works immediatly again (without restarting HB). Probably it's an issue with audio out of sync, that's why I'm using https://github.com/seydx/homebridge-camera-ui/issues/441. I also tried some improvements for latency here https://github.com/Sunoo/homebridge-camera-ffmpeg/issues/1257

Do you have some hints?

My config: (I'm using rtsp-simple-server as a RTSP-proxy to allow multiple streams from the same cam)

  "cameras": [
    {
      "name": "Eingang",
      "manufacturer": "Tapo",
      "model": "C210",
      "motion": true,
      "motionTimeout": "",
      "unbridge": true,
      "hsv": true,
      "prebuffering": true,
      "prebufferLength": 4,
      "videoConfig": {
        "source": "-i rtsp://192.168.1.137:8554/stream1",
        "subSource": "-i rtsp://192.168.1.137:8554/stream2",
        "stillImageSource": "-i rtsp://192.168.1.137:8554/stream1",
        "readRate": false,
        "maxStreams": 2,
        "maxWidth": 1920,
        "maxHeight": 1080,
        "forceMax": false,
        "vcodec": "copy",
        "acodec": "libfdk_aac",
        "packetSize": 940,
        "audio": true,
        "debug": true,
        "maxFPS": 0,
        "rtspTransport": "tcp -use_wallclock_as_timestamps 1",
        "analyzeDuration": 0,
        "probeSize": 10000
      },
      "smtp": {
        "email": "tapo"
      },
      "videoanalysis": {
        "active": true
      },
      "mqtt": {}
    }
  ]

Non-Working:

[3/25/2022, 8:17:36 AM] [CameraUI] Eingang: Motion ON
[3/25/2022, 8:17:36 AM] [CameraUI] Eingang: Video fragments requested from HSV
[3/25/2022, 8:17:36 AM] [CameraUI] Eingang: Setting prebuffer stream as input
[3/25/2022, 8:17:36 AM] [CameraUI] Eingang: Prebuffer requested with a duration of -4s
[3/25/2022, 8:17:36 AM] [CameraUI] Eingang: Start recording...
[3/25/2022, 8:17:36 AM] [CameraUI] Eingang: Recording command: ffmpeg -hide_banner -analyzeduration 0 -probesize 500000 -f mp4 -i tcp://127.0.0.1:27800 -f mp4 -vcodec copy -bsf:a aac_adtstoasc -acodec libfdk_aac -profile:a aac_low -ar 32k -b:a 64k -ac 1 -movflags frag_keyframe+empty_moov+default_base_moof -max_muxing_queue_size 1024 -vsync cfr tcp://127.0.0.1:14127
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tcp://127.0.0.1:27800':
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:   Metadata:
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     major_brand     : iso5
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     minor_version   : 512
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     compatible_brands: iso5iso6mp41
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     title           : Stream
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     encoder         : Lavf58.45.100
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:   Duration: 07:05:00.83, start: 22641.171000, bitrate: N/A
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, 0 kb/s, 15 fps, 15 tbr, 15360 tbn, 40 tbc (default)
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     Metadata:
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:       handler_name    : VideoHandler
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 0 kb/s (default)
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     Metadata:
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:       handler_name    : SoundHandler
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: Stream mapping:
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:   Stream #0:0 -> #0:0 (copy)
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:   Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: Press [q] to stop, [?] for help
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: Output #0, mp4, to 'tcp://127.0.0.1:14127':
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:   Metadata:
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     major_brand     : iso5
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     minor_version   : 512
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     compatible_brands: iso5iso6mp41
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     title           : Stream
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     encoder         : Lavf58.45.100
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, q=2-31, 0 kb/s, 15 fps, 15 tbr, 15360 tbn, 15360 tbc (default)
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     Metadata:
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:       handler_name    : VideoHandler
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     Stream #0:1(und): Audio: aac (libfdk_aac) (LC) (mp4a / 0x6134706D), 32000 Hz, mono, s16, 64 kb/s (default)
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:     Metadata:
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:       handler_name    : SoundHandler
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang:       encoder         : Lavc58.91.100 libfdk_aac
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: Recording started
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 40156, current: 40056; changing to 40157. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 52900, current: 52856; changing to 52901. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 68996, current: 68928; changing to 68997. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 101968, current: 101808; changing to 101969. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 109960, current: 109860; changing to 109961. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 134776, current: 134576; changing to 134777. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:37 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 166952, current: 166916; changing to 166953. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:38 AM] [CameraUI] Eingang: New motion detected, resetting motion in 60s..
[3/25/2022, 8:17:38 AM] [CameraUI] Eingang: Motion data: [{"zone":"region0","percent":41.34548568725586,"sensitivity":60,"dwell":60,"forceClose":3}]}
[3/25/2022, 8:17:39 AM] [CameraUI] Eingang: frame=   92 fps= 42 q=-1.0 size=       1kB time=00:23:54.89 bitrate=   0.0kbits/s speed= 648x    
[3/25/2022, 8:17:40 AM] [CameraUI] Eingang: New motion detected, resetting motion in 60s..
[3/25/2022, 8:17:40 AM] [CameraUI] Eingang: Motion data: [{"zone":"region0","percent":41.20355987548828,"sensitivity":60,"dwell":60,"forceClose":3}]}
[3/25/2022, 8:17:41 AM] [CameraUI] Eingang: frame=  122 fps= 29 q=-1.0 size=       1kB time=00:23:56.89 bitrate=   0.0kbits/s speed= 342x    
[3/25/2022, 8:17:41 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:41 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 261640, current: 261540; changing to 261641. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:41 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:41 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 294420, current: 294396; changing to 294421. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:42 AM] [CameraUI] Eingang: New motion detected, resetting motion in 60s..
[3/25/2022, 8:17:42 AM] [CameraUI] Eingang: Motion data: [{"zone":"region0","percent":41.65668487548828,"sensitivity":59,"dwell":60,"forceClose":3}]}
[3/25/2022, 8:17:43 AM] [CameraUI] Eingang: frame=  152 fps= 24 q=-1.0 size=       1kB time=00:23:58.89 bitrate=   0.0kbits/s speed= 232x    
[3/25/2022, 8:17:43 AM] [CameraUI] Eingang: [libfdk_aac @ 0x5613639db740] Queue input is backward in time
[3/25/2022, 8:17:43 AM] [CameraUI] Eingang: [mp4 @ 0x56136386e000] Non-monotonous DTS in output stream 0:1; previous: 359416, current: 359408; changing to 359417. This may result in incorrect timestamps in the output file.
[3/25/2022, 8:17:44 AM] [CameraUI] Eingang: New motion detected, resetting motion in 60s..
[3/25/2022, 8:17:44 AM] [CameraUI] Eingang: Motion data: [{"zone":"region0","percent":41.09071350097656,"sensitivity":60,"dwell":60,"forceClose":3}]}
[3/25/2022, 8:17:45 AM] [CameraUI] Eingang: Closing recording process
[3/25/2022, 8:17:45 AM] [CameraUI] Eingang: Resetting motion sensor, because HSV closed the recording process
[3/25/2022, 8:17:45 AM] [CameraUI] Eingang: Motion OFF
[3/25/2022, 8:17:45 AM] [CameraUI] Eingang: FFMPEG socket closed during read for 8 bytes!
[3/25/2022, 8:17:45 AM] [CameraUI] Eingang: The recording process was aborted by HSV with reason "CANCELLED"

After prebuffer restart in camera-ui:

[3/25/2022, 9:28:02 AM] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":61.12456512451172,"sensitivity":40,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Eingang
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: {"error":false,"message":"Handling through extern controller.."}
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Motion ON
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Video fragments requested from HSV
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Setting prebuffer stream as input
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Prebuffer requested with a duration of -4s
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Start recording...
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Recording command: ffmpeg -hide_banner -analyzeduration 0 -probesize 500000 -f mp4 -i tcp://127.0.0.1:11616 -f mp4 -vcodec copy -bsf:a aac_adtstoasc -acodec libfdk_aac -profile:a aac_low -ar 32k -b:a 64k -ac 1 -movflags frag_keyframe+empty_moov+default_base_moof -max_muxing_queue_size 1024 -vsync cfr tcp://127.0.0.1:17340
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tcp://127.0.0.1:11616':
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:   Metadata:
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     major_brand     : iso5
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     minor_version   : 512
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     compatible_brands: iso5iso6mp41
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     title           : Stream
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     encoder         : Lavf58.45.100
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:   Duration: 00:07:09.29, start: 427.200000, bitrate: N/A
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, 3 kb/s, 15 fps, 15 tbr, 15360 tbn, 40 tbc (default)
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     Metadata:
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:       handler_name    : VideoHandler
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 0 kb/s (default)
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     Metadata:
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:       handler_name    : SoundHandler
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Stream mapping:
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:   Stream #0:0 -> #0:0 (copy)
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:   Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Press [q] to stop, [?] for help
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Recording started
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Output #0, mp4, to 'tcp://127.0.0.1:17340':
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:   Metadata:
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     major_brand     : iso5
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     minor_version   : 512
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     compatible_brands: iso5iso6mp41
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     title           : Stream
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     encoder         : Lavf58.45.100
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, q=2-31, 3 kb/s, 15 fps, 15 tbr, 15360 tbn, 15360 tbc (default)
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     Metadata:
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:       handler_name    : VideoHandler
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     Stream #0:1(und): Audio: aac (libfdk_aac) (LC) (mp4a / 0x6134706D), 32000 Hz, mono, s16, 64 kb/s (default)
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:     Metadata:
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:       handler_name    : SoundHandler
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang:       encoder         : Lavc58.91.100 libfdk_aac
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 5700, current: 5492; changing to 5701. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 30064, current: 30040; changing to 30065. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 116576, current: 116428; changing to 116577. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 124420, current: 124360; changing to 124421. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: New motion detected, resetting motion in 60s..
[3/25/2022, 9:28:02 AM] [CameraUI] Eingang: Motion data: [{"zone":"region0","percent":59.06944274902344,"sensitivity":42,"dwell":60,"forceClose":3}]}
[3/25/2022, 9:28:03 AM] [CameraUI] Eingang: frame=   62 fps= 51 q=-1.0 size=     182kB time=00:00:04.06 bitrate= 366.0kbits/s speed=3.31x    
[3/25/2022, 9:28:03 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:03 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 133080, current: 133056; changing to 133081. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:03 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:03 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 140956, current: 140948; changing to 140957. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:03 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:03 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 173476, current: 173436; changing to 173477. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:04 AM] [CameraUI] Eingang: New motion detected, resetting motion in 60s..
[3/25/2022, 9:28:04 AM] [CameraUI] Eingang: Motion data: [{"zone":"region0","percent":37.60894012451172,"sensitivity":63,"dwell":60,"forceClose":3}]}
[3/25/2022, 9:28:05 AM] [CameraUI] Eingang: frame=   92 fps= 29 q=-1.0 size=     364kB time=00:00:06.06 bitrate= 490.9kbits/s speed=1.91x    
[3/25/2022, 9:28:05 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:05 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 206080, current: 206008; changing to 206081. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:05 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:05 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 243536, current: 243448; changing to 243537. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:05 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:05 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 251532, current: 251408; changing to 251533. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:07 AM] [CameraUI] Eingang: frame=  122 fps= 24 q=-1.0 size=     602kB time=00:00:08.06 bitrate= 611.0kbits/s speed=1.56x    
[3/25/2022, 9:28:07 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:07 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 268036, current: 267880; changing to 268037. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:09 AM] [CameraUI] Eingang: frame=  152 fps= 21 q=-1.0 size=     741kB time=00:00:10.06 bitrate= 602.9kbits/s speed=1.39x    
[3/25/2022, 9:28:09 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:09 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 333056, current: 332972; changing to 333057. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:09 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:09 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 382196, current: 382048; changing to 382197. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:11 AM] [CameraUI] Eingang: frame=  182 fps= 20 q=-1.0 size=     910kB time=00:00:12.06 bitrate= 618.1kbits/s speed=1.31x    
[3/25/2022, 9:28:11 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:11 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 443980, current: 443908; changing to 443981. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:13 AM] [CameraUI] Eingang: frame=  212 fps= 19 q=-1.0 size=    1094kB time=00:00:14.06 bitrate= 637.3kbits/s speed=1.25x    
[3/25/2022, 9:28:13 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:13 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 501192, current: 501008; changing to 501193. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:15 AM] [CameraUI] Eingang: frame=  242 fps= 18 q=-1.0 size=    1285kB time=00:00:16.06 bitrate= 655.4kbits/s speed=1.22x    
[3/25/2022, 9:28:15 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:15 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 550172, current: 550044; changing to 550173. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:15 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:15 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 558536, current: 558484; changing to 558537. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:15 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:15 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 566588, current: 566508; changing to 566589. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:17 AM] [CameraUI] Eingang: frame=  272 fps= 18 q=-1.0 size=    1466kB time=00:00:18.06 bitrate= 664.5kbits/s speed=1.19x    
[3/25/2022, 9:28:17 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:17 AM] [CameraUI] Eingang:     Last message repeated 1 times
[3/25/2022, 9:28:17 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 595428, current: 595372; changing to 595429. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:17 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:17 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 636572, current: 636424; changing to 636573. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:19 AM] [CameraUI] Eingang: frame=  302 fps= 18 q=-1.0 size=    1647kB time=00:00:20.06 bitrate= 672.3kbits/s speed=1.16x    
[3/25/2022, 9:28:21 AM] [CameraUI] Eingang: frame=  332 fps= 17 q=-1.0 size=    1830kB time=00:00:22.06 bitrate= 679.2kbits/s speed=1.15x    
[3/25/2022, 9:28:21 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:21 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 718144, current: 718076; changing to 718145. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:21 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:21 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 755480, current: 755376; changing to 755481. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:23 AM] [CameraUI] Eingang: frame=  362 fps= 17 q=-1.0 size=    2012kB time=00:00:24.06 bitrate= 685.0kbits/s speed=1.14x    
[3/25/2022, 9:28:23 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:23 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 804552, current: 804448; changing to 804553. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:23 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:23 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 829000, current: 828916; changing to 829001. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:25 AM] [CameraUI] Eingang: frame=  392 fps= 17 q=-1.0 size=    2195kB time=00:00:26.06 bitrate= 689.7kbits/s speed=1.12x    
[3/25/2022, 9:28:25 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:25 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 837096, current: 836992; changing to 837097. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:25 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:25 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 844972, current: 844956; changing to 844973. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:25 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:25 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 886092, current: 886004; changing to 886093. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:27 AM] [CameraUI] Eingang: frame=  422 fps= 17 q=-1.0 size=    2378kB time=00:00:28.06 bitrate= 694.0kbits/s speed=1.11x    
[3/25/2022, 9:28:27 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:27 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 949088, current: 948052; changing to 949089. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:27 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 949089, current: 949076; changing to 949090. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:29 AM] [CameraUI] Eingang: frame=  452 fps= 17 q=-1.0 size=    2560kB time=00:00:30.06 bitrate= 697.6kbits/s speed= 1.1x    
[3/25/2022, 9:28:29 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:29 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 972504, current: 972480; changing to 972505. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:29 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:29 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 980432, current: 980400; changing to 980433. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:31 AM] [CameraUI] Eingang: frame=  482 fps= 17 q=-1.0 size=    2743kB time=00:00:32.06 bitrate= 700.8kbits/s speed= 1.1x    
[3/25/2022, 9:28:31 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:31 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1054260, current: 1054052; changing to 1054261. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:33 AM] [CameraUI] Eingang: frame=  512 fps= 16 q=-1.0 size=    2926kB time=00:00:34.06 bitrate= 703.6kbits/s speed=1.09x    
[3/25/2022, 9:28:33 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:33 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1107520, current: 1107464; changing to 1107521. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:33 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:33 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1116032, current: 1115904; changing to 1116033. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:33 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:33 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1140652, current: 1140392; changing to 1140653. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:35 AM] [CameraUI] Eingang: frame=  542 fps= 16 q=-1.0 size=    3109kB time=00:00:36.06 bitrate= 706.2kbits/s speed=1.09x    
[3/25/2022, 9:28:36 AM] [CameraUI] Eingang: New motion detected, resetting motion in 60s..
[3/25/2022, 9:28:36 AM] [CameraUI] Eingang: Motion data: [{"zone":"region0","percent":36.57074737548828,"sensitivity":64,"dwell":60,"forceClose":3}]}
[3/25/2022, 9:28:37 AM] [CameraUI] Eingang: frame=  572 fps= 16 q=-1.0 size=    3292kB time=00:00:38.06 bitrate= 708.5kbits/s speed=1.08x    
[3/25/2022, 9:28:37 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:37 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1246608, current: 1246492; changing to 1246609. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:39 AM] [CameraUI] Eingang: frame=  602 fps= 16 q=-1.0 size=    3476kB time=00:00:40.06 bitrate= 710.8kbits/s speed=1.08x    
[3/25/2022, 9:28:39 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:39 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1308580, current: 1308416; changing to 1308581. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:39 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:39 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1316476, current: 1316356; changing to 1316477. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:41 AM] [CameraUI] Eingang: frame=  632 fps= 16 q=-1.0 size=    3660kB time=00:00:42.06 bitrate= 712.8kbits/s speed=1.07x    
[3/25/2022, 9:28:41 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:41 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1373620, current: 1373544; changing to 1373621. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:41 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:41 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1406036, current: 1405972; changing to 1406037. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:43 AM] [CameraUI] Eingang: frame=  662 fps= 16 q=-1.0 size=    3842kB time=00:00:44.06 bitrate= 714.2kbits/s speed=1.07x    
[3/25/2022, 9:28:43 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:43 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1414648, current: 1414524; changing to 1414649. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:45 AM] [CameraUI] Eingang: frame=  692 fps= 16 q=-1.0 size=    4025kB time=00:00:46.06 bitrate= 715.7kbits/s speed=1.07x    
[3/25/2022, 9:28:45 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:45 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1517012, current: 1516988; changing to 1517013. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:47 AM] [CameraUI] Eingang: frame=  722 fps= 16 q=-1.0 size=    4208kB time=00:00:48.06 bitrate= 717.1kbits/s speed=1.06x    
[3/25/2022, 9:28:47 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:47 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1541600, current: 1541548; changing to 1541601. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:49 AM] [CameraUI] Eingang: frame=  752 fps= 16 q=-1.0 size=    4391kB time=00:00:50.06 bitrate= 718.4kbits/s speed=1.06x    
[3/25/2022, 9:28:49 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:49 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1603472, current: 1603384; changing to 1603473. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:51 AM] [CameraUI] Eingang: frame=  782 fps= 16 q=-1.0 size=    4573kB time=00:00:52.06 bitrate= 719.5kbits/s speed=1.06x    
[3/25/2022, 9:28:51 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:51 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1669004, current: 1668928; changing to 1669005. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:53 AM] [CameraUI] Eingang: frame=  812 fps= 16 q=-1.0 size=    4757kB time=00:00:54.06 bitrate= 720.7kbits/s speed=1.06x    
[3/25/2022, 9:28:53 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:53 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1758628, current: 1758472; changing to 1758629. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:55 AM] [CameraUI] Eingang: frame=  842 fps= 16 q=-1.0 size=    4940kB time=00:00:56.06 bitrate= 721.8kbits/s speed=1.05x    
[3/25/2022, 9:28:55 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:55 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1796048, current: 1795900; changing to 1796049. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:57 AM] [CameraUI] Eingang: frame=  872 fps= 16 q=-1.0 size=    5123kB time=00:00:58.06 bitrate= 722.7kbits/s speed=1.05x    
[3/25/2022, 9:28:57 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:57 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1869120, current: 1868992; changing to 1869121. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:57 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:28:57 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1902072, current: 1901992; changing to 1902073. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:28:59 AM] [CameraUI] Eingang: frame=  902 fps= 16 q=-1.0 size=    5306kB time=00:01:00.06 bitrate= 723.7kbits/s speed=1.05x    
[3/25/2022, 9:29:01 AM] [CameraUI] Eingang: frame=  932 fps= 16 q=-1.0 size=    5489kB time=00:01:02.06 bitrate= 724.4kbits/s speed=1.05x    
[3/25/2022, 9:29:01 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:01 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 1988516, current: 1988400; changing to 1988517. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:01 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:01 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2037080, current: 2037020; changing to 2037081. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:01 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:01 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2045004, current: 2044936; changing to 2045005. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:03 AM] [CameraUI] Eingang: frame=  962 fps= 16 q=-1.0 size=    5672kB time=00:01:04.06 bitrate= 725.2kbits/s speed=1.05x    
[3/25/2022, 9:29:03 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:03 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2086132, current: 2086052; changing to 2086133. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:03 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:03 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2102700, current: 2102500; changing to 2102701. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:05 AM] [CameraUI] Eingang: frame=  992 fps= 16 q=-1.0 size=    5855kB time=00:01:06.06 bitrate= 726.0kbits/s speed=1.05x    
[3/25/2022, 9:29:07 AM] [CameraUI] Eingang: frame= 1022 fps= 16 q=-1.0 size=    6038kB time=00:01:08.06 bitrate= 726.7kbits/s speed=1.04x    
[3/25/2022, 9:29:07 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:07 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2180960, current: 2180948; changing to 2180961. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:07 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:07 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2197020, current: 2197008; changing to 2197021. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:07 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:07 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2205144, current: 2204972; changing to 2205145. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:07 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:07 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2213084, current: 2213052; changing to 2213085. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:09 AM] [CameraUI] Eingang: frame= 1052 fps= 16 q=-1.0 size=    6221kB time=00:01:10.06 bitrate= 727.4kbits/s speed=1.04x    
[3/25/2022, 9:29:11 AM] [CameraUI] Eingang: frame= 1082 fps= 16 q=-1.0 size=    6404kB time=00:01:12.06 bitrate= 728.0kbits/s speed=1.04x    
[3/25/2022, 9:29:11 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:11 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2307932, current: 2307896; changing to 2307933. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:13 AM] [CameraUI] Eingang: frame= 1112 fps= 16 q=-1.0 size=    6587kB time=00:01:14.06 bitrate= 728.5kbits/s speed=1.04x    
[3/25/2022, 9:29:13 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:13 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2397588, current: 2397496; changing to 2397589. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:13 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:13 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2405572, current: 2405496; changing to 2405573. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:13 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:13 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2414060, current: 2414028; changing to 2414061. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:15 AM] [CameraUI] Eingang: frame= 1142 fps= 16 q=-1.0 size=    6770kB time=00:01:16.06 bitrate= 729.1kbits/s speed=1.04x    
[3/25/2022, 9:29:15 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:15 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2483996, current: 2483936; changing to 2483997. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:17 AM] [CameraUI] Eingang: frame= 1172 fps= 16 q=-1.0 size=    6953kB time=00:01:18.06 bitrate= 729.6kbits/s speed=1.04x    
[3/25/2022, 9:29:17 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:17 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2533008, current: 2532964; changing to 2533009. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:19 AM] [CameraUI] Eingang: frame= 1202 fps= 16 q=-1.0 size=    7136kB time=00:01:20.06 bitrate= 730.1kbits/s speed=1.04x    
[3/25/2022, 9:29:19 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:19 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2598148, current: 2598068; changing to 2598149. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:19 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:19 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2606656, current: 2606520; changing to 2606657. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:21 AM] [CameraUI] Eingang: frame= 1232 fps= 16 q=-1.0 size=    7319kB time=00:01:22.06 bitrate= 730.6kbits/s speed=1.04x    
[3/25/2022, 9:29:21 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:21 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2627584, current: 2627524; changing to 2627585. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:21 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:21 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2644032, current: 2643404; changing to 2644033. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:23 AM] [CameraUI] Eingang: frame= 1262 fps= 16 q=-1.0 size=    7502kB time=00:01:24.06 bitrate= 731.0kbits/s speed=1.03x    
[3/25/2022, 9:29:23 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:23 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2693456, current: 2693080; changing to 2693457. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:23 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:23 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2701028, current: 2700896; changing to 2701029. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:23 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:23 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2733620, current: 2733492; changing to 2733621. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:25 AM] [CameraUI] Eingang: frame= 1292 fps= 16 q=-1.0 size=    7685kB time=00:01:26.06 bitrate= 731.5kbits/s speed=1.03x    
[3/25/2022, 9:29:25 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:25 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2811544, current: 2811468; changing to 2811545. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:27 AM] [CameraUI] Eingang: frame= 1322 fps= 16 q=-1.0 size=    7869kB time=00:01:28.06 bitrate= 731.9kbits/s speed=1.03x    
[3/25/2022, 9:29:27 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:27 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2820076, current: 2819984; changing to 2820077. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:27 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:27 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2827972, current: 2827968; changing to 2827973. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:27 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:27 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2869992, current: 2869024; changing to 2869993. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:27 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:27 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2877128, current: 2876936; changing to 2877129. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:29 AM] [CameraUI] Eingang: frame= 1352 fps= 15 q=-1.0 size=    8051kB time=00:01:30.06 bitrate= 732.3kbits/s speed=1.03x    
[3/25/2022, 9:29:29 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:29 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2885168, current: 2884940; changing to 2885169. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:31 AM] [CameraUI] Eingang: frame= 1382 fps= 15 q=-1.0 size=    8235kB time=00:01:32.06 bitrate= 732.7kbits/s speed=1.03x    
[3/25/2022, 9:29:31 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:31 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2950712, current: 2950496; changing to 2950713. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:31 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:31 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 2996392, current: 2996056; changing to 2996393. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:33 AM] [CameraUI] Eingang: frame= 1412 fps= 15 q=-1.0 size=    8418kB time=00:01:34.06 bitrate= 733.1kbits/s speed=1.03x    
[3/25/2022, 9:29:33 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:33 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 3012720, current: 3012524; changing to 3012721. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:33 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:33 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 3069084, current: 3068972; changing to 3069085. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:35 AM] [CameraUI] Eingang: frame= 1442 fps= 15 q=-1.0 size=    8600kB time=00:01:36.06 bitrate= 733.4kbits/s speed=1.03x    
[3/25/2022, 9:29:35 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:35 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 3118748, current: 3118520; changing to 3118749. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:36 AM] [CameraUI] VIDEOANALYSIS: New message: Data: {"time":"2022-03-25T08:29:36.774Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Eingang
[3/25/2022, 9:29:36 AM] [CameraUI] Eingang: {"error":false,"message":"Handling through extern controller.."}
[3/25/2022, 9:29:36 AM] [CameraUI] Eingang: Motion OFF
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: frame= 1472 fps= 15 q=-1.0 size=    8784kB time=00:01:38.06 bitrate= 733.7kbits/s speed=1.03x    
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: Recording completed (HSV)
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: New custom alert
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: [libfdk_aac @ 0x56377bff8a40] Queue input is backward in time
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: [mp4 @ 0x56377c0207c0] Non-monotonous DTS in output stream 0:1; previous: 3139588, current: 3139436; changing to 3139589. This may result in incorrect timestamps in the output file.
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: Notifications not enabled, skip Webhook..
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: Notifications not enabled, skip Alexa..
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: Recording not enabled, skip recording..
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: Recording skipped. Notification skipped.
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: Closing recording process
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: Prebuffer request ended
[3/25/2022, 9:29:37 AM] [CameraUI] Eingang: FFmpeg recording process exited (expected)
seydx commented 2 years ago

how about this config?

 "cameras": [
    {
      "name": "Eingang",
      "manufacturer": "Tapo",
      "model": "C210",
      "motion": true,
      "motionTimeout": "",
      "unbridge": true,
      "hsv": true,
      "prebuffering": true,
      "prebufferLength": 4,
      "videoConfig": {
        "source": "-use_wallclock_as_timestamps 1 -i rtsp://192.168.1.137:8554/stream1",
        "subSource": "-use_wallclock_as_timestamps 1 -i rtsp://192.168.1.137:8554/stream2",
        "stillImageSource": "-i rtsp://192.168.1.137:8554/stream1",
        "maxWidth": 1920,
        "maxHeight": 1080,
        "vcodec": "libx264",
        "acodec": "libfdk_aac",
        "audio": true,
        "debug": true,
        "rtspTransport": "tcp"
      },
      "smtp": {
        "email": "tapo"
      },
      "videoanalysis": {
        "active": true
      },
      "mqtt": {}
    }
  ]