diff --git a/src/ks-av1 b/src/ks-av1 index 79861de..dd7e679 100755 --- a/src/ks-av1 +++ b/src/ks-av1 @@ -1,11 +1,11 @@ #!/bin/bash -############################################################ -# ks-av1 (ks-tools) - Convert video to AV1 (Codec) format # -# Date: 09-03-2023 # -# Author: q3aql # -# Contact: q3aql@duck.com # -############################################################ +################################################## +# ks-av1 (ks-tools) - Convert video to AV1 codec # +# Date: 09-03-2023 # +# Author: q3aql # +# Contact: q3aql@duck.com # +################################################## VERSION="8.5-dev" M_DATE="090323" @@ -190,7 +190,7 @@ if [ -z "${1}" ] ; then echo "" echo "* ks-av1 (ks-tools) v${VERSION} (${M_DATE})" echo "" - echo "- Convert video file(s) to compact and efficient AV1 Codec" + echo "- Convert video file(s) to compact and efficient AV1 codec" echo "" echo "+ Config: ${configFile}" echo "" @@ -266,7 +266,7 @@ if [ -z "${2}" ] ; then echo "" echo "* ks-av1 (ks-tools) v${VERSION} (${M_DATE})" echo "" - echo "- Convert video file(s) to compact and efficient AV1 Codec" + echo "- Convert video file(s) to compact and efficient AV1 codec" echo "" echo "+ Config:" echo "" @@ -456,7 +456,7 @@ else echo " ${p_ffmpeg} \"${1}\" -map ${subtitle_track} \"${2}.srt\"" echo "" if [ "${patch_thread}" == "y" ] ; then - echo " # Convert the file '${1}' to AV1 Codec" + echo " # Convert the file '${1}' to AV1 codec" if [ ! -z "${hevc_hdr}" ] ; then p_conversion="-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_codec}-pix_fmt yuv420p -b:v ${b_vcodec} -c:a ${acodec} -b:a ${b_acodec}" echo " ${p_ffmpeg} \"${1}\" ${f_conversion} -map ${video_track} -map ${audio_track} ${p_conversion} ${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}\"" @@ -464,7 +464,7 @@ else echo " ${p_ffmpeg} \"${1}\" ${f_conversion} -map ${video_track} -map ${audio_track} -vf subtitles=\"${2}.srt\" ${p_conversion} ${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}\"" fi else - echo " # Convert the file '${1}' to AV1 Codec" + echo " # Convert the file '${1}' to AV1 codec" if [ ! -z "${hevc_hdr}" ] ; then p_conversion="-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_codec}-pix_fmt yuv420p -b:v ${b_vcodec} -c:a ${acodec} -b:a ${b_acodec}" echo " ${p_ffmpeg} \"${1}\" ${f_conversion} -map ${video_track} -map ${audio_track} ${p_conversion} ${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})\" \"${2}.${v_ext}\"" @@ -474,10 +474,10 @@ else fi else if [ "${patch_thread}" == "y" ] ; then - echo " # Convert the file '${1}' to AV1 Codec" + echo " # Convert the file '${1}' to AV1 codec" echo " ${p_ffmpeg} \"${1}\" ${f_conversion} -map ${video_track} -map ${audio_track} ${p_conversion} ${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}\"" else - echo " # Convert the file '${1}' to AV1 Codec" + echo " # Convert the file '${1}' to AV1 codec" echo " ${p_ffmpeg} \"${1}\" ${f_conversion} -map ${video_track} -map ${audio_track} ${p_conversion} ${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})\" \"${2}.${v_ext}\"" fi fi