Comments (10)
Sorry I'm having trouble understanding what you are doing in that other thread. Not familiar with the workings of go2rtc or frigate.
Where is neolink in this setup and how are you connecting to it and what error do you get?
from neolink.
Reolink B800 > Your fork of Neolink. (Had to change the port to 8551 as go2rtc uses 8554 as well) > go2rtc > frigate
The problem is that the go2rtc part is not working. If i skip it out - it works. Go2rtc is like a video proxy allowing to convert for example the H265 stream to H264. Not good at video on linux - but can it be some kind of a conflict between Neolink and go2rtc? Although both run in docker containers.
from neolink.
Have also posted on go2rtc site. It's just strange that non Neolink cameras work without a hitch. So the problem is somewhere in between and i would appreciate if you could help with you knowledge
from neolink.
Perhaps you can give me some more clear error messages/logs. It's hard to trace an issue without them.
Your using docker so i hope your aware of the extra work required to get a connection. Each container has its own ip and you need to know the IP address of the container for a connection. (If your using compose you can use the link parameter to give them names instead of IPs)
from neolink.
For neolink the two variables that control logging are
RUST_LOG="debug"
And
GST_DEBUG=3
The former is our log and the later is gstreamer log
from neolink.
Your using docker so i hope your aware of the extra work required to get a connection. Each container has its own ip and you need to know the IP address of the container for a connection. (If your using compose you can use the link parameter to give them names instead of IPs)
Yes. So to make things work i just expose the necessary ports. That is why had to change the Neolink port as it was the same as go2rtc (8554) which is a weird similarity to me and that is why i opened an issue here as well as you understand the internal workings of Neolink and have the knowledge. Will do some debug logging as currently no errors are logged neither in go2rtc or Neolink side which is just strange
version: "2.7"
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "2048mb
volumes:
- /dev:/dev
- /etc/localtime:/etc/localtime:ro
- /i/frigate/config.yml:/config/config.yml
- /i/frigate/media:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 4000000000
ports:
- "5000:5000"
- "1935:1935" # RTMP feeds
- "8554:8554"
environment:
- LIBVA_DRIVER_NAME=radeonsi
- PGID=1001
neolink:
image: quantumentangledandy/neolink
container_name: neolink
ports:
- 8551:8551
volumes:
- /i/frigate/neolink.toml:/etc/neolink.toml
restart: unless-stopped
from neolink.
8554 is the standard rtsp port. So anything the provides rtsp will probably have it for the default.
Could you provide the following:
- The neolink config
- The config for frigate that shows the neolink rtsp url it is connecting to
from neolink.
Ok so I've added some things to improve the connection on VLC and frigate I hope it helps you. Could you test the latest build?
Also do you actually need go2rtc to convert the video? If you have a specific reason I might try and work up some conversion into neolink itself
from neolink.
Just thought I'd share the test docker and frigate setup I use
docker-compose.yml
version: "3.9"
services:
frigate:
image: ghcr.io/blakeblackshear/frigate:stable
links:
- neolink
volumes:
- /etc/localtime:/etc/localtime:ro
- ./frigate.yml:/config/config.yml
- ./storage:/media/frigate
- ./db:/db
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
neolink:
image: quantumentangledandy/neolink:latest
volumes:
- /etc/localtime:/etc/localtime:ro
- ./neolink.toml:/etc/neolink.toml
environment:
RUST_LOG: "neolink=debug"
neolink.toml
bind = "0.0.0.0"
[[cameras]]
name = "ANAME"
username = "MYUSER"
password = "MYPASS"
address = "MYIP:9000"
uid = "MYUID"
stream = "subStream"
frigate.yml
database:
path: /db/frigate.db
mqtt:
enabled: false
cameras:
ANAME:
ffmpeg:
inputs:
- path: rtsp://neolink:8554/ANAME/subStream
detect:
enabled: False
width: 1280 # <---- update for your camera's resolution
height: 720
from neolink.
Closing as I think this is all working in latest but please let me know if not
from neolink.
Related Issues (20)
- Delayed MQTT Motion HOT 5
- Unable to stream from E1 using the latest neolink docker image HOT 2
- Can't connect to Cameras with 0.6.3-rc.1
- <jemalloc>: Unsupported system page size - docker on Debian 12 on rpi5 HOT 10
- Getting Neolink in Home Assistant working HOT 11
- ONVIF Support and Scrypted Two Way Audio HOT 1
- 'RTSP Staring' message should say 'RTSP Starting' HOT 1
- Can't integrate with Home Assistant. HOT 1
- Can't connect to Reolink Argus Track HOT 3
- error resol-vbus config issues HOT 4
- Possible infinite loop in NeoReactor push notification... HOT 9
- mainStream issues
- Neolink does not connect to MQTT broker. WARN: Connection Lost: Dropped connection HOT 2
- Document the Binary XML protocol & Update wireshark dissector. HOT 6
- Neolink causing excessive battery usage
- Registration with reolink servers failed HOT 12
- Neolink Memory Leak / Errors HOT 2
- Support building a MQTT-only version without the gstreamer dependency HOT 5
- Registering new push notification token: Error("missing field `token`", line: 7, column: 1) }) HOT 28
- Reolink Argus PT does not reconnect. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neolink.