frigate icon indicating copy to clipboard operation
frigate copied to clipboard

[Config Support]: hwaccel_args for Intel NUC

Open Jonnehs opened this issue 3 years ago • 4 comments

Describe the problem you are having

Hello,

I'm unsure how to find out what hwaccel_args I might use for the built in integrated GFX etc. Is it just the Intel gen10 plus stuff from the docs below, or are there other things to take advantage of onboard GFX?

Intel-based CPUs (>=10th Generation) via Quicksync# ffmpeg: hwaccel_args: - -hwaccel - qsv - -qsv_device - /dev/dri/renderD128

Version

0.10.1-83481AF

Frigate config file

mqtt:
  host: 10.25.1.15
  user: <user>
  password: <pass>

cameras:
  Front:
    rtmp:
      enabled: false
    ffmpeg:
      inputs:
        - path: rtsp://admin:<pass>@10.25.101.102:554/h264Preview_01_sub
          roles:
            - detect
        - path: rtsp://admin:<pass>@10.25.101.102:554//h264Preview_01_main
          roles:
            - rtmp
            - record
    detect:
      width: 640
      height: 480
  Garage:
    rtmp:
      enabled: false
    ffmpeg:
      inputs:
        - path: rtsp://admin:<pass>@10.25.101.103:554/h264Preview_01_sub
          roles:
            - detect
        - path: rtsp://admin:<pass>@10.25.101.103:554//h264Preview_01_main
          roles:
            - rtmp
            - record
    detect:
      width: 640
      height: 480
  Driveway:
    rtmp:
      enabled: false
    ffmpeg:
      inputs:
        - path: rtsp://admin:<pass>@10.25.101.101:554/h264Preview_01_sub
          roles:
            - detect
        - path: rtsp://admin:<pass>@10.25.101.101:554//h264Preview_01_main
          roles:
            - rtmp
            - record
    detect:
      width: 640
      height: 480
detectors:
  coral:
    type: edgetpu
    device: usb

Relevant log output

N/A

Frigate stats

No response

Operating system

Other Linux

Install method

Docker Compose

Coral version

USB

Any other information that may be helpful

No response

Jonnehs avatar Aug 20 '22 11:08 Jonnehs

Its a NUC11TNHi7 If that helps

https://www.intel.co.uk/content/www/uk/en/products/sku/205605/intel-nuc-11-pro-kit-nuc11tnhi7/specifications.html

Jonnehs avatar Aug 20 '22 11:08 Jonnehs

Yes those are the recommended args

NickM-27 avatar Aug 20 '22 12:08 NickM-27

Yes, using the same hwaccel_args successfully with Intel 10th gen i7 integrated graphics (NUC-style formfactor)

ffmpeg: hwaccel_args: - -hwaccel - qsv - -qsv_device - /dev/dri/renderD128

moandcompany avatar Aug 20 '22 21:08 moandcompany

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.

github-actions[bot] avatar Sep 20 '22 00:09 github-actions[bot]