Microsoft Media Foundation 中的 h264 无损模式 [英] h264 lossless mode in the Microsoft Media Foundation

查看:40
本文介绍了Microsoft Media Foundation 中的 h264 无损模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现 h264 编解码器可以在无损压缩模式下工作.但是微软媒体基金会支持吗?如果是这样,我该如何将此编解码器的压缩模式从有损切换为无损?

I found that the h264 codec can work in the lossless compression mode. But is the Microsoft Media Foundation supports it? If so, how can i switch the mode of compression from lossy to lossless for this codec?

推荐答案

Windows 附带的 H.264 编码器的软件实现仅限于 H.264 配置文件,并且不提供无损编码选项.据我所知,具有无损编码选项的高 4:4:4 配置文件可用于 x264 编码器,但不提供 Media Foundation Transform 外形.使用各自的包装器 Media Foundation API 和 x264 可以结合使用 Media Foundation 生成无损编码的 H.264 视频.

Software implementation of H.264 encoder shipped with Windows is limited in H.264 profiles and does not offer lossless encoding option. To my best knowledge, High 4:4:4 profile with lossless encoding option is available in x264 encoder, which however does not offer Media Foundation Transform form factor. With a respective wrapper Media Foundation API and x264 can be combined to produce losslessly encoded H.264 video with Media Foundation.

如果您使用他们的视频编解码器 SDK(又名NVENC")并在其上提供您自己的媒体基础转换包装器,您还可以使用 NVIDIA 硬件进行无损编码.

You can also have lossless encoding with NVIDIA hardware if you use their Video Codec SDK (aka "NVENC") and provide your own wrapper of a Media Foundation Transform over it.

这篇关于Microsoft Media Foundation 中的 h264 无损模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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