FFMS / ffms2

An FFmpeg based source library and Avisynth/VapourSynth plugin for easy frame accurate access
Other
579 stars 105 forks source link

RGB images are marked as "limited" range #292

Closed madshi closed 7 years ago

madshi commented 7 years ago

When loading RGB images (e.g. a BMP file), ffms2 marks the image to have a "limited" range (16-235) via metadata. This is a bad decision, IMHO, because usually BMP, PNG and JPG files are full range.

If you want to set range metadata for bitmap images, I think you should set full range. Otherwise, at least leave the range unspecified.

Just my 2 cents, of course.

myrsloik commented 7 years ago

You didn't force any output format or colorspace, right? I just fixed a pile of issues with that...

madshi commented 7 years ago

Not that I'm aware of. My script looks like this:

import vapoursynth as vs
core = vs.get_core()
video = core.ffms2.Source(source='castle.bmp')
video = core.madVR.Process(video, some parameters)
video.set_output()
myrsloik commented 7 years ago

Death by a thousand horrible format guesses

myrsloik commented 7 years ago

Should be fixed now, verify it in the next test

madshi commented 7 years ago

Thanks.