• “创新从来都是九死一生”(人民论坛) 2019-02-14
  • 端午假期广州铁路运客640.5万人次 创历史新高 2019-02-14
  • 19次生态输水让塔河下游生机勃勃 2018-11-22
  • 男篮再胜伊朗迎热身赛两连胜 任骏飞19+11陶汉林18分 2018-11-22
  • 小卒子,你南街村的代言人啊?扮豬不咋像呢!你滴,大大滴,明白? 2018-11-22
  • 女性之声——全国妇联 2018-11-21
  • 新华网评:凝聚打赢脱贫攻坚战的强大合力 2018-11-21
  • 栗战书:执法检查要直面问题不搞评功摆好 让法律制度成为不可触碰的高压线 2018-11-21
  • 这些水果越新鲜越不能吃 放一放更好吃 2018-11-21
  • 生产资料公有制不会也不可能涉及生产资料的分配,这完全是你杜撰的,是强词夺理的。从这点看,你的所谓逻辑是幼稚可笑的。哈哈哈哈! 2018-11-20
  • 践行“两山论”是一场发展的革命 2018-11-20
  • 女教师舍身保护学生被撞身亡感动各界 2018-11-20
  • Welcome to

    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

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 13th October 2018, 15:59   #1  |  Link
    zn
    Registered User
     
    Join Date: Jan 2009
    Posts: 78
    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: 678
    I would apply histogram(mode="classic").histogram(mode="levels") and watch the populated range.
    __________________
    Die toten Augen von Friedrichshain: "Data reduction ? Yep, Sir. We're working on that issue. Synce invntoin uf ling鯽ge..."
    "To bypass shortcuts and find suffering"...no, it was somehow different...
    Emulgator is offline   Reply With Quote
    Reply


    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 17:06.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2018, vBulletin Solutions Inc.
  • “创新从来都是九死一生”(人民论坛) 2019-02-14
  • 端午假期广州铁路运客640.5万人次 创历史新高 2019-02-14
  • 19次生态输水让塔河下游生机勃勃 2018-11-22
  • 男篮再胜伊朗迎热身赛两连胜 任骏飞19+11陶汉林18分 2018-11-22
  • 小卒子,你南街村的代言人啊?扮豬不咋像呢!你滴,大大滴,明白? 2018-11-22
  • 女性之声——全国妇联 2018-11-21
  • 新华网评:凝聚打赢脱贫攻坚战的强大合力 2018-11-21
  • 栗战书:执法检查要直面问题不搞评功摆好 让法律制度成为不可触碰的高压线 2018-11-21
  • 这些水果越新鲜越不能吃 放一放更好吃 2018-11-21
  • 生产资料公有制不会也不可能涉及生产资料的分配,这完全是你杜撰的,是强词夺理的。从这点看,你的所谓逻辑是幼稚可笑的。哈哈哈哈! 2018-11-20
  • 践行“两山论”是一场发展的革命 2018-11-20
  • 女教师舍身保护学生被撞身亡感动各界 2018-11-20