[BUG] VapourSynth Levels filter does not work for RGB24 image streams - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [BUG] VapourSynth Levels filter does not work for RGB24 image streams (/thread-1564.html) Pages:
1
2
|
VapourSynth Levels filter does not work for RGB24 image streams - The_Tinkerer - 16.10.2020 Using Hybrid Dev version 2020.10.15.1. Do a VapourSynth Levels filter for a RGB24 png image. (I attached the one I used in the below image, but I've tested it and the problem affects any image stream I've tried so far.) Turn the Levels filter on for VapourSynth, no need to even adjust anything. The script inserts some really strange numbers into the in/out levels, and the preview turns to weird hallucination colors. This appears to only affect image stream input. [attachment=1063] RE: VapourSynth Levels filter does not work for RGB24 image streams - Selur - 16.10.2020 I see the problem. Due to some bug Hybrid assumes a 'bit depth' of 24bit for the input and it also identifies the image as RGB32. Strange thing is that when I open the attached image here it's detected as: # current color space: RGB24, bit depth: 8, resolution: 1440x1080, fps: 25, color matrix: 709, yuv luminance scale: full, scanorder: progressive # Imports Got it, seems like I fixed that yesterday after uploading the dev version. -> will send you a new link in ~1/2 hour. Cu Selur RE: VapourSynth Levels filter does not work for RGB24 image streams - shijan - 17.10.2020 Seems there is also a problem that 16 bit RGB image imported to Hybrid incorrectly processed as 8 bit RGB24 # Imports RE: VapourSynth Levels filter does not work for RGB24 image streams - shijan - 17.10.2020 And here is how it looks if i apply Levels to 16 bit image. min_in=4096, max_in=60160 are correct numbers for 16 bit but it should detect it as RGB48 instead of RGB24 # Imports Same problem with 32 bit imported image: # Imports Also seems it depends of file format: 8 bit JPEG and TIFF image detected by Levels correctly: "min_in=16, max_in=235" 8 bit PNG image detected by Levels incorrectly: "min_in=1048576, max_in=15400960" RE: VapourSynth Levels filter does not work for RGB24 image streams - Selur - 17.10.2020 can you share example images? RE: VapourSynth Levels filter does not work for RGB24 image streams - shijan - 17.10.2020 Here are updated test images with different bit depth. RE: VapourSynth Levels filter does not work for RGB24 image streams - Selur - 17.10.2020 32bit png should be RGB 24bit + 8bit alpha, right? Vapoursynth supports the following color spaces: RGB24 = 8bit per component RGB27 = 9bit per component RGB30 = 10bit per component RGB48 = 16bit per component RGBH = float half percision RGBS = single precision COMPATBGR32 = no clue Question is how should Hybrid map color types of images? RE: VapourSynth Levels filter does not work for RGB24 image streams - shijan - 17.10.2020 Not sure how to generate PNG 32-bit. When i try to export PNG as 32 bit from image editor it give me message: "Images with unsupported bit depth" For images only need: RGB24 = 8bit per component RGB48 = 16bit per component RGBS = single precision (probably used for 32 bit TIFF file) RE: VapourSynth Levels filter does not work for RGB24 image streams - Selur - 17.10.2020 I don't think Hybrid can support 32 bit PNGs or TIFFs since I have no clue which color space to map them in Vapoursynth. Name | MediaInfo | Vapoursynth Okay, I can adjust Hybrid to this,.. RE: VapourSynth Levels filter does not work for RGB24 image streams - shijan - 17.10.2020 JPEG may be different depending of settings. If enable high quality at export Jpeg became 444. Hybrid can detect 420 and 444 JPEG. Not sure why it detects JPEG as YUV444P8@8 and same time other image formats as RGB24@8. Maybe JPEG is somehow special... In most cases "high quality" is always enabled in JPEG. Seems i just uncheck it by accident when exported test image. Have no any idea about how 32-bit PNG works. |