Channels DVR not giving a hardware transcoding option

I have a Window 8.1 machine with an Intel Core i5-2310 CPU and an nVidia Geforce GT 240 discrete GPU. Both onboard and discrete are enabled in the BIOS and Windows Device manager shows drivers for both the Intel HD Graphics and NVIDIA GeFore GT 240.

However Channels DVR shows "Software’ for the transcoder. Any ideas why?

Please run an HWE test. Open PowerShell to run this command, then open the DVR log and copy/paste the new “HWE” entries that appear.

iwr -usebasicparsing -method post http://127.0.01:8089/hls/hwaccel

2018/08/29 16:51:19 [HWE] Trying C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -loglevel warning -loglevel verbose -f lavfi -t 0.1 -i color=black:640x480 -c:v h264_amf -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f null -y nul
[Parsed_color_0 @ 0000000000493c40] size:640x480 rate:25/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'color=black:640x480':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_amf))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 000000000057cb00] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[h264_amf @ 0000000000579b40] DLL amfrt64.dll failed to open
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
2018/08/29 16:51:19 [HWE] Failure: exit status 1
2018/08/29 16:51:19 [HWE] Trying C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -loglevel warning -loglevel verbose -f lavfi -t 0.1 -i color=black:640x480 -c:v h264_nvenc -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f null -y nul
[Parsed_color_0 @ 0000000001c13c40] size:640x480 rate:25/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'color=black:640x480':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0000000001cfc6c0] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[h264_nvenc @ 0000000001cf9700] Cannot load nvEncodeAPI64.dll
[h264_nvenc @ 0000000001cf9700] The minimum required Nvidia driver for nvenc is 378.66 or newer
[h264_nvenc @ 0000000001cf9700] Nvenc unloaded
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
2018/08/29 16:51:19 [HWE] Failure: exit status 1
2018/08/29 16:51:19 [HWE] Trying C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -loglevel warning -loglevel verbose -f lavfi -t 0.1 -i color=black:640x480 -c:v h264_mf -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f null -y nul
[Parsed_color_0 @ 0000000001c03c40] size:640x480 rate:25/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'color=black:640x480':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_mf))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0000000002cf0100] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 0000000002cf1600] w:iw h:ih flags:'bicubic' interl:0
[format @ 0000000002cf0e00] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scaler_0 @ 0000000002cf1600] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:nv12 sar:1/1 flags:0x4
[h264_mf @ 0000000001ce9700] MF 0 attributes:
[h264_mf @ 0000000001ce9700]    MFT_ENUM_HARDWARE_URL_Attribute='AA243E5D-2F73-48c7-97F7-F6FA17651651'
[h264_mf @ 0000000001ce9700]    MFT_FRIENDLY_NAME_Attribute='Intel� Quick Sync Video H.264 Encoder MFT'
[h264_mf @ 0000000001ce9700]    {3aecb0cc-035b-4bcc-8185-2b8d551ef3af}='VEN_8086'
[h264_mf @ 0000000001ce9700]    {4276c9b1-759d-4bf3-9cd0-0d723d138f96}=<blob size 64: 76 69 64 73 00 00 10 00 80 00 00 AA 00 38 9B 71 4E 56 31 32 61 39 AE 42 BA 67 FF 47 CC C1 3E ED 76 69 64 73 00 00 10 00 80 00 00 AA 00 38 9B 71 4E 56 31 32 00 00 10 00 80 00 00 AA 00 38 9B 71 >
[h264_mf @ 0000000001ce9700]    {53476a11-3f13-49fb-ac42-ee2733c96741}=1
[h264_mf @ 0000000001ce9700]    MFT_TRANSFORM_CLSID_Attribute={4be8d3c0-0515-4a37-ad55-e4bae19af471}
[h264_mf @ 0000000001ce9700]    {88a7cb15-7b07-4a34-9128-e64c6703c4d3}=7
[h264_mf @ 0000000001ce9700]    {8eae8cf3-a44f-4306-ba5c-bf5dda242818}=<blob size 32: 76 69 64 73 00 00 10 00 80 00 00 AA 00 38 9B 71 48 32 36 34 00 00 10 00 80 00 00 AA 00 38 9B 71 >
[h264_mf @ 0000000001ce9700]    {9359bb7e-6275-46c4-a025-1c01e45f1a86}=4
[h264_mf @ 0000000001ce9700]    {ceabba49-506d-4757-a6ff-66c184987e4e}={f79eac7d-e545-4387-bdee-d647d7bde42a}
[h264_mf @ 0000000001ce9700]    {f81a699a-649a-497d-8c73-29f8fed6ad7a}=1
[h264_mf @ 0000000001ce9700] activate MFT 0
[h264_mf @ 0000000001ce9700] could not create MFT
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
2018/08/29 16:51:19 [HWE] Failure: exit status 1
2018/08/29 16:51:19 [HWE] Trying C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -loglevel warning -loglevel verbose -f lavfi -t 0.1 -i color=black:640x480 -c:v h264_qsv -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f null -y nul
[Parsed_color_0 @ 0000000001c93c40] size:640x480 rate:25/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'color=black:640x480':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_qsv))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0000000001d7db00] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 0000000001d7e100] w:iw h:ih flags:'bicubic' interl:0
[format @ 0000000001d7dc00] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scaler_0 @ 0000000001d7e100] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:nv12 sar:1/1 flags:0x4
[h264_qsv @ 0000000001d79700] Initialized an internal MFX session using hardware accelerated implementation
[h264_qsv @ 0000000001d79700] Using the variable bitrate (VBR) ratecontrol method
[h264_qsv @ 0000000001d79700] Error initializing the encoder: invalid video parameters (-15)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
2018/08/29 16:51:20 [HWE] Failure: exit status 1
2018/08/29 16:51:20 [HWE] Trying C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -loglevel warning -loglevel verbose -f lavfi -t 0.1 -i color=black:640x480 -c:v h264_qsv -profile:v high -level 42 -b:v 400k -maxrate:v 600k -look_ahead 0 -f null -y nul
[Parsed_color_0 @ 0000000001bb3cc0] size:640x480 rate:25/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'color=black:640x480':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_qsv))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0000000002d10f00] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 0000000002d10800] w:iw h:ih flags:'bicubic' interl:0
[format @ 0000000002d10500] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scaler_0 @ 0000000002d10800] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:nv12 sar:1/1 flags:0x4
[h264_qsv @ 0000000001c9a0c0] Initialized an internal MFX session using hardware accelerated implementation
[h264_qsv @ 0000000001c9a0c0] Using the variable bitrate (VBR) ratecontrol method
[h264_qsv @ 0000000001c9a0c0] Error initializing the encoder: invalid video parameters (-15)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
2018/08/29 16:51:20 [HWE] Failure: exit status 1

Looks like you might need a newer nvidia driver.

Is the nVidia driver preventing it from using the Intel driver? The nVidia card is fairly old, so I think the latest driver is v342.01.

No, the Intel driver is also failing for some reason. I’m not sure if perhaps the integrated GPU is disabled when another GPU is present?

We use two different APIs for intel h/w transcoding (one from MSFT and the other from Intel), and both are failing: