View Single Post
Old 13th October 2018, 15:59   #1  |  Link
zn
Registered User
 
Join Date: Jan 2009
Posts: 88
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.
zn is offline   Reply With Quote