ffmpeg格式设置,矩阵bt709 [英] ffmpeg Format settings, Matrix bt709

查看:1365
本文介绍了ffmpeg格式设置,矩阵bt709的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道我如何通过FFmpeg实现以下色彩空间( bt.709 )吗?
这是我现在文件中的内容...

Does anyone know how I can achieve the following color space (bt.709) via FFmpeg?
Here is what I have now in my files...

如您所见,默认情况下是Format settings, Matrix,我该如何设置它:

As you can see there is Format settings, Matrix as default, how can I set it like this :

  • 格式设置(矩阵):自定义或标准
  • 组件颜色原色:BT.709
  • 传输特性:BT.709
  • 矩阵系数:BT.709

谢谢

推荐答案

重新编码后,使用

ffmpeg -i test.mxf -c copy -c:v mpeg2video -b:v 5000k \
       -color_primaries 1 -color_trc 1 -colorspace 1 out.mxf

在Mediainfo中,在视频流属性的末尾,您应该看到三个与颜色相关的条目.请注意,格式设置(矩阵)与MPEG量化有关,与颜色无关.

In Mediainfo, at the end of the video stream attributes, you should see the three color-related entries. Note that Format settings (Matrix) is related to MPEG quantization and not color.

这篇关于ffmpeg格式设置,矩阵bt709的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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