Answers.Body: <p>You are currently probably using the <a href="http://en.wikipedia.org/wiki/CCIR_601" rel="nofollow noreferrer">Rec. 601</a> color space for SD video. Encode your source footage in the <a href="http://en.wikipedia.org/wiki/Rec._709" rel="nofollow noreferrer">Rec. 709</a> color space.  It's the color space specified for HDTV and comes sRGB quite close.
  If you need higher color accuracy you can use the <a href="http://en.wikipedia.org/wiki/Rec._2020" rel="nofollow noreferrer">Rec. 2020</a> color space which exceeds the sRGB color space by far. Though compatibility may not be given everywhere with this color space.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-05-01T18:37:09.887Z
Answers.LastActivityDate: 2017-03-08T17:44:06.850Z
Answers.LastEditDate: 2017-03-08T17:44:06.850Z
Answers.UserDisplayName: timonsku
Answers.Body: <p>mp4 in sRGB colorspace can be of at least 4 types, first it is possible to have RGB (RGB identity matrix) tagged as sRGB transfer and primaries (BT.709 primaries are used in sRGB, so you MUST tag the file as that). That can be full range and limited range. Second is YCbCr, you can use BT.709 or BT.601 matrix. One should use BT.601 matrix for sRGB as it is how it is specified in the IEC standard, even though BT.709 matrix is better than BT.601 for BT.709 primaries as BT.709 matrix is derived from BT.709 primaries. As for range full range is what should be used, even though video is everywhere limited range, so...</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-02T13:14:42.533Z
Answers.LastActivityDate: 2021-07-02T13:38:18.170Z
Answers.LastEditDate: 2021-07-02T13:38:18.170Z
Answers.UserDisplayName: Валерий Заподовников
Answers.Body: <p>h.264 always uses Y'CbCr as the color space.  Y'CbCr should be able to match the space pretty closely, but you might have to use a 4:4:4 instead of the simplified 4:2:2.  4:2:2, which is most commonly used, lacks a lot of the color resolution and might be why you are seeing the differences.</p>
  
  <p>I can't guarantee it will allow a perfect match, but it should get you much closer.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-05-01T18:34:37.050Z
Answers.Text: Should be noted that Y'CbCr is not an absolute color space and therfore is not really comparable to an absolute color space like sRGB. There are standards like Rec. 709 which define an absolute color space for Y'CbCr encoded images.
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-02-28T19:30:15.610Z
Answers.LastActivityDate: 2014-02-28T19:30:15.610Z
Answers.UserDisplayName: AJ Henderson
Body: <p>I have an mp4 using h264 that i'm using in the background of a website. It has to blend in with the background image. I've already created ogv and webm videos for firefox and chrome and these work fine but the mp4 for safari doesn't blend properly. The only difference i see in the files is that the ogv, webm and original mov are all in sRGB color space, but the mp4 is in SDTV NTSC Y'CbCr. I've tried lots of different exporters but the mp4 is always in this colorspace. How do i get the mp4 in sRGB colorspace?</p>
  
  <p>adam</p>
  
Tags: <mp4>
Title: Possible to use sRGB as mp4 colorspace?
UserDisplayName: adam daly
ThreadText: # Possible to use sRGB as mp4 colorspace?
  
  (Asked by: username_0 on 2012-10-04)
  
  I have an mp4 using h264 that i'm using in the background of a website. It has to blend in with the background image. I've already created ogv and webm videos for firefox and chrome and these work fine but the mp4 for safari doesn't blend properly. The only difference i see in the files is that the ogv, webm and original mov are all in sRGB color space, but the mp4 is in SDTV NTSC Y'CbCr. I've tried lots of different exporters but the mp4 is always in this colorspace. How do i get the mp4 in sRGB colorspace?
  
  username_0
  
  **Tags:** mp4
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2014-05-01. Score: 3
  
  You are currently probably using the [Rec. 601](http://en.wikipedia.org/wiki/CCIR_601) color space for SD video. Encode your source footage in the [Rec. 709](http://en.wikipedia.org/wiki/Rec._709) color space. It's the color space specified for HDTV and comes sRGB quite close.
  If you need higher color accuracy you can use the [Rec. 2020](http://en.wikipedia.org/wiki/Rec._2020) color space which exceeds the sRGB color space by far. Though compatibility may not be given everywhere with this color space.
  
  
  ---
  
  ### Answer by username_2 on 2021-07-02. Score: 1
  
  mp4 in sRGB colorspace can be of at least 4 types, first it is possible to have RGB (RGB identity matrix) tagged as sRGB transfer and primaries (BT.709 primaries are used in sRGB, so you MUST tag the file as that). That can be full range and limited range. Second is YCbCr, you can use BT.709 or BT.601 matrix. One should use BT.601 matrix for sRGB as it is how it is specified in the IEC standard, even though BT.709 matrix is better than BT.601 for BT.709 primaries as BT.709 matrix is derived from BT.709 primaries. As for range full range is what should be used, even though video is everywhere limited range, so...
  
  
  ---
  
  ### Answer by username_3 on 2014-02-28. Score: 1
  
  h.264 always uses Y'CbCr as the color space. Y'CbCr should be able to match the space pretty closely, but you might have to use a 4:4:4 instead of the simplified 4:2:2. 4:2:2, which is most commonly used, lacks a lot of the color resolution and might be why you are seeing the differences.
  
  I can't guarantee it will allow a perfect match, but it should get you much closer.
  
  > **Comments:**
  > **username_1**: Should be noted that Y'CbCr is not an absolute color space and therfore is not really comparable to an absolute color space like sRGB. There are standards like Rec. 709 which define an absolute color space for Y'CbCr encoded images.  
  
  ---
  
  