QuickSync not working on Win 7 x64

I am using Channels DVR with Win 7 x64. I can’t get Channels server to encode using hardware.

I have tested my QuickSync in Handbrake and it is indeed present and works. But, not in Channels.

Within the config screen it shows for transcoding: Software

My hardware is i5-2400 with 8GB ram, plus a dedicated NVIDIA graphics. The integrated video and dedicated cards both show in the system manager, and QuickSync does work outside of the Channels environment.

What do I need to do to make this work?

I believe your transcoding should be set to hardware.

Please run the HWE test as outlined in Frequently Asked Questions

Also try updating to the latest build using click-and-hold on the Check For Update button.

Thanks. I missed that particular FAQ. I don’t have curl bc my powershell is from 2016 and is Win 7. But I saw what you were trying to do. So I:

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

I got a lot of failures and incorrect parameters from ffmpeg. I also updated to the latest Channels server build from today.

Any thoughts?

Log:

2019/08/12 17:07:11 [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 @ 0000000000579c40] 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 @ 000000000051efc0] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[h264_amf @ 0000000000516e40] 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!
2019/08/12 17:07:11 [HWE] Failure: exit status 1
2019/08/12 17:07:11 [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 @ 0000000000309c40] 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 @ 000000000059a040] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[h264_nvenc @ 0000000003031480] Cannot load nvEncodeAPI64.dll
[h264_nvenc @ 0000000003031480] The minimum required Nvidia driver for nvenc is 418.81 or newer
[h264_nvenc @ 0000000003031480] 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!
2019/08/12 17:07:11 [HWE] Failure: exit status 1
2019/08/12 17:07:11 [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 @ 00000000002d9c40] 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 @ 00000000004df040] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[h264_mf @ 0000000002ff1480] MF 0 attributes:
[h264_mf @ 0000000002ff1480]    {ceabba49-506d-4757-a6ff-66c184987e4e}={f79eac7d-e545-4387-bdee-d647d7bde42a}
[h264_mf @ 0000000002ff1480]    MFT_TRANSFORM_CLSID_Attribute={6ca50344-051a-4ded-9779-a43305165e35}
[h264_mf @ 0000000002ff1480]    {4276c9b1-759d-4bf3-9cd0-0d723d138f96}=<blob size 128>
[h264_mf @ 0000000002ff1480]    {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 @ 0000000002ff1480]    MFT_FRIENDLY_NAME_Attribute='H264 Encoder MFT'
[h264_mf @ 0000000002ff1480]    {9359bb7e-6275-46c4-a025-1c01e45f1a86}=1
[h264_mf @ 0000000002ff1480] activate MFT 0
[h264_mf @ 0000000002ff1480] MFT name: 'H264 Encoder MFT'
[h264_mf @ 0000000002ff1480] MFT supports ICodecAPI.
[h264_mf @ 0000000002ff1480] input types:
[h264_mf @ 0000000002ff1480] (need to set output type 1)
[h264_mf @ 0000000002ff1480] output types:
[h264_mf @ 0000000002ff1480] output type 0:
[h264_mf @ 0000000002ff1480]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000002ff1480]    MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 0000000002ff1480] picking output type 0.
[h264_mf @ 0000000002ff1480] setting output type:
[h264_mf @ 0000000002ff1480]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000002ff1480]    MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 0000000002ff1480]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000002ff1480]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000002ff1480]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000002ff1480]    MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1)
[h264_mf @ 0000000002ff1480]    MF_MT_MPEG2_PROFILE=100
[h264_mf @ 0000000002ff1480]    MF_MT_MPEG2_LEVEL=42
[h264_mf @ 0000000002ff1480]    MF_MT_AVG_BITRATE=400000
[h264_mf @ 0000000002ff1480] could not set output type (80004005)
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!
2019/08/12 17:07:11 [HWE] Failure: exit status 1
2019/08/12 17:07:11 [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 @ 0000000000399c40] 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 @ 00000000005befc0] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 00000000005bf3c0] w:iw h:ih flags:'bicubic' interl:0
[format @ 00000000005bf2c0] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scaler_0 @ 00000000005bf3c0] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:nv12 sar:1/1 flags:0x4
[h264_qsv @ 0000000003071480] Initialized an internal MFX session using hardware accelerated implementation
[h264_qsv @ 0000000003071480] Using the variable bitrate (VBR) ratecontrol method
[h264_qsv @ 0000000003071480] 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!
2019/08/12 17:07:12 [HWE] Failure: exit status 1
2019/08/12 17:07:12 [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 @ 0000000000349cc0] 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 @ 00000000005dff80] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 00000000005e0380] w:iw h:ih flags:'bicubic' interl:0
[format @ 00000000005e0280] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scaler_0 @ 00000000005e0380] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:nv12 sar:1/1 flags:0x4
[h264_qsv @ 000000000034ea40] Initialized an internal MFX session using hardware accelerated implementation
[h264_qsv @ 000000000034ea40] Using the variable bitrate (VBR) ratecontrol method
[h264_qsv @ 000000000034ea40] 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!
2019/08/12 17:07:12 [HWE] Failure: exit status 1

