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