Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8442291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:48:45+00:00 2026-06-10T08:48:45+00:00

does anybody know the correct matrices for yuv -> rgb and rgb -> yuv

  • 0

does anybody know the correct matrices for yuv -> rgb and rgb -> yuv that is
used by libvpx/webm? when i use a standard one from wikipedia then my video output looks a bit different to vlc, the colors are stronger.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:48:47+00:00Added an answer on June 10, 2026 at 8:48 am

    Seems to be same as need to create a webm video from RGB frames

    there is one set of matrices for SD video and another for HD video. So remember that. Also RGB to YUV matrix is independent of the codec. The UV sample location is dependent on the codec.

    You can also take a look at http://www.fourcc.org/fccyvrgb.php to understand the conversion issue better

    EDIT: Explanation:
    The problem is not the equations per se but the understanding. Let me explain:

    Analog data on a component cable when converted to digital is supposed to be in the Range 16-220 for Y and 16-240 for Cb and Cr. So correctly captured data will always be in that range. For such data
    Y601 = 0.299R ́ + 0.587G ́ + 0.114B ́

    However in many computer softwares 0-255 is used as the range. For that 0.257R ́ + 0.504G ́ + 0.098B ́ + 16 is a more appropriate equation.

    For HD data the color conversion scheme is 709 and it changes the equation to
    Y709 = 0.213R ́ + 0.715G ́ + 0.072B ́

    If your range is 0-255 the conversion should be
    Y709 = 0.183R ́ + 0.614G ́ + 0.062B ́ + 16

    I suggest you read http://www.compression.ru/download/articles/color_space/ch03.pdf once.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody know how to correct this code so that it identifies whether an
Does anybody know a good place to learn how to use the debugger in
Does anybody know a Perl library that can parse XML documents and enables me
Does anybody know what are the correct values to setup the projection and view
Does anybody know of any limitations on the sounds that can be played when
Does anybody know how to code a regular expression (for use with some grep
does anybody know a correct solution for this code? BOOL maximized = [myWindow isMaximized];
Does anybody know how to run all the lines generated from the following query
Does anybody know if it possible to cache the image from the database? I
Does anybody know why this function, when passed an invalid date (e.g. timestamp) to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.