Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Capturing and Editing Video > HDTV / DVB / TiVo

Thread Tools Search this Thread Display Modes
Old 13th October 2018, 15:59   #1  |  Link
Registered User
Join Date: Jan 2009
Posts: 85
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
Old 16th November 2018, 07:44   #2  |  Link
Big Bit Savings Now !
Emulgator's Avatar
Join Date: Feb 2007
Location: close to the wall
Posts: 861
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öage..."
Emulgator is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 01:27.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.