// Note that there's no way to change this per-frame as the H.264 stream
// would like to be able to.
avstream_video->codecpar->color_primaries = AVCOL_PRI_BT709; // RGB colorspace (inout_format.color_space).
// Note that there's no way to change this per-frame as the H.264 stream
// would like to be able to.
avstream_video->codecpar->color_primaries = AVCOL_PRI_BT709; // RGB colorspace (inout_format.color_space).