frigate
frigate copied to clipboard
[Support]: Camera feeds not showing after upgrading to 0.11.0-beta5
Describe the problem you are having
Frigate functioned normally with 0.11.0-beta4. After upgrading to 0.11.0-beta5, the camera feeds on the Frigate dashboard are all green, and the log contains ffmpeg errors.
Version
0.11.0-EF54CD6
Frigate config file
Updated on 2022-07-20:
mqtt:
host: core-mosquitto
user: user
password: pass
detectors:
coral:
type: edgetpu
device: usb:0
ffmpeg:
hwaccel_args: -c:v hevc_qsv
rtmp:
enabled: False
detect:
width: 3840
height: 2160
fps: 12
cameras:
GardenFrontWindow:
ffmpeg:
inputs:
- path: rtsp://user:[email protected]:554/Streaming/Channels/101/
roles:
- detect
Relevant log output
[2022-07-02 23:03:54] watchdog.RoofRight ERROR : Ffmpeg process crashed unexpectedly for RoofRight.
[2022-07-02 23:03:54] watchdog.RoofRight ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-07-02 23:03:54] ffmpeg.RoofRight.detect ERROR : [AVHWDeviceContext @ 0x561366e1b500] No VA display found for device /dev/dri/renderD128.
[2022-07-02 23:03:54] ffmpeg.RoofRight.detect ERROR : Device creation failed: -22.
[2022-07-02 23:03:54] ffmpeg.RoofRight.detect ERROR : Failed to set value '/dev/dri/renderD128' for option 'qsv_device': Invalid argument
[2022-07-02 23:03:54] ffmpeg.RoofRight.detect ERROR : Error parsing global options: Invalid argument
FFprobe output from your camera
Input #0, rtsp, from 'rtsp://user:[email protected]:554/Streaming/Channels/101/?transportmode=unicast':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 3840x2160, 20 tbr, 90k tbn
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Frigate stats
No response
Operating system
HassOS
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
Hikvision
Any other information that may be helpful
CPU is an Intel i9-12900
The recommended hwaccel args for qsv are
ffmpeg:
hwaccel_args: -c:v h264_qsv
Same here with both variant of Ffmpeg parameters. In beta 4 ist works normally and in beta 5 ffmpeg "crashed"
I updated the hwaccel args as recommended. Cameras still show green, but the errors in the Frigate log are different:
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] missing picture in access unit with size 849
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] missing picture in access unit with size 843
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] missing picture in access unit with size 3032
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] missing picture in access unit with size 926
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] missing picture in access unit with size 65
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] missing picture in access unit with size 859
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] missing picture in access unit with size 2873
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] non-existing SPS 2 referenced in buffering period
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] non-existing SPS 0 referenced in buffering period
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : Last message repeated 1 times
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] missing picture in access unit with size 828
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] missing picture in access unit with size 464658
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] non-existing SPS 2 referenced in buffering period
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] missing picture in access unit with size 857
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] non-existing SPS 0 referenced in buffering period
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : Last message repeated 1 times
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] missing picture in access unit with size 65
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [h264 @ 0x555fcce39600] missing picture in access unit with size 427
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [rtsp @ 0x555fcce33d80] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : [segment @ 0x555fcce55980] dimensions not set
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 1 times
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] non-existing SPS 0 referenced in buffering period
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR : Error initializing output stream 0:0 --
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 1 times
[2022-07-03 03:19:16] ffmpeg.GardenFrontDoor.detect ERROR :
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] SEI type 45 overread by 8 bits
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] SEI type 147 overread by 8 bits
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] non-existing SPS 0 referenced in buffering period
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] missing picture in access unit with size 434096
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 1 times
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] non-existing SPS 0 referenced in buffering period
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 1 times
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] SEI type 45 overread by 8 bits
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] SEI type 147 overread by 8 bits
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] non-existing SPS 0 referenced in buffering period
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] Picture timing SEI payload too large
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] data partitioning 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.
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] no frame!
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [h264 @ 0x555eb3de3600] missing picture in access unit with size 297
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [rtsp @ 0x555eb3dddd80] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : [segment @ 0x555eb3ef90c0] dimensions not set
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR : Error initializing output stream 0:0 --
[2022-07-03 03:19:16] ffmpeg.GardenFrontWindow.detect ERROR :
What happens if you don't define any hwaccel args at all?
Without defining hwaccel args, Frigate runs normal with all cams showing. Processor usage is similar to 0.11.0-beta4 with hwaccel args.
Yeah in beta4 a lot of users found that they "worked" but didn't actually decrease processor usage. Haven't seen those errors before so not sure, perhaps there is a different set of args to run it
Yeah in beta4 a lot of users found that they "worked" but didn't actually decrease processor usage. Haven't seen those errors before so not sure, perhaps there is a different set of args to run it
Maybe there is no visible hardware. In my environment macOS, virtual box , Hassos it's same load with or without hardware acceleration
@mdelecate I just noticed that you are using H265 cameras. Try
ffmpeg:
hwaccel_args: -c:v hevc_qsv
I tried this as suggested:
ffmpeg:
hwaccel_args: -c:v hevc_qsv
Result: Camera feeds are solid green.
Add-On log contains following errors:
[2022-07-03 20:42:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5653d2b38280] Error initializing the MFX video decoder: invalid video parameters (-15)
[2022-07-03 20:42:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Invalid argument
[2022-07-03 20:42:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5653d2b38280] [IMGUTILS @ 0x7ffe05959c50] Picture size 0x0 is invalid
[2022-07-03 20:42:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5653d2b38280] video_get_buffer: image parameters invalid
[2022-07-03 20:42:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5653d2b38280] get_buffer() failed
[2022-07-03 20:42:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Invalid argument
[2022-07-03 20:42:01] ffmpeg.GardenFrontWindow.detect ERROR : Finishing stream 0:0 without any data written to it.
[2022-07-03 20:42:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5653d2bbf040] deprecated pixel format used, make sure you did set range correctly
[2022-07-03 20:42:01] ffmpeg.GardenFrontWindow.detect ERROR : Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Please try https://github.com/blakeblackshear/frigate/releases/tag/v0.11.0-beta6
Ok! I just updated from v0.11.0-beta5 to v0.11.0-beta6. I haven't made any config changes. All camera feeds are displayed normally!
Ok, "haven't made any config changes" in my case means that it ran without any hwaccel_args.
Once I add the hwaccel_args as recommended in the updated docs (https://deploy-preview-2829--frigate-docs.netlify.app/configuration/hardware_acceleration) for "Intel-based CPUs (>=10th Generation) via Quicksync", the feeds all display green again:
ffmpeg:
hwaccel_args: -c:v h264_qsv
I'll try out some other variations of the parameters later today.
Green feeds just mean ffmpeg is erroring out. Logs are the only way to see why.
Here are the errors with 0.11.0-beta7:
hwaccel_args: -c:v h264_qsv
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 21383
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 8617
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 21777
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 8024
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 2343
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 65
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] Picture timing SEI payload too large
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] non-existing SPS 10 referenced in buffering period
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] non-existing SPS 0 referenced in buffering period
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] non-existing SPS 6 referenced in buffering period
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] Picture timing SEI payload too large
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : Last message repeated 1 times
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 777342
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 4943
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 21434
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 8635
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 21673
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 8880
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 26329
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 10663
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 21902
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 8487
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 21845
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 8525
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 21528
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 8260
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 21258
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 8377
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 21285
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 8395
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 27986
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 11279
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [NULL @ 0x56020ffd7ec0] missing picture in access unit with size 27068
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] Error decoding header
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] [IMGUTILS @ 0x7ffd8a84a310] Picture size 0x0 is invalid
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] video_get_buffer: image parameters invalid
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : [h264_qsv @ 0x5602104ed3c0] get_buffer() failed
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : Error while decoding stream #0:0: Invalid argument
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : Finishing stream 0:0 without any data written to it.
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : Nothing was written into output file 0 (pipe:), because at least one of its streams received no packets.
[2022-07-20 21:05:08] ffmpeg.GardenFrontDoor.detect ERROR : Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
[2022-07-20 21:05:28] frigate.video ERROR : BackFence: Unable to read frames from ffmpeg process.
[2022-07-20 21:05:28] frigate.video ERROR : BackFence: ffmpeg process is not running. exiting capture thread...
[2022-07-20 21:05:28] frigate.video ERROR : Pool: Unable to read frames from ffmpeg process.
[2022-07-20 21:05:28] frigate.video ERROR : Pool: ffmpeg process is not running. exiting capture thread...
[2022-07-20 21:05:28] frigate.video ERROR : RoofLeft: Unable to read frames from ffmpeg process.
[2022-07-20 21:05:28] frigate.video ERROR : RoofLeft: ffmpeg process is not running. exiting capture thread...
[2022-07-20 21:05:28] frigate.video ERROR : GardenFront: Unable to read frames from ffmpeg process.
[2022-07-20 21:05:28] frigate.video ERROR : GardenFront: ffmpeg process is not running. exiting capture thread...
[2022-07-20 21:05:28] frigate.video ERROR : RoofRight: Unable to read frames from ffmpeg process.
[2022-07-20 21:05:28] frigate.video ERROR : RoofRight: ffmpeg process is not running. exiting capture thread...
[2022-07-20 21:05:28] frigate.video ERROR : GardenTop: Unable to read frames from ffmpeg process.
[2022-07-20 21:05:28] frigate.video ERROR : GardenTop: ffmpeg process is not running. exiting capture thread...
[2022-07-20 21:05:28] watchdog.GardenFrontDoor INFO : No frames received from GardenFrontDoor in 20 seconds. Exiting ffmpeg...
[2022-07-20 21:05:28] watchdog.GardenFrontDoor INFO : Waiting for ffmpeg to exit gracefully...
[2022-07-20 21:05:28] frigate.video ERROR : GardenFrontWindow: Unable to read frames from ffmpeg process.
[2022-07-20 21:05:28] frigate.video ERROR : GardenFrontWindow: ffmpeg process is not running. exiting capture thread...
[2022-07-20 21:05:28] frigate.video ERROR : GardenFrontDoor: Unable to read frames from ffmpeg process.
[2022-07-20 21:05:28] frigate.video ERROR : GardenFrontDoor: ffmpeg process is not running. exiting capture thread...
@mdelecate Your camera with the ffprobe above uses h265 encoding (unless you changed it) so you'll need to use hwaccel_args: -c:v hevc_qsv
for that camera
Right, ok, corrected as recommended to:
hwaccel_args: -c:v hevc_qsv
Now the feeds are still green, but with different errors:
[2022-07-20 21:29:05] watchdog.GardenFrontWindow INFO : No frames received from GardenFrontWindow in 20 seconds. Exiting ffmpeg...
[2022-07-20 21:29:05] watchdog.GardenFrontWindow INFO : Waiting for ffmpeg to exit gracefully...
[2022-07-20 21:29:05] frigate.video ERROR : GardenFrontWindow: Unable to read frames from ffmpeg process.
[2022-07-20 21:29:05] frigate.video ERROR : GardenFrontWindow: ffmpeg process is not running. exiting capture thread...
[2022-07-20 21:29:06] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:46484]
[2022-07-20 21:29:15] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x55d1ff0caa00] [swscaler @ 0x55d1ff39a700] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 21:29:15] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x55d1ff0caa00] [swscaler @ 0x55d1ff410780] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 21:29:15] ffmpeg.GardenFrontWindow.detect ERROR : Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Can you please update your config in the OP? I don't see GardenFrontWindow there at all
Sure, hardware setup and config have changed a bit in the meantime. I've updated the OP with a minimal test config that is running right now. It results in a green feed for GardenFrontWindow
.
Complete Add-On log output:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-07-20 23:29:14] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
[2022-07-20 23:29:14] frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
[2022-07-20 23:29:14] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2022-07-20 23:29:14] peewee_migrate INFO : There is nothing to migrate
[2022-07-20 23:29:14] detector.coral INFO : Starting detection process: 256
[2022-07-20 23:29:14] ws4py INFO : Using epoll
[2022-07-20 23:29:14] frigate.app INFO : Output process started: 257
[2022-07-20 23:29:14] frigate.edgetpu INFO : Attempting to load TPU as usb:0
[2022-07-20 23:29:14] frigate.app INFO : Camera processor started for GardenFrontWindow: 263
[2022-07-20 23:29:17] frigate.edgetpu INFO : TPU found
[2022-07-20 23:29:14] frigate.app INFO : Capture process started for GardenFrontWindow: 266
[2022-07-20 23:29:15] ws4py INFO : Using epoll
[2022-07-20 23:29:34] watchdog.GardenFrontWindow INFO : No frames received from GardenFrontWindow in 20 seconds. Exiting ffmpeg...
[2022-07-20 23:29:34] watchdog.GardenFrontWindow INFO : Waiting for ffmpeg to exit gracefully...
[2022-07-20 23:29:34] frigate.video ERROR : GardenFrontWindow: Unable to read frames from ffmpeg process.
[2022-07-20 23:29:34] frigate.video ERROR : GardenFrontWindow: ffmpeg process is not running. exiting capture thread...
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error querying IO surface: unsupported (-3)
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] Error decoding header
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 9 times
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] video_get_buffer: image parameters invalid
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5615c6626240] get_buffer() failed
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Invalid argument
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Finishing stream 0:0 without any data written to it.
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c66c4380] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c670bd40] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c67802c0] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c67f4840] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6883a00] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c68f9a80] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c696e000] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c69e2580] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6a58600] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6ace680] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6b44700] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6bba780] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6c30800] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6ca6880] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6d1c900] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6d92980] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6e08a00] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6e7ea80] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6ef4b00] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6f6ab80] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c6fe0c00] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c7056c80] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c70ccd00] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c7142d80] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x5615c66d80c0] [swscaler @ 0x5615c71b8e00] deprecated pixel format used, make sure you did set range correctly
[2022-07-20 23:29:44] ffmpeg.GardenFrontWindow.detect ERROR : Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
[2022-07-20 23:30:04] watchdog.GardenFrontWindow INFO : No frames received from GardenFrontWindow in 20 seconds. Exiting ffmpeg...
[2022-07-20 23:30:04] watchdog.GardenFrontWindow INFO : Waiting for ffmpeg to exit gracefully...
[2022-07-20 23:30:05] frigate.video ERROR : GardenFrontWindow: Unable to read frames from ffmpeg process.
[2022-07-20 23:30:05] frigate.video ERROR : GardenFrontWindow: ffmpeg process is not running. exiting capture thread...
I see, and what happens if you use
ffmpeg:
hwaccel_args:
- -hwaccel
- qsv
- -qsv_device
- /dev/dri/renderD128
?
Also it just occurred to me, are you running with full access version of the addon? That may be needed, it seems the issue may be that the addon doesn't have access to your hwaccel device
[AVHWDeviceContext @ 0x561366e1b500] No VA display found for device /dev/dri/renderD128.
Good point, I uninstalled the Frigate Add-On, then installed "Frigate NVR (Full Access) Beta (0.11.0)" (0.11.0-beta7), then disabled protection mode.
I received the same error. Here are the current logs for various different hwaccel_args with the Full Access Add-On:
With:
ffmpeg:
hwaccel_args: -c:v hevc_qsv
Log output is:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-07-21 13:08:31] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
[2022-07-21 13:08:31] frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
[2022-07-21 13:08:31] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2022-07-21 13:08:31] peewee_migrate INFO : There is nothing to migrate
[2022-07-21 13:08:31] detector.coral INFO : Starting detection process: 256
[2022-07-21 13:08:31] frigate.app INFO : Output process started: 258
[2022-07-21 13:08:31] ws4py INFO : Using epoll
[2022-07-21 13:08:31] frigate.edgetpu INFO : Attempting to load TPU as usb:0
[2022-07-21 13:08:34] frigate.edgetpu INFO : TPU found
[2022-07-21 13:08:31] frigate.app INFO : Camera processor started for GardenFrontWindow: 263
[2022-07-21 13:08:31] frigate.app INFO : Capture process started for GardenFrontWindow: 265
[2022-07-21 13:08:32] ws4py INFO : Using epoll
[2022-07-21 13:08:51] watchdog.GardenFrontWindow INFO : No frames received from GardenFrontWindow in 20 seconds. Exiting ffmpeg...
[2022-07-21 13:08:51] watchdog.GardenFrontWindow INFO : Waiting for ffmpeg to exit gracefully...
[2022-07-21 13:08:51] frigate.video ERROR : GardenFrontWindow: Unable to read frames from ffmpeg process.
[2022-07-21 13:08:51] frigate.video ERROR : GardenFrontWindow: ffmpeg process is not running. exiting capture thread...
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 10 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error querying IO surface: unsupported (-3)
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Function not implemented
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] Error decoding header
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Last message repeated 7 times
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] video_get_buffer: image parameters invalid
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x56343f947240] get_buffer() failed
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Error while decoding stream #0:0: Invalid argument
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Finishing stream 0:0 without any data written to it.
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343f9a6e40] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343fa2e580] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343fbacd40] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343fc22dc0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343fc98e40] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343fd0eec0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343fd84f40] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343fdfafc0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343fe71040] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343fee70c0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343ff5d140] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56343ffd31c0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x563440049240] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x5634400bf2c0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x563440135340] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x5634401ab3c0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x563440221440] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x5634402974c0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56344030d540] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x5634403835c0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x5634403f9640] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56344046f6c0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x5634404e5740] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x56344055b7c0] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : [swscaler @ 0x56343f999e80] [swscaler @ 0x5634405d1840] deprecated pixel format used, make sure you did set range correctly
[2022-07-21 13:09:01] ffmpeg.GardenFrontWindow.detect ERROR : Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
With
ffmpeg:
hwaccel_args: -hwaccel qsv -c:v hevc_qsv
Log output is:
s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-07-21 12:53:34] frigate.app INFO : Starting Frigate (0.11.0-3c46a33)
[2022-07-21 12:53:34] frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
[2022-07-21 12:53:34] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2022-07-21 12:53:34] peewee_migrate INFO : There is nothing to migrate
[2022-07-21 12:53:34] detector.coral INFO : Starting detection process: 256
[2022-07-21 12:53:34] frigate.app INFO : Output process started: 257
[2022-07-21 12:53:34] ws4py INFO : Using epoll
[2022-07-21 12:53:34] frigate.app INFO : Camera processor started for GardenFrontWindow: 263
[2022-07-21 12:53:34] frigate.app INFO : Capture process started for GardenFrontWindow: 265
[2022-07-21 12:53:35] ws4py INFO : Using epoll
[2022-07-21 12:53:36] frigate.video ERROR : GardenFrontWindow: Unable to read frames from ffmpeg process.
[2022-07-21 12:53:36] frigate.video ERROR : GardenFrontWindow: ffmpeg process is not running. exiting capture thread...
[2022-07-21 12:53:34] frigate.edgetpu INFO : Attempting to load TPU as usb:0
[2022-07-21 12:53:37] frigate.edgetpu INFO : TPU found
[2022-07-21 12:53:54] watchdog.GardenFrontWindow ERROR : Ffmpeg process crashed unexpectedly for GardenFrontWindow.
[2022-07-21 12:53:54] watchdog.GardenFrontWindow ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-07-21 12:53:54] ffmpeg.GardenFrontWindow.detect ERROR : WARNING: defaulting hwaccel_output_format to qsv for compatibility with old commandlines. This behaviour is DEPRECATED and will be removed in the future. Please explicitly set "-hwaccel_output_format qsv".
[2022-07-21 12:53:54] ffmpeg.GardenFrontWindow.detect ERROR : Guessed Channel Layout for Input Stream #0.1 : mono
[2022-07-21 12:53:54] ffmpeg.GardenFrontWindow.detect ERROR : Device creation failed: -542398533.
[2022-07-21 12:53:54] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x5580e77d6240] No device available for decoder: device type qsv needed for codec hevc_qsv.
[2022-07-21 12:53:54] ffmpeg.GardenFrontWindow.detect ERROR : Device setup failed for decoder on input stream #0:0 : Generic error in an external library
[2022-07-21 12:53:56] frigate.video ERROR : GardenFrontWindow: Unable to read frames from ffmpeg process.
[2022-07-21 12:53:56] frigate.video ERROR : GardenFrontWindow: ffmpeg process is not running. exiting capture thread...
Allow me to summarise the results of some additional attempts.
With:
hwaccel_args: -hwaccel vaapi -c:v hevc_qsv
Log output is:
[2022-07-21 13:18:38] ffmpeg.GardenFrontWindow.detect ERROR : Device creation failed: -542398533.
[2022-07-21 13:18:38] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x562533c0a240] No device available for decoder: device type vaapi needed for codec hevc_qsv.
[2022-07-21 13:18:38] ffmpeg.GardenFrontWindow.detect ERROR : Device setup failed for decoder on input stream #0:0 : Generic error in an external library
With (I tried renderD128, renderD129, card0, card1):
hwaccel_args: -hwaccel qsv -qsv_device /dev/dri/renderD128 -c:v hevc_qsv
Log output is:
[2022-07-21 13:16:49] ffmpeg.GardenFrontWindow.detect ERROR : Device creation failed: -542398533.
[2022-07-21 13:16:49] ffmpeg.GardenFrontWindow.detect ERROR : [hevc_qsv @ 0x55d96406a880] No device available for decoder: device type qsv needed for codec hevc_qsv.
[2022-07-21 13:16:49] ffmpeg.GardenFrontWindow.detect ERROR : Device setup failed for decoder on input stream #0:0 : Generic error in an external library
With:
hwaccel_args: -qsv_device /dev/dri/renderD128 -c:v hevc_qsv
Log output is:
[2022-07-21 13:22:08] ffmpeg.GardenFrontWindow.detect ERROR : [AVHWDeviceContext @ 0x56217e3046c0] No VA display found for device /dev/dri/renderD128.
[2022-07-21 13:22:08] ffmpeg.GardenFrontWindow.detect ERROR : Device creation failed: -22.
[2022-07-21 13:22:08] ffmpeg.GardenFrontWindow.detect ERROR : Failed to set value '/dev/dri/renderD128' for option 'qsv_device': Invalid argument
With:
hwaccel_args: -hwaccel qsv -qsv_device /dev/dri/renderD128 -c:v hevc_qsv
Log output is:
[2022-07-21 13:29:16] ffmpeg.GardenFrontWindow.detect ERROR : [AVHWDeviceContext @ 0x564a0e07c700] No VA display found for device /dev/dri/renderD128.
[2022-07-21 13:29:16] ffmpeg.GardenFrontWindow.detect ERROR : Device creation failed: -22.
[2022-07-21 13:29:16] ffmpeg.GardenFrontWindow.detect ERROR : Failed to set value '/dev/dri/renderD128' for option 'qsv_device': Invalid argument
With:
hwaccel_args:
- -hwaccel
- qsv
- -qsv_device
- /dev/dri/renderD128
Log output is:
[2022-07-21 13:34:34] ffmpeg.GardenFrontWindow.detect ERROR : [AVHWDeviceContext @ 0x55731be266c0] No VA display found for device /dev/dri/renderD128.
[2022-07-21 13:34:34] ffmpeg.GardenFrontWindow.detect ERROR : Device creation failed: -22.
[2022-07-21 13:34:34] ffmpeg.GardenFrontWindow.detect ERROR : Failed to set value '/dev/dri/renderD128' for option 'qsv_device': Invalid argument
[2022-07-21 13:34:34] ffmpeg.GardenFrontWindow.detect ERROR : Error parsing global options: Invalid argument
I came across this, but I'm not knowledgable enough to know if it's of any relevance: https://www.reddit.com/r/jellyfin/comments/usxfdz/qsv_in_dockerized_jellyfin_on_ubuntu_device_type/
Is HA OS running in a VM or bare metal? We have many users with 12x00 intel and they have worked no problem so makes me think it's something off.
Running on bare metal
Is this an Intel NUC flashed with the image from the official home assistant docs? I don't know if any of the other 12th gen intel users are running HassOS.
Correct, flashed "Generic x86-64" onto the SSD with Balena Etcher.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.