[Camera Support]: Mobotix T24 #11065
-
Describe the problem you are havingHi,
Regards Version0.13.2-6476F8A go2rtc 1.8.4 Frigate config file# Frigate Configuration file
# Defaults: https://docs.frigate.video/configuration/#full-configuration-reference
# MQTT needed for Smart Home Applications
mqtt:
host: 10.11.1.236 # <---- same mqtt broker that home assistant uses
user: mqttuser
password: mqttpass
ui:
# Optional: Set the default live mode for cameras in the UI (default: shown below)
live_mode: webrtc
database:
path: /config/frigate.db
# Overview of all cameras https://frigate.video/images/birdseye-2-optimized.jpg
birdseye:
enabled: true
# Hardware acceleration of video conversion
# Snapshots of events
snapshots:
# Enable writing jpg snapshot to /media/frigate/clips
enabled: True
# print a timestamp on the snapshots
timestamp: True
# List of objects to capture https://docs.frigate.video/configuration/objects/
objects:
track:
- person
- cat
- dog
- bicycle
- car
- eye glasses
- backpack
- handbag
go2rtc:
streams:
# haustuercam:
# - rtsp://admin:pass@haustuercam/stream0/mobotix.mjpeg
# - "ffmpeg:haustuercam#audio=opus"
# haustuercam_sub:
# - rtsp://admin:pass@haustuercam/stream1/mobotix.mjpeg
# - "ffmpeg: rtsp://admin:pass@haustuercam/stream1/mobotix.mjpeg#video=h264#hardware"
# - rtsp://admin:pass@haustuercam/stream1/mobotix.mjpeg
# List of cameras
cameras:
haustuercam:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://admin:pass@haustuercam/stream0/mobotix.mjpeg
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://admin:pass@haustuercam/stream1/mobotix.mjpeg
input_args: preset-rtsp-restream
roles:
- detect
detect:
enabled: True
width: 1920
height: 1080
# Object detection uses 5 fps by default: https://docs.frigate.video/configuration/#full-configuration-reference
# Record settings https://docs.frigate.video/configuration/record
record:
enabled: True
retain:
# record everything
mode: all
# and store it for 14 days
days: 14 Relevant log output2024-04-22 11:56:57.839443751 [2024-04-22 13:56:57] ffmpeg.haustuercam.record ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
2024-04-22 11:56:57.839526279 [2024-04-22 13:56:57] ffmpeg.haustuercam.record ERROR : [mp4 @ 0x55929621e4c0] Could not find tag for codec pcm_mulaw in stream #1, codec not currently supported in container
2024-04-22 11:56:57.839597826 [2024-04-22 13:56:57] ffmpeg.haustuercam.record ERROR : Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
2024-04-22 11:56:57.839666227 [2024-04-22 13:56:57] ffmpeg.haustuercam.record ERROR : Error initializing output stream 0:1 --
2024-04-22 11:56:57.839745338 [2024-04-22 13:56:57] ffmpeg.haustuercam.record ERROR :
2024-04-22 11:56:57.839821374 [2024-04-22 13:56:57] watchdog.haustuercam INFO : Terminating the existing ffmpeg process...
2024-04-22 11:56:57.839891097 [2024-04-22 13:56:57] watchdog.haustuercam INFO : Waiting for ffmpeg to exit gracefully...
2024-04-22 11:56:58.075297648 [2024-04-22 13:56:58] frigate.record.maintainer WARNING : Failed to probe corrupt segment /tmp/cache/haustuercam@20240422135653+0200.mp4
2024-04-22 11:56:58.075377141 [2024-04-22 13:56:58] frigate.record.maintainer WARNING : Discarding a corrupt recording segment: /tmp/cache/haustuercam@20240422135653+0200.mp4 FFprobe output from your camera[{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"0/0","codec_long_name":"MotionJPEG","display_aspect_ratio":"16:9","height":1080,"width":1920},{"avg_frame_rate":"0/0","bit_rate":"64000","codec_long_name":"PCMmu-law/G.711mu-law"}]}},{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"0/0","codec_long_name":"MotionJPEG","display_aspect_ratio":"16:9","height":720,"width":1280},{"avg_frame_rate":"0/0","bit_rate":"64000","codec_long_name":"PCMmu-law/G.711mu-law"}]}}] Frigate statsNo response Operating systemUnraid Install methodDocker Coral versionCPU (no coral) Network connectionWired Camera make and modelMobotix T24 Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 5 replies
-
You can't record mjpeg you have to transcode it to h264 |
Beta Was this translation helpful? Give feedback.
-
When I change my config to
I get these errors:
And no video stream |
Beta Was this translation helpful? Give feedback.
-
``Ok, I don´t know how much I changed...
These are the Errors from haustuercam mobotix t24 and gartencam mobotix q24:
gp2rtc log:
vainfo
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I changed it now to this:
go2rtc
|
Beta Was this translation helpful? Give feedback.
-
Ok, the thing with "does not contain any stream" was probably my mistake, I changed the user data in between...
|
Beta Was this translation helpful? Give feedback.
-
Mobotix cams are High quality (and expensive). A T26 cam, e.g. contains its own server infrastructure. I am trying to find out myself how to integrate it in e.g. home assistant and frigate. It is possible to define the light and bell buttons to send mxmessages that seem to be 128 bit encrypted. the structure of the message is not published. Mobotix could increase its market share by being more open and e.g. provide the mxmanager also for linux platforms, or just the source code. |
Beta Was this translation helpful? Give feedback.
yes looks like it gets a few frames then finds invalid data, maybe something is wrong with the mjpeg implementation that ffmpeg doesn't like