2018-05-25, 03:25 PM
After reading older posts on this forum, I modified my config.xml to try to enable Quicksync:
<TranscodeArgs>-y -v 0 -i [SOURCE] -f mpegts -acodec libfaac -ar 48000 -ac 2 -ab 64k -s [RESOLUTION] -vcodec h264_qsv -b [BITRATE]
Doing some tests, I noticed high CPU usage. After looking at the logs, I notice my h264_qsv setting is ignored:
2018-05-25 10:55:29.510 [DEBUG][16] Default transcoder args: -y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:[AUDIO_STREAM] -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v [BITRATE] -maxrate [BITRATE] -bufsize [BUFSIZE] -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s [RESOLUTION] [SUBTITLES] -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time [SEGMENT_DURATION] -start_number 0 -hls_list_size [SEGMENT_COUNT] -y [TARGET]
2018-05-25 10:55:29.510 [DEBUG][16] Executing: C:\Program Files (x86)\NPVR\Other\ffmpeg.exe -y -i http://127.0.0.1:8866/live?channel=12&tr...cb8dae8afd -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:0 -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v 2000000 -maxrate 2000000 -bufsize 4000000 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s 1280x720 -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 200 -y "C:\Users\Public\NPVR\web\temp\BeinSportsUSHD-c939fa8fb58f45a8a5624b772f81c6fb.m3u8"
Am I doing this correctly? Is the HW Acceleration for Transcoding setting somewhere else? My server has a Skylake Celeron G3900 that supports Quicksync. The OS is WHS 2011.
<TranscodeArgs>-y -v 0 -i [SOURCE] -f mpegts -acodec libfaac -ar 48000 -ac 2 -ab 64k -s [RESOLUTION] -vcodec h264_qsv -b [BITRATE]
Doing some tests, I noticed high CPU usage. After looking at the logs, I notice my h264_qsv setting is ignored:
2018-05-25 10:55:29.510 [DEBUG][16] Default transcoder args: -y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:[AUDIO_STREAM] -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v [BITRATE] -maxrate [BITRATE] -bufsize [BUFSIZE] -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s [RESOLUTION] [SUBTITLES] -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time [SEGMENT_DURATION] -start_number 0 -hls_list_size [SEGMENT_COUNT] -y [TARGET]
2018-05-25 10:55:29.510 [DEBUG][16] Executing: C:\Program Files (x86)\NPVR\Other\ffmpeg.exe -y -i http://127.0.0.1:8866/live?channel=12&tr...cb8dae8afd -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:0 -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v 2000000 -maxrate 2000000 -bufsize 4000000 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s 1280x720 -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 200 -y "C:\Users\Public\NPVR\web\temp\BeinSportsUSHD-c939fa8fb58f45a8a5624b772f81c6fb.m3u8"
Am I doing this correctly? Is the HW Acceleration for Transcoding setting somewhere else? My server has a Skylake Celeron G3900 that supports Quicksync. The OS is WHS 2011.