diff --git a/src/ks-avi b/src/ks-avi index 4a651e9..34c2f3e 100755 --- a/src/ks-avi +++ b/src/ks-avi @@ -479,7 +479,7 @@ else exit else if [ "${subtitles_y_n}" == "y" ] ; then - echo ${p_ffmpeg} "${1}" -map ${subtitle_track} "${2}.srt" + ${p_ffmpeg} "${1}" -map ${subtitle_track} "${2}.srt" if [ "${patch_thread}" == "y" ] ; then if [ ! -z "${hevc_hdr}" ] ; then ${p_ffmpeg} "${1}" ${f_conversion} -map ${video_track} -map ${audio_track} -s ${rel_size} -c:v ${vcodec} -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,subtitles="${2}.srt" -pix_fmt yuv420p -b:v ${b_vcodec} -preset ${v_preset} -c:a ${acodec} -b:a ${b_acodec} ${stereo_params} -metadata title="${name_title} (${year_file})" -metadata date="${year_file}" -metadata genre="${genre_file}" -metadata:s:v:0 title="${name_title} (${year_file})" -metadata:s:a:0 title="${acodec} Stereo Audio (${b_acodec})" ${p_ffmpeg_patched} "${2}.${v_ext}" diff --git a/src/ks-mp4 b/src/ks-mp4 index cc1d6ad..eb93dec 100755 --- a/src/ks-mp4 +++ b/src/ks-mp4 @@ -483,7 +483,7 @@ else exit else if [ "${subtitles_y_n}" == "y" ] ; then - echo ${p_ffmpeg} "${1}" -map ${subtitle_track} "${2}.srt" + ${p_ffmpeg} "${1}" -map ${subtitle_track} "${2}.srt" if [ "${patch_thread}" == "y" ] ; then if [ ! -z "${hevc_hdr}" ] ; then ${p_ffmpeg} "${1}" ${f_conversion} -map ${video_track} -map ${audio_track} -s ${rel_size} -c:v ${vcodec} -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,subtitles="${2}.srt" -profile:v high -pix_fmt yuv420p -b:v ${b_vcodec} -preset ${v_preset} -c:a ${acodec} -b:a ${b_acodec} ${stereo_params} -metadata title="${name_title} (${year_file})" -metadata date="${year_file}" -metadata genre="${genre_file}" -metadata:s:v:0 title="${name_title} (${year_file})" -metadata:s:a:0 title="${acodec} Stereo Audio (${b_acodec})" ${p_ffmpeg_patched} "${2}.${v_ext}" diff --git a/src/ks-mp4k b/src/ks-mp4k index d4fa62f..9af5aa7 100755 --- a/src/ks-mp4k +++ b/src/ks-mp4k @@ -483,7 +483,7 @@ else exit else if [ "${subtitles_y_n}" == "y" ] ; then - echo ${p_ffmpeg} "${1}" -map ${subtitle_track} "${2}.srt" + ${p_ffmpeg} "${1}" -map ${subtitle_track} "${2}.srt" if [ "${patch_thread}" == "y" ] ; then if [ ! -z "${hevc_hdr}" ] ; then ${p_ffmpeg} "${1}" ${f_conversion} -map ${video_track} -map ${audio_track} -s ${rel_size} -c:v ${vcodec} -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,subtitles="${2}.srt" -profile:v high -pix_fmt yuv420p -b:v ${b_vcodec} -preset ${v_preset} -c:a ${acodec} -b:a ${b_acodec} ${stereo_params} -metadata title="${name_title} (${year_file})" -metadata date="${year_file}" -metadata genre="${genre_file}" -metadata:s:v:0 title="${name_title} (${year_file})" -metadata:s:a:0 title="${acodec} Stereo Audio (${b_acodec})" ${p_ffmpeg_patched} "${2}.${v_ext}" diff --git a/src/ks-mp4s b/src/ks-mp4s index 4275d1c..048e279 100755 --- a/src/ks-mp4s +++ b/src/ks-mp4s @@ -483,7 +483,7 @@ else exit else if [ "${subtitles_y_n}" == "y" ] ; then - echo ${p_ffmpeg} "${1}" -map ${subtitle_track} "${2}.srt" + ${p_ffmpeg} "${1}" -map ${subtitle_track} "${2}.srt" if [ "${patch_thread}" == "y" ] ; then if [ ! -z "${hevc_hdr}" ] ; then ${p_ffmpeg} "${1}" ${f_conversion} -map ${video_track} -map ${audio_track} -s ${rel_size} -c:v ${vcodec} -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,subtitles="${2}.srt" -profile:v high -pix_fmt yuv420p -b:v ${b_vcodec} -preset ${v_preset} -c:a ${acodec} -b:a ${b_acodec} ${stereo_params} -metadata title="${name_title} (${year_file})" -metadata date="${year_file}" -metadata genre="${genre_file}" -metadata:s:v:0 title="${name_title} (${year_file})" -metadata:s:a:0 title="${acodec} Stereo Audio (${b_acodec})" ${p_ffmpeg_patched} "${2}.${v_ext}"