for X in `find ./ | grep .mp4` ; \
do \
ffmpeg -i $X -c:v libx265 -x265-params lossless -c:a copy $X-output.mp4 ; \
done