VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Hello,

    i try to merge audio and image to video in ffmpeg,
    Problem : the export does not have the same color as the original


    Here is a comparison on YouTube

    Original : https://www.youtube.com/watch?v=NsSBI9qwFE4
    Export ffmpeg : https://www.youtube.com/watch?v=FsxwqTSqpbQ


    The Code : ffmpeg -loop 1 -i rose.jpg -i rose.flac -c copy -shortest rose.mkv

    I try to solve this problem since 2017

    Note : the color are the same in firefox, but not in Google Chrome
    Note2: the color stay the same until YouTube convert the video to VP9


    Thank you!
    Quote Quote  
  2. Probably ffmpeg defaults to bt601 colors while HD video is usually assumed bt709.

    Try adding:
    Code:
    -vf zscale=m=bt709:d=ordered

    Originally Posted by Clothem View Post
    Note : the color are the same in firefox, but not in Google Chrome
    Note2: the color stay the same until YouTube convert the video to VP9
    This is a separate issue. Different browsers, OS, GPU drivers etc. can produce different displays. You cannot influence this. My recommendation is to always upload HD video as bt709 and hope Google et. al. someday figure out how to correctly display everything on all systems.
    Last edited by sneaker; 7th Feb 2019 at 07:47.
    Quote Quote  
  3. Yes, it's a rec.601 vs rec.709 issue. HD video should use the rec.709 matrix to convert between RGB and YUV. Whenever possible flag the video as rec.709 (some codec and containers don't allow for this). Even with properly converted and flagged rec.709 you may not get the proper colors in some players/editors. Some always use rec.601. Some always use rec.709. Some assume rec.601 for low res, rec.709 for high res. Some will look for flags and act accordingly.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!