Please update to the latest build v2019.08.13.0310 and try again. LMK if it shows the Hardware mode after upgrading, and if not please run the HWE test again.

I have upgraded to the latest build, and Hardware mode didn’t show up.

Here is the tail of the log since the install of .310 showing the latest HWE test.

2019/08/13 02:17:38 [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 @ 0000000000679c40] 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 @ 000000000038efc0] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[h264_amf @ 0000000000386e40] 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!
2019/08/13 02:17:38 [HWE] Failure: exit status 1
2019/08/13 02:17:38 [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 @ 0000000000529c80] 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 @ 00000000004ca040] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[h264_nvenc @ 0000000003071480] Cannot load nvEncodeAPI64.dll
[h264_nvenc @ 0000000003071480] The minimum required Nvidia driver for nvenc is 418.81 or newer
[h264_nvenc @ 0000000003071480] 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!
2019/08/13 02:17:39 [HWE] Failure: exit status 1
2019/08/13 02:17:39 [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 -hw_encoding 1 -filter:v format=nv12 -f null -y nul
[Parsed_color_0 @ 00000000005b9e40] 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 @ 000000000051f600] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 000000000051fa00] w:iw h:ih flags:'bicubic' interl:0
[trim_in_0_0 @ 000000000051f700] auto-inserting filter 'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and the filter 'trim_in_0_0'
[auto_scaler_0 @ 000000000051fa00] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:nv12 sar:1/1 flags:0x4
[h264_mf @ 00000000005be740] MF 0 attributes:
[h264_mf @ 00000000005be740]    {88a7cb15-7b07-4a34-9128-e64c6703c4d3}=7
[h264_mf @ 00000000005be740]    {ceabba49-506d-4757-a6ff-66c184987e4e}={f79eac7d-e545-4387-bdee-d647d7bde42a}
[h264_mf @ 00000000005be740]    MFT_TRANSFORM_CLSID_Attribute={4be8d3c0-0515-4a37-ad55-e4bae19af471}
[h264_mf @ 00000000005be740]    {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 @ 00000000005be740]    {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 @ 00000000005be740]    MFT_FRIENDLY_NAME_Attribute='Intel� Quick Sync Video H.264 Encoder MFT'
[h264_mf @ 00000000005be740]    {9359bb7e-6275-46c4-a025-1c01e45f1a86}=4
[h264_mf @ 00000000005be740] activate MFT 0
[h264_mf @ 00000000005be740] MFT attributes
[h264_mf @ 00000000005be740]    {f81a699a-649a-497d-8c73-29f8fed6ad7a}=1
[h264_mf @ 00000000005be740]    {53476a11-3f13-49fb-ac42-ee2733c96741}=1
[h264_mf @ 00000000005be740]    MFT_ENUM_HARDWARE_URL_Attribute='AA243E5D-2F73-48c7-97F7-F6FA17651651'
[h264_mf @ 00000000005be740] MFT name: 'Intel� Quick Sync Video H.264 Encoder MFT'
[h264_mf @ 00000000005be740] MFT supports ICodecAPI.
[h264_mf @ 00000000005be740] input types:
[h264_mf @ 00000000005be740] input type 0:
[h264_mf @ 00000000005be740]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000005be740]    MF_MT_SUBTYPE={3231564e-3961-42ae-ba67-ff47ccc13eed}
[h264_mf @ 00000000005be740] input type 1:
[h264_mf @ 00000000005be740]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000005be740]    MF_MT_SUBTYPE=<FourCC NV12>
[h264_mf @ 00000000005be740]    FF-pixel-format=nv12
[h264_mf @ 00000000005be740] picking input type 1.
[h264_mf @ 00000000005be740] setting input type:
[h264_mf @ 00000000005be740]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000005be740]    MF_MT_SUBTYPE=<FourCC NV12>
[h264_mf @ 00000000005be740]    FF-pixel-format=nv12
[h264_mf @ 00000000005be740] could not set input type (c00d36e6)
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!
2019/08/13 02:17:39 [HWE] Failure: exit status 1
2019/08/13 02:17:39 [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 @ 0000000000539c40] 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 @ 000000000049efc0] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 000000000049f3c0] w:iw h:ih flags:'bicubic' interl:0
[format @ 000000000049f2c0] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scaler_0 @ 000000000049f3c0] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:nv12 sar:1/1 flags:0x4
[h264_qsv @ 00000000030e1480] Initialized an internal MFX session using hardware accelerated implementation
[h264_qsv @ 00000000030e1480] Using the variable bitrate (VBR) ratecontrol method
[h264_qsv @ 00000000030e1480] 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!
2019/08/13 02:17:39 [HWE] Failure: exit status 1
2019/08/13 02:17:39 [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 @ 00000000005d9cc0] 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 @ 00000000004aff80] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 00000000004b0380] w:iw h:ih flags:'bicubic' interl:0
[format @ 00000000004b0280] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scaler_0 @ 00000000004b0380] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:nv12 sar:1/1 flags:0x4
[h264_qsv @ 00000000005dea40] Initialized an internal MFX session using hardware accelerated implementation
[h264_qsv @ 00000000005dea40] Using the variable bitrate (VBR) ratecontrol method
[h264_qsv @ 00000000005dea40] 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!
2019/08/13 02:17:39 [HWE] Failure: exit status 1

