ffmpeg Copy From Input Video To Output Video

I have encountered the issue of faded/washed out colours after reencoding my library of phone videos from H264 to HEVC using ffmpeg. The command I used was

ffmpeg -i input.mp4 -vcodec libx265 -o output.mp4

Some searching have found that colour metadata from the input video are missing in the output video. An answer I found only addresses it specifically for a given input video. Is there a way to “copy” or “transfer” the metadata from the input video without having to go through the parameters on ffprobe?

Read more here: Source link