phoboslab / jsmpeg

MPEG1 Video Decoder in JavaScript
MIT License
6.35k stars 1.43k forks source link

Support full color scale #328

Open kasmtech opened 4 years ago

kasmtech commented 4 years ago

I know you are following the standard yuv2rgb, 16-235 color scale. But encoders, such as ffmpeg, can encode the full color range 0-255. The result of using 16-235 is that the video looks washed, without true blacks or whites. How feasible would it be to support the full color range?