I use different filters and the encoding to h.265. My question, what is the best way for ffmpeg to do it in a command line :
for f in *.ts; do ffmpeg -y -i "$f" -vf scale="1280:720,setsar=1",nlmeans="1.6:7:5:3:3" -vcodec libx265 -preset slow -crf 18 -c:a copy "$(basename "$f" .ts).mkv";done
or would it be better :
for f in *.ts; do ffmpeg -y -i "$f" -vcodec libx265 -preset slow -crf 18 -vf scale="1280:720,setsar=1",nlmeans="1.6:7:5:3:3" -c:a copy "$(basename "$f" .ts).mkv";done
Further more I would expect, filter options will be done from left to right, yes ?!
What is the best command chain in respect to different filters, compression ?