Hi... I am trying the new Topaz Video AI and on some files I have this problem:
no ICC profile found, will write nclx/nclc colour info instead.
I have found the problem:
All the files that don't have these information written on the files have this problem:
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
How can I write these information on a MP4 / MKV file?
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 6 of 6
			
		- 
	
- 
	Try this 
 ffmpeg -i input.mp4 -c copy -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv output.mp4
- 
	Thanks, I tried, but the only information added to the output are these: 
 
 FromStats_BitRate : 83057384
 FromStats_Duration : 01:51:19.005000000
 FromStats_FrameCount : 400340
 FromStats_StreamSize : 69342595879
- 
	Don't those stats have to be added at the bitstream filter level when remuxing? 
 
 https://ffmpeg.org/ffmpeg-bitstream-filters.html#h264_005fmetadata
 
 something like:
 I don't know what values are correct. You'll have to look them up (or just experiment). And if it's not h.264 you'll have to specify the correct bitstream filter (hevc_metadata, prores-metadata, etc.).Code:ffmpeg -i input.mp4 -c copy -bsf:v h264_metadata=colour_primaries=1:transfer_characteristics=1:matrix_coefficients=1:video_full_range_flag=0 output.mp4 
 
 <edit>
 After a little experimentation: 1 is BT.709 for color_primaries, transfer_characteristics, and matrix_coefficients. 0 is limited range for video_full_range_flag. Values may be different for different bsf's. Above command line modified to reflect this.
 
 MediaInfo report from an unflagged h.264 video remuxed with the above command line:
 
 </edit>Code:Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Last edited by jagabo; 10th Jan 2023 at 12:38. 
- 
	You're right, jagabo (as you usually are)  
 Your command line should work for avc.
Similar Threads
- 
  COULD video format contain location information?By kenny1999 in forum Newbie / General discussionsReplies: 2Last Post: 21st Oct 2022, 09:54
- 
  Missing mp4 video information.By andrew85x in forum Newbie / General discussionsReplies: 3Last Post: 5th Jan 2021, 07:12
- 
  Newbie, need any information you can tell me about video and audio.By DiodE in forum Newbie / General discussionsReplies: 1Last Post: 22nd Dec 2020, 15:54
- 
  Video colors darken after export. Possible Solution?By fabians_graphics in forum Newbie / General discussionsReplies: 2Last Post: 9th Apr 2019, 11:18
- 
  4K Video Downloader - parsing informationBy viniciusalbr in forum Video Streaming DownloadingReplies: 1Last Post: 14th Mar 2018, 17:39


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote 
 
			
			 
			