[HW Accel Support]: Timestamps are unset in a packet for stream 0 #19739
Replies: 3 comments 2 replies
-
Your Frigate logs show repeated ffmpeg process crashes with errors like “Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly,” and “Failed to sync surface ... (internal decoding error).” These errors typically indicate issues with the RTSP stream’s timestamping or with hardware acceleration decoding. Steps to address this:
If after these steps you still see “timestamps are unset” errors, the root issue is likely with how the camera is generating RTSP packets or their timestamps. Some Hikvision models are known to have buggy or inconsistent RTSP implementations. If your camera has a firmware update available, consider applying it. Reference links: 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
Thank you ! I will try these suggestions today and update |
Beta Was this translation helpful? Give feedback.
-
@hawkeye217 I have since moved the folder to an nvme drive, and now Frigate is smooth. Come to think of it, this move also solved some other minor issues relating to the other docker containers, that I just initially brushed away. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
Hi,
I have 3 Hikvision cameras streaming into Frigate v 0.16
I have started noticing errors in the frigate logs complaining that frigate is unable to read frame from the ffmpeg process.
The main stream of the cameras goes into Blue Iris, and I dont see any interruptions or hiccups in the video stream there.
The cameras are Hikvision DS-2CD2335FWD-I
I am sending the third stream to Frigate.
I have the following set as my stream configuration on the camera -
My docker stack is running on a Optiplex 5070 micro with an i5-9500T processor.
The OS is Ubuntu 24.04.3 LTS
The computer has a second NIC which is in the security camera subnet.
Any guidance on how I can fix this would be much appreciated.
Version
0.16
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Install method
Docker Compose
Object Detector
Coral
Network connection
Wired
Camera make and model
Hikvision DS-2CD2335FWD-I
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions