From 970775ce3b7cada2ae306afdd4cb35ec01bf719c Mon Sep 17 00:00:00 2001 From: CoolnsX Date: Thu, 21 Jul 2022 16:06:33 +0530 Subject: [PATCH] choke:typo --- hls | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hls b/hls index af386c7..69c0046 100755 --- a/hls +++ b/hls @@ -102,9 +102,8 @@ fi rm -rdf $tmpdir $jobdir #conversion of allts file to mp4 video using ffmpeg.. -printf "\033[2K\r\033[1;36mEncoding file to mp4 video..\n\033[0m" -[ -z "$skip_ffmpeg" ] && ffmpeg -i "$file.ts" -loglevel error -stats -c copy "$file.mp4" || mv "$file.ts" "$file.mp4" +[ -z "$skip_ffmpeg" ] && printf "\033[2K\r\033[1;36mEncoding file to mp4 video..\n\033[0m" && ffmpeg -i "$file.ts" -loglevel error -stats -c copy "$file.mp4" || mv "$file.ts" "$file.mp4" #cleanup.. -rm "$file".ts +rm -f "$file".ts printf "\033[2K\r\033[1;36m Done!!"