Can you run this command and post the output:

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 -hw_encoding 1 -filter:v format=yuv420p -f null -y nul

here you go:
C:\Users\wmc>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 -hw_encoding 1 -filt
er:v format=yuv420p -f null -y nul
[Parsed_color_0 @ 00000000004a9e40] size:640x480 rate:25/1 duration:-1.000000 sa
r: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 @ 000000000057ff80] w:640 h:480 pixfmt:yuv420p tb
:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[h264_mf @ 00000000004aeb80] MF 0 attributes:
[h264_mf @ 00000000004aeb80] {88a7cb15-7b07-4a34-9128-e64c6703c4d3}=7
[h264_mf @ 00000000004aeb80] {ceabba49-506d-4757-a6ff-66c184987e4e}={f79eac7d
-e545-4387-bdee-d647d7bde42a}
[h264_mf @ 00000000004aeb80] MFT_TRANSFORM_CLSID_Attribute={4be8d3c0-0515-4a3
7-ad55-e4bae19af471}
[h264_mf @ 00000000004aeb80] {4276c9b1-759d-4bf3-9cd0-0d723d138f96}=<blob siz
e 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 3
2 00 00 10 00 80 00 00 AA 00 38 9B 71 >
[h264_mf @ 00000000004aeb80] {8eae8cf3-a44f-4306-ba5c-bf5dda242818}=<blob siz
e 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 @ 00000000004aeb80] MFT_FRIENDLY_NAME_Attribute='Intel« Quick Sync V
ideo H.264 Encoder MFT'
[h264_mf @ 00000000004aeb80] {9359bb7e-6275-46c4-a025-1c01e45f1a86}=4
[h264_mf @ 00000000004aeb80] activate MFT 0
[h264_mf @ 00000000004aeb80] MFT attributes
[h264_mf @ 00000000004aeb80] {f81a699a-649a-497d-8c73-29f8fed6ad7a}=1
[h264_mf @ 00000000004aeb80] {53476a11-3f13-49fb-ac42-ee2733c96741}=1
[h264_mf @ 00000000004aeb80] MFT_ENUM_HARDWARE_URL_Attribute='AA243E5D-2F73-4
8c7-97F7-F6FA17651651'
[h264_mf @ 00000000004aeb80] MFT name: 'Intel« Quick Sync Video H.264 Encoder MF
T'
[h264_mf @ 00000000004aeb80] MFT supports ICodecAPI.
[h264_mf @ 00000000004aeb80] input types:
[h264_mf @ 00000000004aeb80] input type 0:
[h264_mf @ 00000000004aeb80] MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000004aeb80] MF_MT_SUBTYPE={3231564e-3961-42ae-ba67-ff47ccc13
eed}
[h264_mf @ 00000000004aeb80] input type 1:
[h264_mf @ 00000000004aeb80] MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000004aeb80] MF_MT_SUBTYPE=
[h264_mf @ 00000000004aeb80] FF-pixel-format=nv12
[h264_mf @ 00000000004aeb80] (need to set output type 2)
[h264_mf @ 00000000004aeb80] output types:
[h264_mf @ 00000000004aeb80] output type 0:
[h264_mf @ 00000000004aeb80] MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000004aeb80] MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 00000000004aeb80] picking output type 0.
[h264_mf @ 00000000004aeb80] setting output type:
[h264_mf @ 00000000004aeb80] MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000004aeb80] MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 00000000004aeb80] MF_MT_INTERLACE_MODE=2
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 00000000004aeb80] MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1)
[h264_mf @ 00000000004aeb80] MF_MT_MPEG2_PROFILE=100
[h264_mf @ 00000000004aeb80] MF_MT_MPEG2_LEVEL=42
[h264_mf @ 00000000004aeb80] MF_MT_AVG_BITRATE=400000
[h264_mf @ 00000000004aeb80] input types:
[h264_mf @ 00000000004aeb80] input type 0:
[h264_mf @ 00000000004aeb80] MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000004aeb80] MF_MT_SUBTYPE={3231564e-3961-42ae-ba67-ff47ccc13
eed}
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 00000000004aeb80] MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1)
[h264_mf @ 00000000004aeb80] MF_MT_INTERLACE_MODE=2
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 00000000004aeb80] input type 1:
[h264_mf @ 00000000004aeb80] MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000004aeb80] MF_MT_SUBTYPE=
[h264_mf @ 00000000004aeb80] FF-pixel-format=nv12
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 00000000004aeb80] MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1)
[h264_mf @ 00000000004aeb80] MF_MT_INTERLACE_MODE=2
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 00000000004aeb80] (need to set output type 2)
[h264_mf @ 00000000004aeb80] output types:
[h264_mf @ 00000000004aeb80] output type 0:
[h264_mf @ 00000000004aeb80] MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000004aeb80] MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 00000000004aeb80] MF_MT_INTERLACE_MODE=2
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 00000000004aeb80] MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1)
[h264_mf @ 00000000004aeb80] MF_MT_MPEG2_PROFILE=100
[h264_mf @ 00000000004aeb80] MF_MT_MPEG2_LEVEL=42
[h264_mf @ 00000000004aeb80] MF_MT_AVG_BITRATE=400000
[h264_mf @ 00000000004aeb80] picking output type 0.
[h264_mf @ 00000000004aeb80] setting output type:
[h264_mf @ 00000000004aeb80] MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 00000000004aeb80] MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 00000000004aeb80] MF_MT_INTERLACE_MODE=2
[h264_mf @ 00000000004aeb80] MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 00000000004aeb80] MF_MT_PIXEL_ASPECT_RATIO=4294967297 (1:1)
[h264_mf @ 00000000004aeb80] MF_MT_MPEG2_PROFILE=100
[h264_mf @ 00000000004aeb80] MF_MT_MPEG2_LEVEL=42
[h264_mf @ 00000000004aeb80] MF_MT_AVG_BITRATE=400000
[h264_mf @ 00000000004aeb80] format negotiation failed (1/0)
Error initializing output stream 0:0 -- Error while opening encoder for output s
tream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

Unfortunately it seems the Microsoft provided QuickSync api is not functioning correctly on your machine. I'm not sure why since we do have other users on Windows 7 who are not having issues.

Maybe there's a pending software or driver update that will fix your issue? Usually the Intel GPU Driver is what controls QuickSync access.

With Win7 EOL coming in a few months, your best bet might be to upgrade to Windows 10.

Thanks for looking into the issue. I concur. The age of the OS didn’t hit me until I tried to ‘curl’.

I was looking at the ffmpeg output and there is really no reason why it shouldn’t work.

I will be switching to FreeBSD or Linux by the end of the week.

Thanks again for your support.

2 Likes

For anyone that matches the above description, it would be really helpful if you could perform the steps from the FAQ:

and post the results of your logfile here for comparison.