[HW Accel Support]: ffmpeg does not work stably when using preset-vaapi #19821
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 38 replies
-
Your hardware seems like it doesn't have the ability to use hardware acceleration to decode HEVC/H265. |
Beta Was this translation helpful? Give feedback.
-
frigate-1 | 2025-08-28 17:08:07.711235740 [2025-08-28 17:08:07] frigate.video ERROR : Server_Room: Unable to read frames from ffmpeg process.
frigate-1 | 2025-08-28 17:08:07.804524552 [2025-08-28 17:08:07] frigate.video ERROR : Server_Room: ffmpeg process is not running. exiting capture thread...
frigate-1 | 2025-08-28 17:08:13.109893678 [2025-08-28 17:08:13] watchdog.Server_Room ERROR : Ffmpeg process crashed unexpectedly for Server_Room.
frigate-1 | 2025-08-28 17:08:13.109903597 [2025-08-28 17:08:13] watchdog.Server_Room ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate-1 | 2025-08-28 17:08:13.111269257 [2025-08-28 17:08:13] ffmpeg.Server_Room.detect ERROR : [segment @ 0x61130733b800] 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
frigate-1 | 2025-08-28 17:08:13.111669340 [2025-08-28 17:08:13] watchdog.Server_Room INFO : Restarting ffmpeg...
frigate-1 | 2025-08-28 17:08:16.303296085 127.0.0.1 - - [28/Aug/2025:17:08:16 +0000] "" 400 0 "-" "-" "-"
frigate-1 | 2025-08-28 17:08:18.103438430 [2025-08-28 17:08:18] frigate.video ERROR : Entry: Unable to read frames from ffmpeg process.
frigate-1 | 2025-08-28 17:08:18.105192952 [2025-08-28 17:08:18] frigate.video ERROR : Entry: ffmpeg process is not running. exiting capture thread...
frigate-1 | 2025-08-28 17:08:22.907762845 [2025-08-28 17:08:22] watchdog.Entry ERROR : Ffmpeg process crashed unexpectedly for Entry.
frigate-1 | 2025-08-28 17:08:22.909424212 [2025-08-28 17:08:22] watchdog.Entry ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate-1 | 2025-08-28 17:08:23.001889284 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [segment @ 0x6472b7e4e780] 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
frigate-1 | 2025-08-28 17:08:23.100946120 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [rtsp @ 0x6472b7b3a3c0] nal size exceeds length: 32796 1425
frigate-1 | 2025-08-28 17:08:23.103505736 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [h264 @ 0x6472b80f8540] Invalid NAL unit 0, skipping.
frigate-1 | 2025-08-28 17:08:23.105985102 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : Last message repeated 4 times
frigate-1 | 2025-08-28 17:08:23.107521724 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [rtsp @ 0x6472b7b3a3c0] RTP: PT=60: bad cseq 5ab3 expected=4b0d
frigate-1 | 2025-08-28 17:08:23.108798356 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [rtsp @ 0x6472b7b3a3c0] Undefined type (31)
frigate-1 | 2025-08-28 17:08:23.109633488 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [h264 @ 0x6472b7cdda80] SEI type 43 size 208 truncated at 90
frigate-1 | 2025-08-28 17:08:23.109637665 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [h264 @ 0x6472b7cdda80] sps_id 12 out of range
frigate-1 | 2025-08-28 17:08:23.109640952 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [vost#0:0/copy @ 0x6472b7b67800] Non-monotonic DTS; previous: 354304, current: 354304; changing to 354305. This may result in incorrect timestamps in the output file.
frigate-1 | 2025-08-28 17:08:23.109702047 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [h264 @ 0x6472b80f8540] Invalid NAL unit 0, skipping.
frigate-1 | 2025-08-28 17:08:23.109704892 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [h264 @ 0x6472b812ee80] Invalid NAL unit 0, skipping.
frigate-1 | 2025-08-28 17:08:23.111612622 [2025-08-28 17:08:22] ffmpeg.Entry.detect ERROR : [h264 @ 0x6472b812ee80] SEI type 43 size 208 truncated at 88
frigate-1 | 2025-08-28 17:08:23.111615527 [2025-08-28 17:08:22] watchdog.Entry INFO : Restarting ffmpeg...
frigate-1 | 2025-08-28 17:08:25.610107705 [2025-08-28 17:08:25] frigate.video ERROR : Front_Yard: Unable to read frames from ffmpeg process.
frigate-1 | 2025-08-28 17:08:25.704985948 [2025-08-28 17:08:25] frigate.video ERROR : Front_Yard: ffmpeg process is not running. exiting capture thread...
frigate-1 | 2025-08-28 17:08:32.806363180 [2025-08-28 17:08:32] watchdog.Front_Yard ERROR : Ffmpeg process crashed unexpectedly for Front_Yard.
frigate-1 | 2025-08-28 17:08:32.807113923 [2025-08-28 17:08:32] watchdog.Front_Yard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate-1 | 2025-08-28 17:08:32.807333716 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [segment @ 0x5d87e12b1880] 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
frigate-1 | 2025-08-28 17:08:32.807507643 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [rtsp @ 0x5d87e11ec3c0] nal size exceeds length: 49251 1425
frigate-1 | 2025-08-28 17:08:32.807681901 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [h264 @ 0x5d87e14fc680] log2_max_poc_lsb (23) is out of range
frigate-1 | 2025-08-28 17:08:32.807902827 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [vost#0:0/copy @ 0x5d87e1219800] Non-monotonic DTS; previous: 213504, current: 213504; changing to 213505. This may result in incorrect timestamps in the output file.
frigate-1 | 2025-08-28 17:08:32.808046608 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [h264 @ 0x5d87e1765280] Invalid NAL unit 0, skipping.
frigate-1 | 2025-08-28 17:08:32.808209735 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [h264 @ 0x5d87e17b2300] Invalid NAL unit 0, skipping.
frigate-1 | 2025-08-28 17:08:32.810648895 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : Last message repeated 1 times
frigate-1 | 2025-08-28 17:08:32.810654135 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [h264 @ 0x5d87e14fc680] illegal POC type 4
frigate-1 | 2025-08-28 17:08:32.810657150 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [vost#0:0/copy @ 0x5d87e1219800] Non-monotonic DTS; previous: 255488, current: 255488; changing to 255489. This may result in incorrect timestamps in the output file.
frigate-1 | 2025-08-28 17:08:32.810659034 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [h264 @ 0x5d87e1765280] Invalid NAL unit 0, skipping.
frigate-1 | 2025-08-28 17:08:32.810661358 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [rtsp @ 0x5d87e11ec3c0] CSeq 7 expected, 0 received.
frigate-1 | 2025-08-28 17:08:32.810663212 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [rtsp @ 0x5d87e11ec3c0] RTP: PT=60: bad cseq 4a2a expected=3c67
frigate-1 | 2025-08-28 17:08:32.810723225 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [vost#0:0/copy @ 0x5d87e1219800] Non-monotonic DTS; previous: 384000, current: 384000; changing to 384001. This may result in incorrect timestamps in the output file.
frigate-1 | 2025-08-28 17:08:32.810743573 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [h264 @ 0x5d87e17b2300] Invalid NAL unit 0, skipping.
frigate-1 | 2025-08-28 17:08:32.810745016 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [rtsp @ 0x5d87e11ec3c0] nal size exceeds length: 60283 1425
frigate-1 | 2025-08-28 17:08:32.810747480 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [h264 @ 0x5d87e14fc680] log2_max_frame_num_minus4 out of range (0-12): 18
frigate-1 | 2025-08-28 17:08:32.810749945 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [vost#0:0/copy @ 0x5d87e1219800] Non-monotonic DTS; previous: 437760, current: 437760; changing to 437761. This may result in incorrect timestamps in the output file.
frigate-1 | 2025-08-28 17:08:32.810768971 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [h264 @ 0x5d87e17b2300] Invalid NAL unit 0, skipping.
frigate-1 | 2025-08-28 17:08:32.810770233 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : Last message repeated 1 times
frigate-1 | 2025-08-28 17:08:32.810771806 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : [h264 @ 0x5d87e1765280] log2_max_frame_num_minus4 out of range (0-12): 18
frigate-1 | 2025-08-28 17:08:32.810773038 [2025-08-28 17:08:32] ffmpeg.Front_Yard.detect ERROR : Last message repeated 2 times
frigate-1 | 2025-08-28 17:08:32.810797354 [2025-08-28 17:08:32] watchdog.Front_Yard INFO : Restarting ffmpeg...
frigate-1 | 2025-08-28 17:08:42.302465209 10.7.8.10 - - [28/Aug/2025:17:08:42 +0000] "GET /api/profile HTTP/1.1" 200 39 "http://10.7.8.240:5000/system" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 YaBrowser/25.8.0.0 Safari/537.36" "-"
frigate-1 | 2025-08-28 17:08:42.304325830 10.7.8.10 - - [28/Aug/2025:17:08:42 +0000] "GET /api/config HTTP/1.1" 200 34148 "http://10.7.8.240:5000/system" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 YaBrowser/25.8.0.0 Safari/537.36" "-"
frigate-1 | 2025-08-28 17:08:44.501350383 10.7.8.10 - - [28/Aug/2025:17:08:44 +0000] "GET /api/logs/frigate?start=-100 HTTP/1.1" 200 11613 "http://10.7.8.240:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 YaBrowser/25.8.0.0 Safari/537.36" "-"
frigate-1 | 2025-08-28 17:08:44.611499612 [2025-08-28 17:08:44] frigate.video ERROR : Back_Yard: Unable to read frames from ffmpeg process.
frigate-1 | 2025-08-28 17:08:44.611511655 [2025-08-28 17:08:44] frigate.video ERROR : Back_Yard: ffmpeg process is not running. exiting capture thread...
frigate-1 | 2025-08-28 17:08:52.908725474 [2025-08-28 17:08:52] watchdog.Back_Yard ERROR : Ffmpeg process crashed unexpectedly for Back_Yard.
frigate-1 | 2025-08-28 17:08:52.909951632 [2025-08-28 17:08:52] watchdog.Back_Yard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate-1 | 2025-08-28 17:08:52.910995496 [2025-08-28 17:08:52] ffmpeg.Back_Yard.detect ERROR : [segment @ 0x652e272d2000] 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
frigate-1 | 2025-08-28 17:08:53.010123276 [2025-08-28 17:08:52] ffmpeg.Back_Yard.detect ERROR : [vost#0:0/copy @ 0x652e272d7940] Non-monotonic DTS; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
frigate-1 | 2025-08-28 17:08:53.102143530 [2025-08-28 17:08:52] ffmpeg.Back_Yard.detect ERROR : [h264 @ 0x652e276d2a40] Increasing reorder buffer to 1
frigate-1 | 2025-08-28 17:08:53.104212293 [2025-08-28 17:08:53] ffmpeg.Back_Yard.detect ERROR : [rtsp @ 0x652e2729f3c0] RTP H.264 NAL unit type 26 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
frigate-1 | 2025-08-28 17:08:53.107257995 [2025-08-28 17:08:53] ffmpeg.Back_Yard.detect ERROR : [h264 @ 0x652e276ca4c0] Invalid NAL unit 0, skipping.
frigate-1 | 2025-08-28 17:08:53.113210667 [2025-08-28 17:08:53] ffmpeg.Back_Yard.detect ERROR : [h264 @ 0x652e276ca4c0] Increasing reorder buffer to 3
frigate-1 | 2025-08-28 17:08:53.113220585 [2025-08-28 17:08:53] ffmpeg.Back_Yard.detect ERROR : [rtsp @ 0x652e2729f3c0] RTP H.264 NAL unit type 26 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
frigate-1 | 2025-08-28 17:08:53.113222288 [2025-08-28 17:08:53] ffmpeg.Back_Yard.detect ERROR : [h264 @ 0x652e276d2a40] Increasing reorder buffer to 8 It appears if I try to use h264 (I have it exposed on all cameras) |
Beta Was this translation helpful? Give feedback.
-
Running Frigate under Proxmox is not officially supported, and the documentation notes that virtualization can introduce complications, especially with hardware passthrough and networking. Users have reported that getting GPU and Coral devices working in virtualized environments like Proxmox may be difficult or impossible, and that communication overhead can impact performance. For best results, Frigate is recommended to run on bare metal Debian-based hosts, but some users have found success with Proxmox by carefully configuring device passthrough and system resources(1). For more detailed community experiences and troubleshooting, you can check out the Proxmox LXC discussion at: Proxmox LXC discussion(1). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Yes, you're right, I launched frigate on the proxmox host itself via docker and everything is working stably.