Frigate ffmpeg hardware acceleration help!

I’m running HAOS under VirtualBox on an old Mac Pro 4,1 and am trying to get setting for the ffmpeg to use the correct GPU. The Mac has 2 x 2.26 GHz Quad-Core Intel Xeon and a NVIDIA GeForce GTX 680 I currently use 2 CPUs for the HAOS.

I currently have this configured but seems like it needs codecs too!
ffmpeg:
hwaccel_args: -hwaccel auto

I’ve tried this but get errors:
ffmpeg:
hwaccel_args: -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p

I’m kind of getting lost in the nesting - since it’s Mac hardware, you’d think OpenCL or video toolbox should work.

Mac running High Sierra (highest it will support)
VirtualBox Version 6.1.40 r154048 (Qt5.6.3)
Home Assistant 2022.11.0
Supervisor 2022.10.0
Operating System 9.3

I believe you would need to do hardware pass through to access the graphics card from the VM. Did you do this in virtual box?

What is visible from HAOS shell in the /dev/dri directory?

Not sure how to enable this in VT6.1, doing research but looks like they are looking for a command window inside the shell.

Screenshot 2022-11-03 at 11.25.17 AM

"Starting in 6.1.x Virtualbox does not have PCI passthrough anymore."