Here is the info of my source file:
I want to keep audio quality and just encode the video track so I use this command:
ffmpeg -i INPUT -c:a copy -c:v l
'hev1'/'hvc1' are code points used to signal different packaging of the stream in the container mp4 file. There is no change in the coding itself. It is possible to round trip between the two modes. Try with mp4box :
mp4box -raw 1 file.mp4
This will extract the stream into a raw HEVC file.
mp4box -add file_track1.hvc output.mp4
This will reimport the stream using hvc1 if it can.