2020-07-04, 04:41 PM
Hi,
How can I add additional argument to ffmpeg command that NextPVR uses? I wanted to add "-max_muxing_queue_size 1024" to fix a transcoding issue. I edited the following section in config.xml but it didn't take effect
<TranscodeArgsHLS>-y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v [BITRATE] -maxrate [BITRATE] -bufsize 2698344 -vsync vfr -profile:v high -level 41 -aspect [ASPECT] -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 3 -start_number 0 -hls_list_size 0 -max_muxing_queue_size 1024 -y [TARGET]</TranscodeArgsHLS>
the nrecord.log shows a default transcoder args is always used
2020-07-04 01:53:19.232 [DEBUG][7] Default transcoder args: -y [SEEK] -i [SOURCE] -map_metadata -1 -threads [THREADS] -ignore_unknown -map 0:v:0? [PREFERRED_LANGUAGE] -map 0:a:[AUDIO_STREAM] -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 [DEINTERLACING] -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] [SCALE] [SUBTITLES] -flags -global_header -sc_threshold 0 -codec:a:0 [AUDIO_CODEC] -strict experimental -ac [AUDIO_CHANNELS] -ab [AUDIO_BITRATE] -hls_time [SEGMENT_DURATION] -start_number 0 -hls_list_size [SEGMENT_COUNT] -y [TARGET]
so where is the default configured if it's not in config.xml?
Thanks.
How can I add additional argument to ffmpeg command that NextPVR uses? I wanted to add "-max_muxing_queue_size 1024" to fix a transcoding issue. I edited the following section in config.xml but it didn't take effect
<TranscodeArgsHLS>-y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v [BITRATE] -maxrate [BITRATE] -bufsize 2698344 -vsync vfr -profile:v high -level 41 -aspect [ASPECT] -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 3 -start_number 0 -hls_list_size 0 -max_muxing_queue_size 1024 -y [TARGET]</TranscodeArgsHLS>
the nrecord.log shows a default transcoder args is always used
2020-07-04 01:53:19.232 [DEBUG][7] Default transcoder args: -y [SEEK] -i [SOURCE] -map_metadata -1 -threads [THREADS] -ignore_unknown -map 0:v:0? [PREFERRED_LANGUAGE] -map 0:a:[AUDIO_STREAM] -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 [DEINTERLACING] -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] [SCALE] [SUBTITLES] -flags -global_header -sc_threshold 0 -codec:a:0 [AUDIO_CODEC] -strict experimental -ac [AUDIO_CHANNELS] -ab [AUDIO_BITRATE] -hls_time [SEGMENT_DURATION] -start_number 0 -hls_list_size [SEGMENT_COUNT] -y [TARGET]
so where is the default configured if it's not in config.xml?
Thanks.