My setup has hardware encoding selection available in the settings GUI, but viewing in a web browser does not work.
From the log:
2020/05/06 01:48:03.067715 [ENC] Starting encoder for ch4.1 in /shares/DVR/Streaming/ch4.1-dANY-ip192.168.1.22-637443941/encoder-1-168496108 at 1 (1.112467) (encoder=h264_vaapi, resolution=1080, deinterlacer=blend, bitrate=10000 segment_size=0.01)
2020/05/06 01:48:03.256142 [HLS] ffmpeg: ch4.1-dANY-ip192.168.1.22-1-h264-aac-10000-256-1080-0-0---false-false-0.01: [Parsed_scale_vaapi_3 @ 0x222aa40] Failed to create processing pipeline config: 12 (the requested VAProfile is not supported).
2020/05/06 01:48:03.256189 [HLS] ffmpeg: ch4.1-dANY-ip192.168.1.22-1-h264-aac-10000-256-1080-0-0---false-false-0.01: [Parsed_scale_vaapi_3 @ 0x222aa40] Failed to configure output pad on Parsed_scale_vaapi_3
2020/05/06 01:48:03.256307 [HLS] ffmpeg: ch4.1-dANY-ip192.168.1.22-1-h264-aac-10000-256-1080-0-0---false-false-0.01: Error reinitializing filters!
2020/05/06 01:48:03.256327 [HLS] ffmpeg: ch4.1-dANY-ip192.168.1.22-1-h264-aac-10000-256-1080-0-0---false-false-0.01: Failed to inject frame into filter network: Input/output error
2020/05/06 01:48:03.256336 [HLS] ffmpeg: ch4.1-dANY-ip192.168.1.22-1-h264-aac-10000-256-1080-0-0---false-false-0.01: Error while processing the decoded data for stream #0:0
2020/05/06 01:48:03.256724 [HLS] ffmpeg: ch4.1-dANY-ip192.168.1.22-1-h264-aac-10000-256-1080-0-0---false-false-0.01: [aac @ 0x229e5c0] 2 frames left in the queue on closing
2020/05/06 01:48:03.256922 [HLS] ffmpeg: ch4.1-dANY-ip192.168.1.22-1-h264-aac-10000-256-1080-0-0---false-false-0.01: [aac @ 0x22a0a00] 2 frames left in the queue on closing
2020/05/06 01:48:03.464553 [ENC] Encoder stopped for ch4.1 in /shares/DVR/Streaming/ch4.1-dANY-ip192.168.1.22-637443941/encoder-1-168496108 after starting from 1 without encoding any segments
I did some snooping based on other threads and know that I have dri passed through to my docker.
root@openmediavault:/dev/dri# lsmod | grep i915
i915 1974272 1
video 53248 1 i915
drm_kms_helper 212992 1 i915
drm 544768 3 drm_kms_helper,i915
i2c_algo_bit 16384 1 i915
root@openmediavault:/dev/dri# ls -alh
total 0
drwxr-xr-x 3 root root 100 May 5 16:41 .
drwxr-xr-x 17 root root 3.5K May 5 16:43 ..
drwxr-xr-x 2 root root 80 May 5 16:41 by-path
crw-rw---- 1 root video 226, 0 May 5 16:41 card0
crw-rw---- 1 root render 226, 128 May 5 16:41 renderD128
Software encoder works in the web browser, but crushes the CPU load and stutters.
I'm just using the onboard graphics of this intel mobo. Any ideas what I need to tweak?
