2024-09-01, 08:14 PM
Hello,
I have set the below tags in config.xml:
<TranscodeExe>.\other\startffmpeg.cmd</TranscodeExe>
<TranscodeHLS>-y [SEEK] -hwaccel:v:0 d3d11va -hwaccel_device:v:0 0 -bsf:v h264_mp4toannexb -i [SOURCE] -omit_video_pes_length 1 -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:[AUDIO_STREAM] -map -0 -c:v h264_qsv -pix_fmt yuv420p -preset veryfast -global_quality 25 -b:v [BITRATE] -maxrate [BITRATE] -bufsize [BUFSIZE] -fps_mode passthrough -profile:v high -level 4.0 -force_key_frames "expr:gte(t,n_forced*1)" -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]</TranscodeHLS>
Where startffmpeg.cmd is a script with the following command:
start /b /high .\other\ffmpeg.exe
But I don't see this command line being used in the logs:
2024-09-01 23:08:07.685 [DEBUG][17] Executing: C:\Program Files\NextPVR\Other\ffmpeg.exe -y -hwaccel:v:0 d3d11va -hwaccel_device:v:0 0 -bsf:v h264_mp4toannexb -i http://127.0.0.1:8866/live?channeloid=71...249157f851 -omit_video_pes_length 1 -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:0 -map -0 -c:v h264_qsv -pix_fmt yuv420p -preset veryfast -global_quality 25 -b:v 4000000 -maxrate 4000000 -bufsize 8000000 -fps_mode passthrough -profile:v high -level 4.0 -force_key_frames "expr:gte(t,n_forced*1)" -s 1280x720 -c dvbsub -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time 5 -start_number 0 -hls_list_size 243 -y "C:\Users\Public\NPVR-data\web\temp\ANT1-00b7218a0947418fa5113745e3427b31.m3u8"
is there something I am doing wrong?
Thanks and regards
I have set the below tags in config.xml:
<TranscodeExe>.\other\startffmpeg.cmd</TranscodeExe>
<TranscodeHLS>-y [SEEK] -hwaccel:v:0 d3d11va -hwaccel_device:v:0 0 -bsf:v h264_mp4toannexb -i [SOURCE] -omit_video_pes_length 1 -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:[AUDIO_STREAM] -map -0 -c:v h264_qsv -pix_fmt yuv420p -preset veryfast -global_quality 25 -b:v [BITRATE] -maxrate [BITRATE] -bufsize [BUFSIZE] -fps_mode passthrough -profile:v high -level 4.0 -force_key_frames "expr:gte(t,n_forced*1)" -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]</TranscodeHLS>
Where startffmpeg.cmd is a script with the following command:
start /b /high .\other\ffmpeg.exe
But I don't see this command line being used in the logs:
2024-09-01 23:08:07.685 [DEBUG][17] Executing: C:\Program Files\NextPVR\Other\ffmpeg.exe -y -hwaccel:v:0 d3d11va -hwaccel_device:v:0 0 -bsf:v h264_mp4toannexb -i http://127.0.0.1:8866/live?channeloid=71...249157f851 -omit_video_pes_length 1 -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:0 -map -0 -c:v h264_qsv -pix_fmt yuv420p -preset veryfast -global_quality 25 -b:v 4000000 -maxrate 4000000 -bufsize 8000000 -fps_mode passthrough -profile:v high -level 4.0 -force_key_frames "expr:gte(t,n_forced*1)" -s 1280x720 -c dvbsub -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time 5 -start_number 0 -hls_list_size 243 -y "C:\Users\Public\NPVR-data\web\temp\ANT1-00b7218a0947418fa5113745e3427b31.m3u8"
is there something I am doing wrong?
Thanks and regards