Comments (5)
Could you paste your config here? I suspect you might need to tweak your settings a bit
from viseron.
Could you paste your config here? I suspect you might need to tweak your settings a bit
Hi Sir,
Thank you for your quick response.
The config:
Thanks for trying out Viseron!
This is a small walkthrough of the configuration to get you started.
There are far more components and options available than what is listed here.
See the documentation for the full list of configuration options.
Start by adding some cameras
ffmpeg:
camera:
viseron_camera: # This value has to be unique across all cameras
name: 44NTH
host: 14.233.86.163
path: /onvif1
port: 554
protocol: rtsp
rtsp_transport: tcp
username: !secret cam3_username
password: !secret cam3_password
width: 1280
height: 720
fps: 5
codec: h264
audio_codec: null
stream_format: rtsp
ffprobe_loglevel: debug
online_camera: # This value has to be unique across all cameras
name: Camera 1
host: 88.53.197.250
path: /axis-cgi/mjpg/video.cgi
port: 80
stream_format: mjpeg
fps: 30
recorder:
idle_timeout: 1
codec: h264
mog2:
motion_detector:
cameras:
viseron_camera:
fps: 30
online_camera:
fps: 30
darknet:
object_detector:
cameras:
viseron_camera:
fps: 30
scan_on_motion_only: true
labels:
- label: person
confidence: 0.75
trigger_recorder: true
online_camera:
fps: 30
scan_on_motion_only: false
labels:
- label: person
confidence: 0.8
trigger_recorder: true
To tie everything together we need to configure one more component.
nvr:
viseron_camera:
online_camera:
Now you can restart Viseron and you should be good to go!
online_camera is working well. viseron_camera has problem with rtsp with error below:
[2023-12-25 08:43:20] [ERROR ] [viseron.components.ffmpeg.stream.viseron_camera] - [rtsp @ 0x55a4d308f900] Nonmatching transport in server reply
[2023-12-25 08:43:20] [ERROR ] [viseron.components.ffmpeg.camera.viseron_camera] - Frame reader process has exited
[2023-12-25 08:43:20] [ERROR ] [viseron.components.ffmpeg.stream.viseron_camera] - rtsp://:@14.233.86.163:554/onvif1: Invalid data found when processing input
Thank you.
from viseron.
Hi Sir,
I tried to debug error with command: "ffmpeg -hide_banner -loglevel debug -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts -use_wallclock_as_timestamps 1 -vsync 0 -timeout 5000000 -c:v h264 -rtsp_transport tcp -i rtsp://admin:[email protected]:554/onvif1 -f segment -segment_time 5 -reset_timestamps 1 -strftime 1 -c:v copy /segments/viseron_camera/xx.mp4 -f rawvideo -pix_fmt yuv420p pipe:1
"
Please help to check.
Thank you.
from viseron.
Response below.
It may be camera rtsp bug. Try to use udp transport: rtsp_transport: udp
in camera settings.
from viseron.
Seems to be an issue with your cameras implementation of RTSP: https://stackoverflow.com/questions/66280861/ffmpeg-nonmatching-transport-in-server-reply-but-openrtsp-works
Nothing that can be done on Viserons side sadly :(
from viseron.
Related Issues (20)
- Mask is completely being ignored... HOT 2
- Add camera for image feed HOT 7
- No recordings found m3u8 file not being saved/generated. HOT 10
- Issue when creating video file for motion detection HOT 3
- gstreamer // ffmpeg HOT 28
- object_detector failure with darknet HOT 4
- adding nvidia deepstream support HOT 1
- [3.0.0b3] Segments get moved through Tiers before being deleted HOT 1
- How to ignore audio on event recording HOT 1
- Dual Edge TPU support? HOT 2
- Error validating config for domain camera and component gstreamer HOT 3
- Waiting for PostgreSQL Server to start... HOT 4
- FFprobeTimeout on very simple configurations, but container internal `ffmpeg` command works. HOT 2
- OSError: [Errno 8] Exec format error: 'MP4Box' HOT 1
- Feature request Telegram support
- Password clearly displayed in log HOT 1
- Failed connection to rstp. HOT 7
- Python3 high cpu usage and error HOT 2
- Viseron on jetson, Darknet not recognizing cuda (v3.0.0b6)
- Viseron running on Jetson Orin Nano - Jetpack6
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 viseron.