[FFmpeg-user] Fwd: [screen-capture-recorder-to-video-windows-free] Color mismatch on recorded file (#29)

Roger Pack rogerdpack2 at gmail.com
Tue Jun 10 15:09:00 CEST 2014

I'm having trouble helping somebody to convert RGB0 [full spectrum] input
into basically "lossless" libx264.  Is this even possible?  There seems to
be some loss even using yuv444p I'm not sure why.

libx264rgb can be lossless and does work.

Is this a "lost" [pun intended] cause? Is the purpose of libx264rgb to
avoid this problem?
Would 10 bit libx264 possibly help, anybody think?
Just wondering so I can do a write up of this on the wiki.

---------- Forwarded message ----------
From: Roger Pack <rogerdpack at gmail.com>
Date: Tue, Jun 10, 2014 at 7:05 AM
Subject: Fwd: [screen-capture-recorder-to-video-windows-free] Color
mismatch on recorded file (#29)
To: Roger Pack <rogerdpack2 at gmail.com>

---------- Forwarded message ----------
From: Andras Fuchs <notifications at github.com>
Date: Tue, Jun 10, 2014 at 1:27 AM
Subject: Re: [screen-capture-recorder-to-video-windows-free] Color mismatch
on recorded file (#29)
To: rdp/screen-capture-recorder-to-video-windows-free <
screen-capture-recorder-to-video-windows-free at noreply.github.com>
Cc: Roger Pack <rogerpack2005 at gmail.com>

You can check it out in the SCR-AccentColors.psd file mentioned above.

To summarize the findings, I would say:

   - x264 veryslow vs. ultrafast doesn't make any difference
   - x264's default colorspace setting is yuv420p
   - x264's yuvj420p, yuv444p and yuv420p are all different. Probably
   yuvj420p is the best, yuv444p is the worst, but it is subjective, since
   they are all lossy.
   - swsflags doesn't make a difference when using with x264
   - x264's colormatrix makes a difference, bt709 is the default, YCgCo is
   totally wrong
   - only huffyuv and x264rgb could produce color-perfect results

I agree, theoretically yuv444p should be lossless (or at least much better
than yuv420p), but it isn't..

Reply to this email directly or view it on GitHub

More information about the ffmpeg-user mailing list