From f5f32b9208db08b723cd1a20a0f8d29147ca7c13 Mon Sep 17 00:00:00 2001 From: q3aql Date: Sun, 12 Mar 2023 18:10:42 +0100 Subject: [PATCH] Change title text --- src/ks-av1s | 26 +++++++++++++------------- src/ks-av1s-folder | 8 ++++---- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/ks-av1s b/src/ks-av1s index 855d82a..7745fa5 100755 --- a/src/ks-av1s +++ b/src/ks-av1s @@ -1,13 +1,13 @@ #!/bin/bash -################################################################### -# ks-av1s (ks-tools) - Convert video to AV1 Codec format (Series) # -# Date: 10-03-2023 # -# Author: q3aql # -# Contact: q3aql@duck.com # -################################################################### +############################################################ +# ks-av1s (ks-tools) - Convert video to AV1 codec (Series) # +# Date: 12-03-2023 # +# Author: q3aql # +# Contact: q3aql@duck.com # +############################################################ VERSION="8.5-dev" -M_DATE="100323" +M_DATE="120323" # Detect version ffmpeg for old releases ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) @@ -190,7 +190,7 @@ if [ -z "${1}" ] ; then echo "" echo "* ks-av1s (ks-tools) v${VERSION} (${M_DATE})" echo "" - echo "- Convert video file(s) to compact and efficient AV1 Codec (Series)" + echo "- Convert video file(s) to compact and efficient AV1 codec (Series)" echo "" echo "+ Config: ${configFile}" echo "" @@ -266,7 +266,7 @@ if [ -z "${2}" ] ; then echo "" echo "* ks-av1s (ks-tools) v${VERSION} (${M_DATE})" echo "" - echo "- Convert video file(s) to compact and efficient AV1 Codec (Series)" + echo "- Convert video file(s) to compact and efficient AV1 codec (Series)" 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}\" -metadata date=\"${year_file}\" -metadata genre=\"${genre_file}\" -metadata:s:v:0 title=\"${name_title}\" -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}\" -metadata date=\"${year_file}\" -metadata genre=\"${genre_file}\" -metadata:s:v:0 title=\"${name_title}\" -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}\" -metadata date=\"${year_file}\" -metadata genre=\"${genre_file}\" -metadata:s:v:0 title=\"${name_title}\" -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}\" -metadata date=\"${year_file}\" -metadata genre=\"${genre_file}\" -metadata:s:v:0 title=\"${name_title}\" -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}\" -metadata date=\"${year_file}\" -metadata genre=\"${genre_file}\" -metadata:s:v:0 title=\"${name_title}\" -metadata:s:a:0 title=\"${acodec} Stereo Audio (${b_acodec})\" \"${2}.${v_ext}\"" fi fi diff --git a/src/ks-av1s-folder b/src/ks-av1s-folder index b5c4f69..9b5ceab 100755 --- a/src/ks-av1s-folder +++ b/src/ks-av1s-folder @@ -2,12 +2,12 @@ ################################################################################## # ks-av1s-folder (ks-tools) - Convert videos from folder to AV1 (Codec) (Series) # -# Date: 10-03-2023 # +# Date: 12-03-2023 # # Author: q3aql # # Contact: q3aql@duck.com # ################################################################################## VERSION="8.5-dev" -M_DATE="100323" +M_DATE="120323" # Variables tempFile="/tmp/ks-av1s-folder.txt" @@ -58,7 +58,7 @@ if [ -z "${1}" ] ; then echo "" echo "* ks-av1s-folder (ks-tools) v${VERSION} (${M_DATE})" echo "" - echo "- Convert videos from folder to MP4 format (Series)" + echo "- Convert videos from folder to AV1 codec (Series)" echo "" echo "+ Syntax: " echo "" @@ -93,7 +93,7 @@ clear echo "" echo "* ks-av1s-folder (ks-tools) v${VERSION} (${M_DATE})" echo "" -echo "- Convert videos from folder to MP4 format (Series)" +echo "- Convert videos from folder to AV1 codec (Series)" echo "" echo -n "* Scanning ${1} " echo ""