2 Attachment(s)
	
	
		Color changed after saving video, why?
	
	
		Hello,  after making the video in a videoeditor , i saved the video, the color seems to be different:
The blue color in the middle is the wrong color.
Its the color of the pictures that i insert in the video. the video itself looks ok.
What can be the cause?
It happens on my laptop, and on my PC.
Sorry i believe i chose the wrong Thread.
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		If I understand your images (I'm guessing that the slightly lighter blue block was overlaid onto the darker blue background to hide something) it looks like an RGB image is being convert to YUV with the wrong matrix.  rec.601 vs rec.709.
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		:( and what do i have to make it appear normal? no its not overlaid onto the darker blue. i pasted the lighter blue on the darker blue for you to see the difference
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		You really need to be more explicit.  What software are you using?  What exactly are you doing?  What exactly are the pictures supposed to be showing?  At first I thought the two pictures were showing before and after but that seemed to be too large a difference to match what you were saying in the text.
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		I put colored squares on the video, with text on the squares, in different colors. 
In my videoeditor the colors look normal. But after i save the video, the colors change.
No, i brightend the second picture to make it more visible.
I use VSDC Videoeditor.
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		Usually, HD video is encoded with rec.709 colors, and SD video is encoded with rec.601 colors.  The matrix used may or may not be flagged in the video file.  If the matrix is flagged the player should use the flagged matrix.  If not, most players will assume rec.601 for SD video, and rec.709 for HD video.  Between SD and HD, say 800x600, behavior varies from player to player.  So it's best to specify the color matrix when you encode.  If you don't flag the matrix you should follow the rule of using rec.601 for SD, rec.709 for HD.    Unfortunately, some players always use the same matrix no matter what the source and whether it's flagged or not.  In that case you should look for a better player.
I don't know anything about the editor you're using.  The matrices are also known by the names bt709 and bt470bg and other variations.  Look for settings like those.
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		So is it the fault of my videoeditor or the player where i watch the video? There are no matrices in my settings, only video codecs and for h264 the settings
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		
	Quote:
	
		
		
			
				Originally Posted by 
hello0
				 
			So is it the fault of my videoeditor or the player where i watch the video?
			
		
	 
  There's no way of knowing with the tiny amount of info you have provided.  Use MediaInfo to see if the color matrix is specified in your video file.  Upload a short video sample that shows the wrong colors on your computer.  And an image that shows the colors you expect to see.
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		Here is the mediainfo:
General
Complete name                            : C:\Users\xx\Documents\Project 1.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 1.29 MiB
Duration                                 : 2s 567ms
Overall bit rate                         : 4 206 Kbps
Writing application                      : Axara Ltd.
Video
ID                                       : 0
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L5.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 7 frames
Codec ID                                 : H264
Duration                                 : 2s 567ms
Bit rate                                 : 3 934 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 30.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.063
Stream size                              : 1.20 MiB (94%)
Audio
ID                                       : 1
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Mode                                     : Joint stereo
Mode extension                           : MS Stereo
Codec ID                                 : 55
Codec ID/Hint                            : MP3
Duration                                 : 2s 560ms
Bit rate mode                            : Constant
Bit rate                                 : 224 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 71.4 KiB (5%)
Alignment                                : Split accross interleaves
Interleave, duration                     : 26 ms (0.79 video frame)
Writing library                          : LAME3.97
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		I just created an AVI file with the x264vfw codec with "--colormatrix=bt709" in the "extra command line" box and MediaInfo showed this in the video section:
	Code:
	
Matrix coefficients                      : BT.709
  So MediaInfo can show the flag in AVI files.  Your encoder doesn't appear to specify which matrix was used.  Since you haven't supplied samples of your original source images and and encoded video I can only guess:  Your video is high def so the player is probably playing it with rec.709 colors.  And your encoder is probably using rec.601 colors.  That would match the difference in blue shades in your left image above.
To fix this you need to have your software convert with rec.709 colors.  Or leave it as rec.601 but flag it as rec.601.  The former is the better solution.
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		thanks here is the video and the picture. you can see, that the yellow on the picture is more brighter. The blue is different too.
the picture are the right colors!
https://www.youtube.com/watch?v=f9VxxST9j8s&feature=youtu.be
http://s16.postimg.org/87gqiyiwh/Unbenannt.jpg
How do i  convert with rec.709 colors? Is that easy?
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		I dont understand it, all of a sudden, youtube plays one video with the right colors, and the other with the wrong:
but its the same video. i also dont understand, why HELLO looks on the left pic blur and on the right not?
http://s29.postimg.org/ecqfsqg9f/Zwischenablage01.jpg
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		Using Youtube complicates matter because you are introducing several variables:  Youtube recompresses the video and may or may not change colorspaces (as I understand it, YUV uploads are not changed, RGB uploads are converted to YUV with a rec.709 matrix whether the video is SD or HD, and the matrix is not flagged).  Playing the video in a browser leaves you open to effects of the browser and graphics card (depending on setup).  And different browsers will play different versions of the video.  For example, here's a list of available versions of your video at Youtube:

[Attachment 32917 - Click to enlarge]
Your sample image and the Youtube video played on my computer with Firefox have the same colors.  I downloaded a 720p version and a 360p version.  Neither is flagged.  Both are rec.601.
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		Thanks. Now i see the right colors on YT. But when i play it on my PC with Windows Media Player, the colors are still wrong. What can i do to see the right colors on my PC/Player too?
	 
 
	
	
	
		Re: Color changed after saving video, why?
	
	
		Now youtube shows the wrong colors again. When i play the video with 480p the colors are ok, but when i switch to 720p the colors change to darken.