Encode H265 to hvc1 codec

前端 未结 3 980
醉酒成梦
醉酒成梦 2021-02-04 19:34

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         


        
3条回答
  •  逝去的感伤
    2021-02-04 20:20

    '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.

提交回复
热议问题