Quote:
Originally Posted by LoRd_MuldeR
As far as I know, H.264 uses the YCbCr color model. Thus RGB data unavoidable has to be converted to YCbCr.
|
Incorrect, H.264 can compress RGB more or less effectivly with 4:4:4 profile. Also there is colormatrix value in VUI for signaling RGB (GBR really).
Quote:
Originally Posted by LoRd_MuldeR
Note that the color-space conversion itself is lossless (except for rounding errors)
|
That is already not lossless (and it is not only rounding errors).
Quote:
Originally Posted by LoRd_MuldeR
H.264 also supports a '4:4:4' mode (i.e. no color sub-sampling), but I don't think x264 does support this yet. Most H.264 decoders probably wouldn't either...
|
Your data are outdated. Both x264 and ffmpeg/libav supports 4:4:4 (and RGB also) now.
ramprasad85
You need to use --output-csp rgb because default is i420 (lossless or lossy encoding you do indifferent)