It's easy. To only recode the video stream (using HEVC/H.265/libx265 in this case), do this:
$ ffmpeg -i infile.mp4 -c:v hevc -c:a copy outfile.mp4
To also encode audio (using AAC), do this:
$ ffmpeg -i infile.mp4 -c:v hevc -c:a aac -b:a 192k outfile.mp4
In either case, “-c” stands for “codec”, while “-b” stands for “bitrate”. To find
(
Read more... )