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

查看:1640
本文介绍了将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天全站免登陆