Re: Brightness broken

Nicolas George <[email protected]> Mon, 23 May 2022 14:15:17 +0200
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
Reimar Döffinger (12022-05-21):
> >  ffmpeg -lavfi testsrc2=s=1280x720:d=2 -c:v libx265 \
> >    -pix_fmt yuv420p10 -crf 18 -y /tmp/test.mkv

> Unfortunately I can't reproduce.
> This change makes no difference, in all cases, the behaviour is:
> - brightness works with -vo gl
> - works but looks different with -vo gl:yuv=0
> - does not work with -vo corevideo
> 
> I guess it could be specific to Linux/graphics driver/support texture formats?

Did you test with the generated test video I suggested? The -pix_fmt
yuv420p10 is necessary to reproduce the issue, I should have insisted
more about it. I suspect the problem lies in the 10 bits → 8 bits
conversion.

It is a Debian testing with an Intel graphics controller:

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 21.3.8
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

Still not much time to investigate myself.

Regards,

-- 
  Nicolas George

_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6ooRQGBoNzw0KnwPcZVLI8pNxgwFAmKLetMACgkQcZVLI8pN
xgy7vBAAmyPnLe55ZR0UOuPP+qxhlXxeLwzgQA6wUVB/A2gc/ddiRERztbuv216c
9i6rtWFmWoxQQbVlQ+FtK+jjuoMcjYGryoPQykET0sU/91ZzHHiMzqVQDjDFbl5W
upM7BG0mFsKJRs2u4pzMPd6nebG8L/ogw1jMHuOhFD8+cJPA5rskuTb/0tCKunQt
VJe2Tfx5z7Ns2TMf+w4tF4aNBz0KgEF0kzEfTPa41akoUxGiEjR/TThqWEwsYV/4
/7uK9QtSffdSTST1K5HG1vPcafm4f07cmyKIthZ2y0r6vwNXc3PItBgHfr697gtE
pAHmQnCqNcJxLQ7lh/Y4mEpF2Bn0GghEfAPQGyu1lCwTmUSY1QajXioR/Clj9AaP
fb4ObSWR4gUd/MwtW044M6HJ1bSV8M874XJum+D0MUed9QVcWTihlCyGzFUqXYOA
gsuP8zkeuDj47z4/gAo0gFyyeEhaq7oddv0n0snQucpSUpo3wg/k8MZQsFfOtjcS
YpYa+TXHD6Fk3BbL7CoTVwPLtI++ulpXxgzdzuWu8VkUd1u8K0qFKfhqzqhmY/6X
XG4cveAwcYXO4wW/HD1ubXomUAWLQLugztyG32pcVpGp4gzfYcGBTOFMqTpxXp/v
Bw2/QrnzYuq2wwpO6zcSJwliOOS1NP5a49PxfmDt93IKsKrpkE8=
=qo60
-----END PGP SIGNATURE-----