Motion-Project / motion

Motion, a software motion detector. Home page: https://motion-project.github.io/
GNU General Public License v2.0
3.69k stars 549 forks source link

Stream are not showing correctly #1798

Closed lormayna closed 3 months ago

lormayna commented 3 months ago

Did you read the guide?

Yes

What is the base version number of Motion being used?

4.3.x

What was the install method?

Installed via package tool

What is base architecture?

x86

What is the distro being used?

Ubuntu

Disto version number

Ubuntu 22.04

Camera type(s) being used?

Network camera with RTSP

Describe the issue/problem and steps to reproduce

I cannot see correct stream via webcontrol: most of the stream is black and I can see only some pixel (blue or white) that seem to be related to motion detection (see attached screenshot) motion

In the logs, please ignore everyyhing about cam 101 that is disconnected.

Motion log output at log_level 8

[1:ml1:Interno] [INF] [ENC] [ago 10 22:17:23] ffmpeg_avcodec_log: Connection to tcp://192.168.178.51:554?timeout=0 failed: Nessun instradamento per l'host
[1:ml1:Interno] [ERR] [NET] [ago 10 22:17:23] netcam_rtsp_open_context: Risoluzione normale: impossibile aprire la telecamera ( Interno): Nessun instradamento per l'host
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:23] netcam_rtsp_cleanup: Risoluzione normale: spegnimento della telecamera di rete.
[1:ml1:Interno] [NTC] [NET] [ago 10 22:17:23] netcam_rtsp_cleanup: Risoluzione normale: spegnimento completo.
[1:ml1:Interno] [ERR] [VID] [ago 10 22:17:23] vid_start: Impossibile aprire Netcam RTSP
[1:ml1:Interno] [NTC] [ALL] [ago 10 22:17:23] motion_loop: Discussione in uscita
[3:ml3:TerrazzoDie] [INF] [ALL] Above message repeats 1 times
[2:ml2:Ingresso] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[0:motion] [NTC] [ALL] [ago 10 22:17:23] main: Thread di movimento 1 riavvio
[0:motion] [NTC] [ALL] [ago 10 22:17:23] motion_start_thread: ID videocamera: 101 proviene da /etc/motion/cameras/internal.conf
[0:motion] [NTC] [ALL] [ago 10 22:17:23] motion_start_thread: ID videocamera: 101 Nome videocamera: Interno Servizio: rtsp:
[1:ml1:Interno] [NTC] [ALL] [ago 10 22:17:23] motion_init: Fotocamera 101 avviata: rilevazione movimento Abilitato
[1:ml1:Interno] [NTC] [VID] [ago 10 22:17:23] vid_start: Apertura di Netcam RTSP
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:23] netcam_rtsp_set_parms: Impostazione del flusso Risoluzione normale.
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:23] netcam_rtsp_set_path: Impostazione rtsp tramite netcam ffmpeg
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:23] netcam_rtsp_set_rtsp: Risoluzione normale: impostazione del trasporto rtsp su udp
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[3:ml3:TerrazzoDie] [INF] [ALL] Above message repeats 1 times
[2:ml2:Ingresso] [INF] [ALL] Above message repeats 1 times
[3:ml3:TerrazzoDie] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[1:ml1:Interno] [INF] [ENC] [ago 10 22:17:27] ffmpeg_avcodec_log: Connection to tcp://192.168.178.51:554?timeout=0 failed: Nessun instradamento per l'host
[1:ml1:Interno] [ERR] [NET] [ago 10 22:17:27] netcam_rtsp_open_context: Risoluzione normale: impossibile aprire la telecamera ( Interno): Nessun instradamento per l'host
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:27] netcam_rtsp_cleanup: Risoluzione normale: spegnimento della telecamera di rete.
[1:ml1:Interno] [NTC] [NET] [ago 10 22:17:27] netcam_rtsp_cleanup: Risoluzione normale: spegnimento completo.
[1:ml1:Interno] [ERR] [VID] [ago 10 22:17:27] vid_start: Impossibile aprire Netcam RTSP
[1:ml1:Interno] [WRN] [ALL] [ago 10 22:17:27] motion_init: Impossibile recuperare l'immagine iniziale dalla fotocamera
[1:ml1:Interno] [WRN] [ALL] [ago 10 22:17:27] motion_init: Il movimento continua usando larghezza e altezza dai file di configurazione
[1:ml1:Interno] [CRT] [NET] [ago 10 22:17:27] motion_init: Substream non disponibile. Dimensioni dell'immagine non modulo 16.
[1:ml1:Interno] [NTC] [ALL] [ago 10 22:17:27] image_ring_resize: Ridimensionamento del buffer di pre acquisizione in 1 elementi
[1:ml1:Interno] [NTC] [ALL] [ago 10 22:17:27] image_ring_resize: Ridimensionamento del buffer di pre acquisizione in 4 elementi
[3:ml3:TerrazzoDie] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[1:ml1:Interno] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[1:ml1:Interno] [WRN] [ALL] [ago 10 22:17:30] mlp_retry: Nuovo tentativo fino a connessione riuscita con la fotocamera
[1:ml1:Interno] [NTC] [VID] [ago 10 22:17:30] vid_start: Apertura di Netcam RTSP
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:30] netcam_rtsp_set_parms: Impostazione del flusso Risoluzione normale.
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:30] netcam_rtsp_set_path: Impostazione rtsp tramite netcam ffmpeg
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:30] netcam_rtsp_set_rtsp: Risoluzione normale: impostazione del trasporto rtsp su udp
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[3:ml3:TerrazzoDie] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[2:ml2:Ingresso] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[3:ml3:TerrazzoDie] [INF] [ALL] Above message repeats 1 times
[1:ml1:Interno] [INF] [ENC] [ago 10 22:17:33] ffmpeg_avcodec_log: Connection to tcp://192.168.178.51:554?timeout=0 failed: Nessun instradamento per l'host
[1:ml1:Interno] [ERR] [NET] [ago 10 22:17:33] netcam_rtsp_open_context: Risoluzione normale: impossibile aprire la telecamera ( Interno): Nessun instradamento per l'host
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:33] netcam_rtsp_cleanup: Risoluzione normale: spegnimento della telecamera di rete.
[1:ml1:Interno] [NTC] [NET] [ago 10 22:17:33] netcam_rtsp_cleanup: Risoluzione normale: spegnimento completo.
[1:ml1:Interno] [ERR] [VID] [ago 10 22:17:33] vid_start: Impossibile aprire Netcam RTSP
[1:ml1:Interno] [NTC] [ALL] [ago 10 22:17:33] motion_loop: Discussione in uscita
[3:ml3:TerrazzoDie] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[4:ml4:TerrazzoDav] [INF] [ALL] Above message repeats 1 times
[0:motion] [NTC] [ALL] [ago 10 22:17:33] main: Thread di movimento 1 riavvio
[0:motion] [NTC] [ALL] [ago 10 22:17:33] motion_start_thread: ID videocamera: 101 proviene da /etc/motion/cameras/internal.conf
[0:motion] [NTC] [ALL] [ago 10 22:17:33] motion_start_thread: ID videocamera: 101 Nome videocamera: Interno Servizio: rtsp:
[1:ml1:Interno] [NTC] [ALL] [ago 10 22:17:33] motion_init: Fotocamera 101 avviata: rilevazione movimento Abilitato
[1:ml1:Interno] [NTC] [VID] [ago 10 22:17:33] vid_start: Apertura di Netcam RTSP
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:33] netcam_rtsp_set_parms: Impostazione del flusso Risoluzione normale.
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:33] netcam_rtsp_set_path: Impostazione rtsp tramite netcam ffmpeg
[1:ml1:Interno] [INF] [NET] [ago 10 22:17:33] netcam_rtsp_set_rtsp: Risoluzione normale: impostazione del trasporto rtsp su udp
[0:cn0] [DBG] [STR] [ago 10 22:17:33] webu_parseurl: URL inviato: /102/stream
[0:cn0] [DBG] [STR] [ago 10 22:17:33] webu_parseurl: URL decodificato: /102/stream
[0:cn0] [DBG] [STR] [ago 10 22:17:33] webu_parseurl: camid: >102< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [INF] [ALL] [ago 10 22:17:33] webu_clientip: Connessione da: 127.0.0.1