ffmpeg hevc 10bit do 8 -bit

ffmpeg -i input -map 0 -c:v libx265 -crf 20 -vf format=yuv420p -c:a copy output.mkv
Medwin Manoj