• 隐私条款中国国家地理网 2019-08-10
  • 500亿美元商品相关新闻 2019-08-10
  • 研究:亚洲民众更关注健康食品 2019-08-06
  • 持之以恒打好“节点战” 2019-08-06
  • 英国成功完成机器人辅助眼部手术试验 2019-08-01
  • 户口迁移耽搁了17年 诸暨籍女子找回“迟到”的身份 2019-07-29
  • 明星高考奇葩事杨幂总分第一 赵薇丢准考证(组图) 2019-07-02
  • 肩负促进和平与发展的时代重任 2019-07-02
  • 探秘海南高考评卷场 考生答题卡武警24小时值守 2019-06-28
  • “人民日报是我一生最尊敬和宝贵的朋友” 2019-06-28
  • 惊艳卢浮宫小牛电动发布新款电动车惊艳卢浮宫小牛电动发布新款电动车-手机行情 2019-06-23
  • 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • 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 > Avisynth Usage

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 6th August 2019, 01:23   #1  |  Link
    Registered User
     
    zappa's Avatar
     
    Join Date: Sep 2018
    Posts: 21
    Show Frame type (I, P, B) in Avisynth

    Show Frame type (I, P, B) in Avisynth

    Hello friends

    I wanted to know if there is any other way to see the frame type (I, B, P) in Avisynth apart from these that I mention below.


    -FFinfo()
    -DGSource("",Show=true)
    -Info() ---(this does not show the frame type . but it does show other things)

    is there any other way to visualize in avisynth the frame type of the video ?

    it would be very good to implement in AVSmod this feature to show the type of frame in the video (I, P, B)

    Thank you
    zappa is offline   Reply With Quote
    Old 6th August 2019, 01:57   #2  |  Link
    HeartlessS Usurer
     
    StainlessS's Avatar
     
    Join Date: Dec 2009
    Location: Over the rainbow
    Posts: 7,012
    Pretty much all you can do.
    Code:
    FN="d:\GetSeq_Test\TEST\tears_of_steel_1080pwebm.webm"
    FFVideosource(FN)
    
    SSS=""" Subtitle(String(current_frame,"%.0f] ")+Chr(FFPICT_TYPE)) """
    
    Scriptclip(SSS,After_Frame=True)
    Only source filter can ever know the frame type, above FFVideosource exposes this [so that it could be used Programmatically].
    __________________
    I sometimes post sober.
    [email protected] ::: AND/OR ::: [email protected]

    "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

    Last edited by StainlessS; 6th August 2019 at 14:11.
    StainlessS is offline   Reply With Quote
    Old 6th August 2019, 02:41   #3  |  Link
    Registered User
     
    Join Date: Jul 2014
    Posts: 776
    DGSource(...,show=true) will show the frame coding type. Make sure you have the top left corner of the video showing. Why is this not enough for you?

    Last edited by videoh; 6th August 2019 at 02:44.
    videoh is offline   Reply With Quote
    Old 14th September 2019, 16:43   #4  |  Link
    Registered User
     
    zappa's Avatar
     
    Join Date: Sep 2018
    Posts: 21
    Quote:
    Originally Posted by StainlessS View Post
    Pretty much all you can do.
    Code:
    FN="d:\GetSeq_Test\TEST\tears_of_steel_1080pwebm.webm"
    FFVideosource(FN)
    
    SSS=""" Subtitle(String(current_frame,"%.0f] ")+Chr(FFPICT_TYPE)) """
    
    Scriptclip(SSS,After_Frame=True)
    Only source filter can ever know the frame type, above FFVideosource exposes this [so that it could be used Programmatically].
    thanks so much
    zappa is offline   Reply With Quote
    Old Today, 05:43   #5  |  Link
    HeartlessS Usurer
     
    StainlessS's Avatar
     
    Join Date: Dec 2009
    Location: Over the rainbow
    Posts: 7,012
    Quote:
    Originally Posted by videoh View Post
    DGSource(...,show=true) will show the frame coding type. Make sure you have the top left corner of the video showing. Why is this not enough for you?
    Good to know, thanks. [I've never used DGSource].

    Would not be such a bad thing if DGSource exposed frame type similar to FFVideoSource [something to consider for some future update].

    Set some named Global or Local variable [your choice], maybe let user select some prefix to the variable name.
    A bit easier if return type Int as FFVideoSource does, string return swallows string memory [at every frame EDIT: unless you know for sure its maximum possible length] and requires messing about with
    env->SaveString() for the string variable value, but still need to env->SaveString() for the variable Name [if Global, can do once in constructor so that
    you know that the variable name already exists EDIT: or can check for already existing name before setting variable].

    EDIT: ApparentFPS() sets some variables for user script use.

    Would not be out of order if LSmashSource() did the same too.
    __________________
    I sometimes post sober.
    [email protected] ::: AND/OR ::: [email protected]

    "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

    Last edited by StainlessS; Today at 08:03.
    StainlessS is offline   Reply With Quote
    Old Today, 10:05   #6  |  Link
    Registered User
     
    Groucho2004's Avatar
     
    Join Date: Mar 2006
    Location: A wretched hive of scum and villainy
    Posts: 4,374
    Quote:
    Originally Posted by StainlessS View Post
    I've never used DGSource.
    If you have a compatible NVidia card/chip it's really a no-brainer.
    __________________
    Groucho's Avisynth Stuff
    Groucho2004 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 13:25.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 隐私条款中国国家地理网 2019-08-10
  • 500亿美元商品相关新闻 2019-08-10
  • 研究:亚洲民众更关注健康食品 2019-08-06
  • 持之以恒打好“节点战” 2019-08-06
  • 英国成功完成机器人辅助眼部手术试验 2019-08-01
  • 户口迁移耽搁了17年 诸暨籍女子找回“迟到”的身份 2019-07-29
  • 明星高考奇葩事杨幂总分第一 赵薇丢准考证(组图) 2019-07-02
  • 肩负促进和平与发展的时代重任 2019-07-02
  • 探秘海南高考评卷场 考生答题卡武警24小时值守 2019-06-28
  • “人民日报是我一生最尊敬和宝贵的朋友” 2019-06-28
  • 惊艳卢浮宫小牛电动发布新款电动车惊艳卢浮宫小牛电动发布新款电动车-手机行情 2019-06-23
  • 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • 上海时时票开奖结果 老时时360走势图表 快速赛车开奖结果 山东群英会预测软件 欧盟股票指数 新时时彩五星杀号 bbin电子游戏技巧 25选7 重庆时时操盘违法吗 腾讯棋牌游戏官网 福利彩票p62今晚开奖结果查询 双色球计划网全天 360高清足球直播在线观看 福建时时11选五结果查询今天 今日篮球推荐预测分析捷报 胜利足球2014免费版