Skip to content
\n
\n\n### Relevant log output\n\n```shell\n2024-03-01 15:40:08.848299500  [INFO] Preparing Frigate...\n2024-03-01 15:40:08.865767109  [INFO] Starting Frigate...\n2024-03-01 15:40:09.998269329  [2024-03-01 15:40:09] frigate.app                    INFO    : Starting Frigate (0.13.2-6476f8a)\n2024-03-01 15:40:10.025464362  [2024-03-01 15:40:10] peewee_migrate.logs            INFO    : Starting migrations\n2024-03-01 15:40:10.029102383  [2024-03-01 15:40:10] peewee_migrate.logs            INFO    : There is nothing to migrate\n2024-03-01 15:40:10.032784963  [2024-03-01 15:40:10] frigate.app                    INFO    : Recording process started: 299\n2024-03-01 15:40:10.034862242  [2024-03-01 15:40:10] frigate.app                    INFO    : go2rtc process pid: 89\n2024-03-01 15:40:10.048373791  [2024-03-01 15:40:10] detector.coral                 INFO    : Starting detection process: 308\n2024-03-01 15:40:12.790580720  [2024-03-01 15:40:10] frigate.app                    INFO    : Output process started: 310\n2024-03-01 15:40:12.791301017  [2024-03-01 15:40:10] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb\n2024-03-01 15:40:12.792512009  [2024-03-01 15:40:10] frigate.app                    INFO    : Camera processor started for cam101: 318\n2024-03-01 15:40:12.792962192  [2024-03-01 15:40:10] frigate.app                    INFO    : Capture process started for cam101: 319\n2024-03-01 15:40:12.800101478  [2024-03-01 15:40:12] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found\n2024-03-01 15:40:30.089670781  [2024-03-01 15:40:30] ffmpeg.cam101.record           ERROR   : rtsp://127.0.0.1:8554/cam101: Invalid data found when processing input\n2024-03-01 15:40:30.096926635  [2024-03-01 15:40:30] watchdog.cam101                INFO    : Terminating the existing ffmpeg process...\n2024-03-01 15:40:30.097152586  [2024-03-01 15:40:30] watchdog.cam101                INFO    : Waiting for ffmpeg to exit gracefully...\n2024-03-01 15:40:45.070167414  [2024-03-01 15:40:45] frigate.record.maintainer      WARNING : Failed to probe corrupt segment /tmp/cache/cam101@20240301154037-0500.mp4\n2024-03-01 15:40:45.070356495  [2024-03-01 15:40:45] frigate.record.maintainer      WARNING : Discarding a corrupt recording segment: /tmp/cache/cam101@20240301154037-0500.mp4\n2024-03-01 15:40:50.114654714  [2024-03-01 15:40:50] ffmpeg.cam101.record           ERROR   : [rtsp @ 0x560cd6f68ec0] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size\n2024-03-01 15:40:50.114665055  [2024-03-01 15:40:50] ffmpeg.cam101.record           ERROR   : Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options\n2024-03-01 15:40:50.114695197  [2024-03-01 15:40:50] ffmpeg.cam101.record           ERROR   : [mp4 @ 0x560cd6f85680] track 0: codec frame size is not set\n2024-03-01 15:40:50.114801206  [2024-03-01 15:40:50] ffmpeg.cam101.record           ERROR   : rtsp://127.0.0.1:8554/cam101: Connection timed out\n2024-03-01 15:40:50.115381362  [2024-03-01 15:40:50] watchdog.cam101                INFO    : Terminating the existing ffmpeg process...\n2024-03-01 15:40:50.115596321  [2024-03-01 15:40:50] watchdog.cam101                INFO    : Waiting for ffmpeg to exit gracefully...\n
\n

FFprobe output from your camera

\n
Stream 0:\nReturn Code: 0\n\nVideo:\n\nCodec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\nResolution: 3072x2048\nFPS: 20/1\n\nAudio:\n\nCodec: AAC (Advanced Audio Coding)\n\nStream 1:\nReturn Code: 0\n\nVideo:\n\nCodec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\nResolution: 704x576\nFPS: 5/1\n\nAudio:\n\nCodec: AAC (Advanced Audio Coding)
\n

Frigate stats

\n

No response

\n

Operating system

\n

Other

\n

Install method

\n

Docker Compose

\n

Coral version

\n

USB

\n

Network connection

\n

Wired

\n

Camera make and model

\n

Anpviz IPC-D363WD-SA

\n

Any other information that may be helpful

\n

No response

","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"

Solved! @NickM-27 points out that his Hikvision camera only works with two-way audio if the audio encoding is G711ulaw (AlexxIT/go2rtc#972). I believe my friends' Anpviz cameras are Hikvision clones. So I changed the encoding to G711 from AAC in the camera GUI. I made the change and now Frigate is recording all of these Anpviz cameras and I can view them using MSE.

","upvoteCount":0,"url":"https://github.com/blakeblackshear/frigate/discussions/10179#discussioncomment-8652665"}}}

[Camera Support]: main stream on Anpviz IPC-D363WD-SA unreliable and no sound #10179

Discussion options

You must be logged in to vote

Solved! @NickM-27 points out that his Hikvision camera only works with two-way audio if the audio encoding is G711ulaw (AlexxIT/go2rtc#972). I believe my friends' Anpviz cameras are Hikvision clones. So I changed the encoding to G711 from AAC in the camera GUI. I made the change and now Frigate is recording all of these Anpviz cameras and I can view them using MSE.

Replies: 2 comments 19 replies

Comment options

You must be logged in to vote
8 replies
@Cold-Lemonade
Comment options

@NickM-27
Comment options

NickM-27 Mar 1, 2024
Collaborator Sponsor

@Cold-Lemonade
Comment options

@Cold-Lemonade
Comment options

@FS1961
Comment options

Comment options

You must be logged in to vote
11 replies
@Cold-Lemonade
Comment options

Answer selected by Cold-Lemonade
@jeeftor
Comment options

@Torquas
Comment options

@Cold-Lemonade
Comment options

@jeeftor
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment