[FFmpeg-trac] #9167(undetermined:closed): Color changed when an image converting to video
FFmpeg
trac at avcodec.org
Sat Apr 3 02:37:57 EEST 2021
#9167: Color changed when an image converting to video
-------------------------------------+-------------------------------------
Reporter: kvsico | Owner:
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Balling):
Replying to [comment:24 pdr0]:
So, I did this
and ffplay -i 2.mp4 -vf extractplanes=y is 120
ffplay -i 2.mp4 -vf extractplanes=u is 90
ffplay -i 2.mp4 -vf extractplanes=v is 201
And then checked with https://res18h39.netlify.app/color and yeah, 238,
77, 44; 238, 77, 45 convert to the same value after rounding and back it
is 44 only! What is even more funny is that 238, 77, 46 converts to 120,
91, 201 but decodes as 238, 76, 46, which also encodes as 120, 91, 201.
Just... Whatever. I mean, I knew it is what it is, just never had such
experience.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9167#comment:27>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list