if i use "find" to encode all files in subdirectories the option crf is not recognized at all. If i use "find", the picture quality is poor because, i think, he uses a predefined worse option. If i use ffmpeg without "find", the option works.
for example
works:
ffmpeg -i 1.mkv -c:v libx265 -tune grain -x265-params crf=20 -map 0:v -map 0:a -c:a copy -map 0:s? -c:s copy -disposition:s:0 0 out.mkv
works not:
find ./ -name '*.mkv' -exec bash -c 'ffmpeg -i "$0" -c:v libx265 -tune grain -x265-params -crf=20 -map 0:v -map 0:a -c:a copy -map 0:s? -c:s copy -disposition:s:0 0 "${0%%.mkv}.MKV"' {} \;
What's the problem with the line in find? Everything in find works, only the crf option does not work.
Greetings Hondo