2021-08-30, 02:32 PM
I was attempting to add a condition to PostProcessing.sh to prevent comskip from running on recordings from a certain channel.
My PostProcessing script is
The mux part works fine but when it gets to the if statement this output from the log is what I get
I am missing something but I don't know what it could be.
Any help is much appreciated.
My PostProcessing script is
Code:
ffmpeg -i "$1" -vcodec copy -acodec copy -f matroska -| ffmpeg -i pipe: -codec copy -movflags faststart -y "${1%.*}.mp4" > /dev/null
if ["$2" -ne "32.*"]
then
nice -n 19 comskip --ini=/home/rex/Comskip/comskip.ini "$1" > /dev/null
fi
Code:
> /var/opt/nextpvr/scripts/PostProcessing.sh: line 2: [7.3: command not found
Any help is much appreciated.