• 《国家人文历史》往期杂志汇总 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 > VapourSynth

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 17th April 2019, 08:38   #1  |  Link
    Registered User
     
    Join Date: Mar 2019
    Location: in a U.S. colony plagued by a Financial Oversight Board
    Posts: 7
    Fade-in, fade-out, crossfade/transition, and video overlay on VapourSynth?

    How do I implement these video effects on VapourSynth?
    1. 100-frame-long fade-in (from solid black) of a frame-repeated still image (or a video clip)
    2. 15-frame-long fade-out (to solid black) of the same still image (or video clip) above
    3. 45-frame-long crossfade (or transition) from one still image to another (or from one video clip to another)
    4. Overlaying a video clip (or repeated image, possibly with the fade-in above first applied to it) onto another video clip (or repeated image)
    Thankee!
    SilSinn9801 is offline   Reply With Quote
    Old 17th April 2019, 09:20   #2  |  Link
    Registered User
     
    Join Date: Dec 2005
    Location: Germany
    Posts: 724
    A good start would be checking these out
    - FadeEachFrame, FadeOut/In: https://github.com/jeremypoulter/vsutils
    - crossfade: https://github.com/Irrational-Encodi...ardry/kagefunc
    - colorfade: https://github.com/tormaid/colorfade
    - transition //www.zs-x.com/showthread.php?t=172594
    - Overlay https://github.com/HomeOfVapourSynth...sfunc.py#L5072
    Can't provide a sample right now.
    __________________
    Search and denoise

    Last edited by ChaosKing; 17th April 2019 at 09:22.
    ChaosKing is offline   Reply With Quote
    Old 17th April 2019, 17:29   #3  |  Link
    Registered User
     
    Join Date: Mar 2019
    Location: in a U.S. colony plagued by a Financial Oversight Board
    Posts: 7
    So they're Python-script libraries of functions which I would need to import into my script (with the import command?) before using them.

    Thankee! This is a good start for now for a project of my own.

    As for other types of clip-to-clip (or image-to-image) transitions (like blinds, dissolve, shutter, etc.) usually offered by payware video editors (like CyberLink PowerDirector), any idea if some sort of genius managed to implement them in VS?

    I am also interested in some type of legacy crossfade technique used on some MS-DOS-era PC games (both IBM-PC/AT and NEC PC-9801 classes); an example of such crossfade can be found in the opening sequence of ZUN's 5th Toho game (Mystic Square), when a simple purple background (with a yin-yang orb) slowly transitions to a full artwork with the game title and a sitting miko to the left of the orb.
    SilSinn9801 is offline   Reply With Quote
    Old 17th April 2019, 19:12   #4  |  Link
    Registered User
     
    Tormaid's Avatar
     
    Join Date: Dec 2011
    Posts: 24
    Have a look at the internal dissolve function in my colorfade script (linked above). It would work with static images looped over a range or a moving clip. Other implementations of this that I've looked at don't seem to align the input clips correctly so that the fade is linear across the entire transition (i.e. the first frame of the transition is 100% clip A and the last is 100% clip B).
    Tormaid is offline   Reply With Quote
    Reply

    Tags
    crossfade, fade-in, fade-out, overlay, transition


    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 10:01.


    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
  • 3d开机号近10期开奖助手 3d开奖 体彩超级大乐透 竞彩篮球让分胜负加减 湖南幸运赛车综合走势图 风采超级大乐透走势图 香港六合彩 超级大乐透规则 pk10别人带是真的吗 刮刮乐游戏机价格 北京时时彩11选5开奖结果走势图 河南481走势图 北京赛车pk10有何公式 新疆喜乐彩开奖现场 中彩网开奖号码 超级大乐透开奖结果