Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reolink NVR #149

Open
Nicolasdomotique opened this issue Dec 27, 2023 · 0 comments
Open

Reolink NVR #149

Nicolasdomotique opened this issue Dec 27, 2023 · 0 comments

Comments

@Nicolasdomotique
Copy link

Hi,

I have 3 reolink cameras running on a NVR at home.

I am able to see the stream in in VLC with : rtsp://admin:[email protected]:554/h264Preview_01_main.

I can change the channel of the NVR by changing Preview_01_main by Preview_02_main ect...

below my code:

mqtt:

host: 192.168.1.14
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt-user
password: password
stats_interval: 60

##########################################################################

go2rtc:
streams:
reolink:
- "ffmpeg:http://192.168.1.53/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=password#video=copy#audio=copy#audio=opus"
your_reolink_camera_sub:
- "ffmpeg:http://192.168.1.53/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=password"

##########################################################################

cameras:
reolink:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/your_reolink_camera?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/your_reolink_camera_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect

detect:
enabled: True
width: 640
height: 480
fps: 5

record:
enabled: true
retain:
days: 3
mode: motion
events:
pre_capture: 5
post_capture: 5
retain:
default: 3
mode: active_objects

snapshots:
enabled: true
timestamp: true
bounding_box: true
retain:
default: 3
mode: all
objects:
person: 3
dog: 2

And I have the following error in the log

2023-12-27 14:05:21.809913918 [2023-12-27 15:05:21] ffmpeg.reolink.detect ERROR : [rtsp @ 0x559208e090] method DESCRIBE failed: 404 Not Found
2023-12-27 14:05:21.810700969 [2023-12-27 15:05:21] ffmpeg.reolink.detect ERROR : rtsp://127.0.0.1:8554/your_reolink_camera_sub?video=copy: Server returned 404 Not Found
2023-12-27 14:05:21.847050530 [2023-12-27 15:05:21] watchdog.reolink ERROR : No new recording segments were created for reolink in the last 120s. restarting the ffmpeg record process...
2023-12-27 14:05:21.847941412 [2023-12-27 15:05:21] watchdog.reolink INFO : Terminating the existing ffmpeg process...
2023-12-27 14:05:21.848829684 [2023-12-27 15:05:21] watchdog.reolink INFO : Waiting for ffmpeg to exit gracefully...
2023-12-27 14:05:22.515574124 15:05:22.515 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="exec: exit status 1" url=ffmpeg:http://192.168.1.53/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=password
2023-12-27 14:05:22.515645179 15:05:22.515 WRN [rtsp] error="source 0 error: exec: exit status 1" stream=your_reolink_camera_sub
2023-12-27 14:05:22.532457173 [2023-12-27 15:05:22] frigate.video ERROR : reolink: Unable to read frames from ffmpeg process.
2023-12-27 14:05:22.533426351 [2023-12-27 15:05:22] frigate.video ERROR : reolink: ffmpeg process is not running. exiting capture thread...
2023-12-27 14:05:31.877367849 [2023-12-27 15:05:31] watchdog.reolink ERROR : Ffmpeg process crashed unexpectedly for reolink.
2023-12-27 14:05:31.878039696 [2023-12-27 15:05:31] watchdog.reolink ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-12-27 14:05:31.879344076 [2023-12-27 15:05:31] ffmpeg.reolink.detect ERROR : [rtsp @ 0x55b68fa090] method DESCRIBE failed: 404 Not Found
2023-12-27 14:05:31.879587704 [2023-12-27 15:05:31] ffmpeg.reolink.detect ERROR : rtsp://127.0.0.1:8554/your_reolink_camera_sub?video=copy: Server returned 404 Not Found

Can you please tell me what did I miss?

I can see in mqtt explorer the following

MQTT

Thanks for your support,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant