Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Apr 2024
Posts: 510
|
Add Colormeitry Flags to the Same File
I have a video that doesn't have colorimetry flags. How do I add them to the video without having to create a new file? I tried using this command but I got the following error:
Code:
mkvpropedit "C:\Users\User\Videos\video.mkv" --edit track:1 -s colour-primaries=1 -s colour-transfer-characteristics=1 -s colour-matrix-coefficients=1 The file is being analyzed. Error: The name 'colour-primaries' is not a valid property name for the current edit specification in '--set colour-primaries=1'. |
|
|
|
|
|
#2 | Link |
|
Registered User
Join Date: Mar 2011
Posts: 5,069
|
For mkvpropedit it's color, not colour.
mkvpropedit stores/changes that info at the container level but it doesn't modify the bitstream, so if the info already exists in the bitstream MediaInfo will display something like: Color primaries : BT.601 PAL colour_primaries_Original : BT.709 I usually extract the video stream to a raw format with ffmpeg while adding/changing the VUI info, then remux it with MKVToolNix. The info isn't saved to the container that way, but as long as it's written to the video stream I don't think it matters. https://ffmpeg.org/ffmpeg-all.html#h264_005fmetadata https://ffmpeg.org/ffmpeg-all.html#hevc_005fmetadata For h265: Code:
ffmpeg -i input.mkv -vcodec copy -an -sn -bsf:v hevc_metadata=colour_primaries=1:transfer_characteristics=1:matrix_coefficients=1 output.hevc |
|
|
|
|
|
#7 | Link |
|
Big Bit Savings Now !
![]() Join Date: Feb 2007
Location: close to the wall
Posts: 2,044
|
Subforae: 777 viewing, 123 viewing, 362 viewing....
Indeed. Somebody sucks up everything they can digest, and more. Just "less" agents, "only" 11164 guests of >51.000 peak. Doesn't feel too good.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." Last edited by Emulgator; 2nd January 2026 at 22:19. |
|
|
|
![]() |
| Tags |
| colorimetry |
| Thread Tools | |
| Display Modes | |
|
|