Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.
|13th October 2018, 15:59||#1 | Link|
Join Date: Jan 2009
How to find color space from screen grab video/pictures (yuv444p ffv1, rgb png)
How to find color range from screen recordings saved as FFV1 video (yuv444p) or PNG pictures (rgb) or RAW BGR24 video (rgb)?
I need approximates values to find information about source/decoder settings (both hidden using proprietary technologies):
a) 0-255 (not compressed by source, not compressed by decoder/videocard)
b) 16-235 (compressed by source OR compressed by decoder/videocard)
c) 30-218 (compressed by source AND compressed by decoder/videocard)
ffmpeg -r 25 -f x11grab -video_size 960x540 -i :0.0 -t 00:01:00 rgb-%03d.png
ffmpeg -r 25 -f x11grab -video_size 960x540 -i :0.0 -t 00:01:00 -vcodec ffv1 ffv1.mkv
ffmpeg -r 25 -f x11grab -video_size 960x540 -i :0.0 -t 00:01:00 -vcodec rawvideo -pix_fmt bgr24 raw-bgr.avi
Last edited by zn; 13th October 2018 at 16:06.
|16th November 2018, 06:44||#2 | Link|
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
I would apply histogram(mode="classic").histogram(mode="levels") and watch the populated range.
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're working on that issue. Synce invntoin uf ling鯽ge..."