将 H265 编码为 hvc1 编解码器 [英] Encode H265 to hvc1 codec

查看:61
本文介绍了将 H265 编码为 hvc1 编解码器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的源文件的信息:

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 libx265 video-h265.mp4

结果如下:

但是视频轨道的编解码器是 hev1 .我想要hvc1

But the codec of the video track is hev1 . I want it's hvc1

推荐答案

'hev1'/'hvc1' 是用于表示容器 mp4 文件中流的不同包装的代码点.编码本身没有变化.可以在两种模式之间往返.尝试使用 mp4box :

'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 

这会将流提取到原始 HEVC 文件中.

This will extract the stream into a raw HEVC file.

mp4box -add file_track1.hvc output.mp4

如果可以,这将使用 hvc1 重新导入流.

This will reimport the stream using hvc1 if it can.

这篇关于将 H265 编码为 hvc1 编解码器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