Unable to specify ffmpeg hwaccel_args #6450
|
When I set ffmpeg hardware acceleration like so: No image appears on the cam and I get the error: I tried I am running an Intel Core i5-12400 Desktop Processor and a Coral M.2 TPU, no GPU. If I omit the Should I simply continue without it? |
Replies: 8 comments 7 replies
|
Can you post your entire config? |
|
This looks like #6008 (comment) which was a host driver issue |
|
I tried installing various Intel drivers on the Debian instance, to no avail. I am not sure how to proceed. Is it an OS issue? A Frigate issue? Are there any commands I can try to see if everything is setup correctly? Would using Ubuntu solve the problem? It's my first time with Debian. Thanks for any advice. |
|
@thinkloop did you make any progres on this? I'm suddenly having the same issue with basically the same setup. |
|
I had absolutely same issue on ubuntu 22 with docker, and adding |
|
Has anyone been able to resolve this? Just set up a frigate instance, the host container detects the intel stuff fine, but if I enable preset-vaapi all my video feeds die. I'm confused why this hasn't been escalated to a bug if there's no answer. I'm already running it as a privileged container so that's not the fix. |
|
I ran into the same error message. In my case it was sufficient to map the device into the container in docker-compose.yml: |
|
remember to rerun docker compose up -d after changing the compose file. What worked for me: version: "3.9"
services:
frigate:
container_name: frigate
restart: unless-stopped
stop_grace_period: 30s
image: ghcr.io/blakeblackshear/frigate:stable
privileged: true
shm_size: "512mb"
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
volumes:
- ./config:/config
- ./storage:/media/frigate
- /etc/localtime:/etc/localtime:ro
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
I passed in the privileged: true parameter and set the path to the host intel graphics card /dev/ file |

Sorry hadn't seen this until now. The issue for me was that stock stable Debian was too behind. Had to install one of the more advanced branches, Trixie I believe.