• 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • 美元短线拉升 随后回吐涨幅 2019-03-07
  • 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 Development

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 1st April 2019, 09:14   #41  |  Link
    Registered User
     
    Join Date: Jan 2014
    Posts: 1,126
    Quote:
    Originally Posted by jpsdr View Post
    Probably globaly the same generation. Made a mistake/confusion... ZX spectrum i was more in high school. It was the ZX81 i was middle school...

    Yes pinterf, can you make a ZX81 compatible version...? (And it's the good day for this kin of things)
    O.K. but it has to work with the 1 kbyte version as well .
    (I was only window-shopping when I was 13 or so. Unfortunately I possessed none of the popular machines (C64 and Speccy), they costed us too much, I had only a DIY kit based Z80 machine with 6 kbytes RAM during my 15-18 years old era. Optimization, yes, was always welcome)
    pinterf is offline   Reply With Quote
    Old 1st April 2019, 14:06   #42  |  Link
    HeartlessS Usurer
     
    StainlessS's Avatar
     
    Join Date: Dec 2009
    Location: Over the rainbow
    Posts: 6,487
    Arh, my ol' ZX81 with 32KB ram pack (complete with lump of blue-tac or optional RAMPACK wobble feature).
    After buildin' the ZX81 (with soldering iron), was a hairy moment when nothing happened on switch on,
    was heat sink not quite square with board and slightly overlapped the board edge causing short with
    earth strip around edge of board, squared up with board, all okey-dokey.
    Boxed as new ZX Spectrum now bout ?500, or so I heard.
    Wish I had had the power house ZX80, what a machine !
    __________________
    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 ???
    StainlessS is offline   Reply With Quote
    Old 1st April 2019, 14:35   #43  |  Link
     
    Groucho2004's Avatar
     
    Join Date: Mar 2006
    Posts: 4,112
    Quote:
    Originally Posted by StainlessS View Post
    Boxed as new ZX Spectrum now bout ?500, or so I heard.
    What? That's insane.
    __________________
    Groucho's Avisynth Stuff
    Groucho2004 is offline   Reply With Quote
    Old 1st April 2019, 15:09   #44  |  Link
    HeartlessS Usurer
     
    StainlessS's Avatar
     
    Join Date: Dec 2009
    Location: Over the rainbow
    Posts: 6,487
    Qwik look on ebay,most expensive found was ?99.00 (for the 128 KB m/c).
    https://www.ebay.co.uk/i/293003953054

    I think the ?,500 price tag was mentioned in some review.

    EDIT: The ?99.00 Spectrum above aint quite MINT, the machine might well be, but the box looks well knocked about.
    ?,500.00 tag was for mint boxed.

    Mind you, a year or two ago,someone put up a Samsung Galaxy Beam GT xxx (dont remember number), a projector phone,
    somebody had one on e-bay for $2,500, they were only about $300 new and many others on e-bay were about $80.00.
    Guess some people just put em up at rediculous price in the hope that someone stupid comes along.
    EDIT: Maybe Galaxy Beam GT i8530.

    EDIT: In same link above, Sinclair ZX80 and at same price ?99.00.

    EDIT To below: 32KB RAMPACK was the biggest possible ram upgrade, came initially with 1KB ram (my 1st rampack was 16KB).
    __________________
    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; 2nd April 2019 at 01:23.
    StainlessS is offline   Reply With Quote
    Old 1st April 2019, 23:25   #45  |  Link
    Broadcast Encoder
     
    FranceBB's Avatar
     
    Join Date: Nov 2013
    Location: Germany
    Posts: 517
    Quote:
    my ol' ZX81 with 32KB ram pack
    Considering that my first computer shipped with 64MB of RAM and Windows 98, I feel like I'm much younger than you, Jean-Philippe, Tormento and Ferenc are. :P
    __________________
    Broadcast Encoder
    FranceBB is offline   Reply With Quote
    Old 2nd April 2019, 18:04   #46  |  Link
    Registered User
     
    Join Date: Jan 2014
    Posts: 1,126
    Quote:
    Originally Posted by FranceBB View Post
    Considering that my first computer shipped with 64MB of RAM and Windows 98, I feel like I'm much younger than you, Jean-Philippe, Tormento and Ferenc are. :P
    Yep, you are lucky, unfortunately we'll not live out when gravitational-wave detectors would be easily embedded in an iPhone XLIII.
    pinterf is offline   Reply With Quote
    Old 4th April 2019, 08:46   #47  |  Link
    Registered User
     
    Join Date: Oct 2002
    Location: France
    Posts: 1,673
    More serious question : Is there some kind of redistribuable to install to run the clang/llvm version ?
    I've tried the releases.llvm link to see, but (at least right now) didn't work (time out).
    __________________
    My github.
    jpsdr is offline   Reply With Quote
    Old 4th April 2019, 09:49   #48  |  Link
    Registered User
     
    Join Date: Jan 2014
    Posts: 1,126
    I built with /MT so it does not need any redistributables.
    pinterf is offline   Reply With Quote
    Old 6th April 2019, 08:04   #49  |  Link
    Registered User
     
    Join Date: Jan 2014
    Posts: 1,126
    Quote:
    Originally Posted by real.finder View Post
    TemporalRepair in TemporalDeGrain_SE
    I'm near the end of porting (including to make the source human readable, re-creating plain C language versions, these works take a huge amount of time as well). Right now I put it in the RemoveDirt DLL, I woudn't create a new DLL just for the sake of this single function. Opinion?
    pinterf is offline   Reply With Quote
    Old 6th April 2019, 10:01   #50  |  Link
    Registered User
     
    Join Date: Jan 2012
    Location: Mesopotamia
    Posts: 1,112
    Quote:
    Originally Posted by pinterf View Post
    I'm near the end of porting (including to make the source human readable, re-creating plain C language versions, these works take a huge amount of time as well). Right now I put it in the RemoveDirt DLL, I woudn't create a new DLL just for the sake of this single function. Opinion?
    isn't Rgtools better for it? they was part of RemoveGrain in first place
    __________________
    My Avisynth Stuff
    real.finder is offline   Reply With Quote
    Old 6th April 2019, 10:04   #51  |  Link
    Registered User
     
    Join Date: Jan 2014
    Posts: 1,126
    Quote:
    Originally Posted by real.finder View Post
    isn't Rgtools better for it? they was part of RemoveGrain in first place
    That was my second thought.
    pinterf is offline   Reply With Quote
    Old 6th April 2019, 18:37   #52  |  Link
    Registered User
     
    Join Date: Mar 2012
    Location: Texas
    Posts: 1,105
    Quote:
    Originally Posted by real.finder View Post
    isn't Rgtools better for it? they was part of RemoveGrain in first place
    I second that.

    Edit:

    pinterf, I started working on the wiki documentation for RemoveDirt (still not done), do you know what the cache and gcache parameters do in SCSelect? They are undocumented in Kassandro's wall of text, umm I mean documentation .

    Last edited by Reel.Deel; 6th April 2019 at 18:58.
    Reel.Deel is offline   Reply With Quote
    Old 6th April 2019, 20:18   #53  |  Link
    HeartlessS Usurer
     
    StainlessS's Avatar
     
    Join Date: Dec 2009
    Location: Over the rainbow
    Posts: 6,487
    RD heres the source,

    Code:
    public:
    	SCSelect(PClip clip, PClip _scene_begin, PClip _scene_end, PClip _global_motion, double dfactor, bool _debug, bool planar, int cache, int gcache)   // the constructor
    		: GenericVideoFilter(clip), AccessFrame(vi.width, vi.IsYUY2()), scene_begin(_scene_begin), scene_end(_scene_end), global_motion(_global_motion), dirmult(dfactor), debug(_debug), lnr(-2)
    	{
    		if( vi.IsYV12() + planar == 0 ) AVSenvironment->ThrowError("SCSelect: only YV12 and planar YUY2 clips are supported");
    		CompareVideoInfo(vi, scene_begin->GetVideoInfo(), "SCSelect");
    		CompareVideoInfo(vi, scene_end->GetVideoInfo(), "SCSelect");
    		CompareVideoInfo(vi, global_motion->GetVideoInfo(), "SCSelect");
    		hblocks = vi.width / (2*SSE_INCREMENT);
    		incpitch = hblocks * (-2*SSE_INCREMENT);
    		scene_begin->SetCacheHints(CACHE_RANGE, 0);
    		scene_end->SetCacheHints(CACHE_RANGE, 0);
    		if(gcache >= 0) global_motion->SetCacheHints(CACHE_RANGE, 0);       // used nowhere else
    		if(cache >= 0) child->SetCacheHints(CACHE_RANGE, cache);                              // child = source to ScSelect (input, or DClip in below script function)
    	}
    };
    
    AVSValue __cdecl CreateSCSelect(AVSValue args, void* user_data, IScriptEnvironment* env)   // get user args and calls constructor returning filtered clip
    {
    	enum ARGS { CLIP, SBEGIN, SEND, GMOTION, DFACTOR, DEBUG, PLANAR, CACHE, GCACHE };
    	return new SCSelect(args[CLIP].AsClip(), args[SBEGIN].AsClip(), args[SEND].AsClip(), args[GMOTION].AsClip(), args[DFACTOR].AsFloat(4.0)
    				, args[DEBUG].AsBool(false), args[PLANAR].AsBool(false), args[CACHE].AsInt(2), args[GCACHE].AsInt(0));           // cache default 2, gcache default 0
    };
    No idea how that cash stuff works, I prefer plastic [ EDIT: Actually, many UK banknotes are now plastic, but its just not the same. ]

    EDIT: So far as I remember, the global_motion clip is the clip delivered when decided that it is NOT a scene change, and may or may not be subtitled by the client/user.

    EDIT:
    This is almost the same as a script func [ dont think I ever got different results comparing to SCSelect ]
    EDIT: SCSelect(input) and SCSelect_Like(dclip) are synonymous except that dclip can be dissimilar colorspace and dimensions to the other script clips.
    Code:
    # RemoveDirt's SCSelect(clip input, clip scene_begin, clip scene_end, clip global_motion, float dfactor, bool debug, bool planar)
    
    Function SCSelect_Like(clip dclip,clip Start,clip End,clip Motion, float "dfactor",bool "debug") {
        # Start, End, Motion MUST all be same, dclip can be other colorspace/size (unlike SCSelect).
        dfactor=Float(Default(dfactor,4.0))
        debug=Default(debug,false)
        Global SCM_A=0.0 Global SCM_B=0.0 Global SCM_SC=0 Global SCM_Prev=-1
        Motion.ScriptClip("""
            n = current_frame
            NotNext = (n!=SCM_Prev+1)
            Global SCM_A=(NotNext)? RT_LumaDifference(dclip,dclip,n=n-1,n2=n)  : SCM_B
            Global SCM_B=           RT_LumaDifference(dclip,dclip,n=n,n2=n+1)
            # 0 = Start of scene, 1 = End of scene, 2 = Global motion
            Global SCM_SC=(n==FrameCount-1)?1:(SCM_A>dfactor*SCM_B || n==0)?0:(SCM_B>dfactor*SCM_A)?1:2
            (SCM_SC==0) ? Start : (SCM_SC==1) ? End : Last      # Choose Start, End or Motion(ie Last)
            (debug)?RT_Subtitle("%d ] %6.2f %6.2f SC=%d",n,SCM_A,SCM_B,SCM_SC):NOP
            Global SCM_Prev=n
            Return Last
        """,args="dfactor,Start,End,Dclip,debug")          # Needs Grunt for args
        return Last
    }
    __________________
    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 April 2019 at 21:14.
    StainlessS is offline   Reply With Quote
    Old 7th April 2019, 18:10   #54  |  Link
    Registered User
     
    Join Date: Jan 2014
    Posts: 1,126
    Quote:
    Originally Posted by Reel.Deel View Post
    I second that.

    Edit:

    pinterf, I started working on the wiki documentation for RemoveDirt (still not done), do you know what the cache and gcache parameters do in SCSelect? They are undocumented in Kassandro's wall of text, umm I mean documentation .
    They were converted internally to AVS 2.5 cache hints, telling the frame caching system to prefer caching at least the given number of frames. In Avisynth+ these hints do nothing. For avs 2.6, dunno. It probably served fine tuning purposes. Now the parameters are kept for compatibility reasons in order not to break old scripts.
    pinterf is offline   Reply With Quote
    Old 10th April 2019, 14:49   #55  |  Link
    Registered User
     
    Join Date: Mar 2012
    Location: Texas
    Posts: 1,105
    Quote:
    Originally Posted by pinterf View Post
    They were converted internally to AVS 2.5 cache hints, telling the frame caching system to prefer caching at least the given number of frames. In Avisynth+ these hints do nothing. For avs 2.6, dunno. It probably served fine tuning purposes. Now the parameters are kept for compatibility reasons in order not to break old scripts.
    Thanks for the info, I will add it to the wiki doc. next time I have a bit of time.
    Reel.Deel is offline   Reply With Quote
    Old 13th April 2019, 18:31   #56  |  Link
    Registered User
     
    thescrapyard's Avatar
     
    Join Date: Feb 2008
    Posts: 53
    Quote:
    Originally Posted by StainlessS View Post
    Arh, my ol' ZX81 with 32KB ram pack (complete with lump of blue-tac or optional RAMPACK wobble feature).
    After buildin' the ZX81 (with soldering iron), was a hairy moment when nothing happened on switch on,
    was heat sink not quite square with board and slightly overlapped the board edge causing short with
    earth strip around edge of board, squared up with board, all okey-dokey.
    Boxed as new ZX Spectrum now bout ?500, or so I heard.
    Wish I had had the power house ZX80, what a machine !
    I have a ZX80 I acquired, comes with some paperwork and a letter from Sinclair Research plus rare white ZX80 16K RAM pack. Never been tested it works and I've had over 10 years. Keep meaning to get a proper ZX80 power supply to add to it and at least try a universal power supply to see if it actually works. Not boxed

    Wish I had a Jupiter ACE though, worth over ?00 even without a box and nothing else. They are really rare and did know somebody who bought one when they first came out many years ago
    thescrapyard is offline   Reply With Quote
    Old 13th April 2019, 21:46   #57  |  Link
    HeartlessS Usurer
     
    StainlessS's Avatar
     
    Join Date: Dec 2009
    Location: Over the rainbow
    Posts: 6,487
    Quote:
    Originally Posted by thescrapyard View Post
    I have a ZX80
    Quote:
    Originally Posted by StainlessS View Post
    EDIT: In same link above, Sinclair ZX80 and at same price ?99.00.
    You be almost a millionaire then.

    Very apt name and avatar Mr Steptoe.
    __________________
    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; 13th April 2019 at 21:52.
    StainlessS 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 09:50.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • 美元短线拉升 随后回吐涨幅 2019-03-07
  • 体彩7位数 炸金花技巧 京东彩票中奖提现 腾讯彩票中秋充值 福利彩票走势图200期 上海时时乐万能二码 网易彩票中心 北京赛车pk10下截直播 pk10高手论坛交流区 吉林十一选五开奖结果 北京赛车官网 新时时彩网赚 北京pk10输了还要继续 赛车北京pk10心得 胜平负计算机 湖南幸运赛车选号技巧