Hello.
Thanks for reading my topic.
I see enconders have options to select an color format for color primaries , color transfer and color space.
I see for 720P and 1080P the color format is bt709.
Thus for better quality the correct is choice the same color format bt709 for color primaries, color transfer and color space ?
Selecting the same color format optimize the enconding compression ? Selecting alternate colors format for the same video file can break the quality ?
Have an nice week.
+ Reply to Thread
Results 1 to 2 of 2
-
-
Technically it has nothing to do with quality. Only if you use wrong flag for a video, it is shown in slightly wrong colors.
Those are just flags in your video, telling a player what equations to use to get RGB values. Your video is encoded using YUV values, so to view any YUV video, it needs to be converted to RGB for a preview on RGB screen.
So if you know those flags, you set them the same, as your original video was in encoding settings.
Other thing is to change them. For example, you have matrix BT601, your original video, your video was 720x480, and you are upscaling to HD resolution, so you better use BT709 flags for upscaled video, to prevent confusion during playback. To do that, you have to change those values, not just flags, so you have to encode to your new values to your new matrix, primaries, transfer. You cannot just simply change your flags only.
so:
- so if you know your original flags, encode them the same
- if you are changing them, you convert, to those matrixes, if conversion effect is not available, you might get hands on some LUT, that does the same, or apps like avisynth or vapoursynth do that (not easy to use, where you specify input and convert to output).
Or for example ffmpeg, I just google it, do not use ffmpeg for these conversion:
Code:ffmpeg -i input.mp4 -vf "colorspace=all=bt709:iall=bt601-6-625" output.mp4
all=bt709: Sets the output color space, primaries, and transfer function to BT.709.
iall=bt601-6-625: Specifies that the input color space, primaries, and transfer function should be treated as BT.601-6-625 (for PAL). For NTSC, you would use iall=bt601-6-525.
Similar Threads
-
XMedia Recode does not convert color primaries
By banaguitar in forum Video ConversionReplies: 1Last Post: 6th May 2025, 07:56 -
PotPlayer doesn't show correct colors, changing Color Space does not help.
By ObjectNull85 in forum Software PlayingReplies: 26Last Post: 24th Oct 2024, 13:02 -
Capturing with GFE, color space
By Amaze in forum Capturing and VCRReplies: 12Last Post: 25th May 2023, 08:32 -
color space bt709 to bt2020, but the player display color is different
By KaGaWu in forum Newbie / General discussionsReplies: 5Last Post: 14th Feb 2023, 03:43 -
[HELP] Correct color space
By darkslayer00 in forum DVD RippingReplies: 1Last Post: 29th Nov 2021, 02:59