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. |
23rd December 2022, 15:11 | #1 | Link |
Registered User
Join Date: Feb 2002
Location: Germany
Posts: 540
|
I wish you a merry christmas (2022 script)
Hello everyone, here is the christmas script for 2022. Happy Festivus and please stay healthy!
Code:
function c(clip left, int color){return StackHorizontal(left,BlankClip(1,2,2,"YV16",25,1,color_yuv=color))} function s(clip v){return v.BilinearResize(720,576).Histogram("color").crop(720,0,0,256).Tweak(sat=0).converttoyuy2().bicubicresize(512,512)} function p(float len, float freq){return audiodub(BlankClip(length=int(len*24), width=576,height=576, pixel_type="rgb32",fps=25, color=int((freq-271.0)/1.72)),tone(len,freq,channels=1,level=1.0).FadeIO0(1,0,24))} function q(float len, float freq){return tone(len,freq,channels=1,level=0.5).FadeIO0(1,0,24)} c=261.6255653006 D=293.6647679174 E=329.6275569129 F=349.2282314330 Gb=369.9944227116 G=391.9954359817 A=440.00000000001 B=493.8833012561 c2=c*2.0 d2=d*2.0 e2=e*2.0 f2=f*2.0 N4=0.5 N8=0.25 s=BlankClip(1,2,2,"YV16",25,1,color_yuv=$589e57).c($009e57).c($00800c).c($596356).c($00115d).c($54115d).c($544f90).c($003bdf).c($2280b4).c($0080b4).c($00c5e0).c($38b191).c($00f05d).c($58f05d).c($589e57).loop(576-12) t=BlankClip(1,2,2,"YV16",25,1,color_yuv=$35b67b).c($43b67b).c($43a363).c($4faa5c).c($75aa5c).c($759846).c($8f8b37).c($c18b37).c($c17e1a).c($8f6c37).c($5b6c37).c($5b5855).c($4a5e5f).c($505e5f).c($50526d).c($63447c).c($5d447c).c($5d4885).c($75379c).c($6e379c).c($6e3c9f).c($0026bd).c($002bc3).c($0019dd).c($0023e3).c($0033de).c($004eeb).c($005fee).c($2c5fee).c($2c75e8).c($0075fa).c($0082fa).c($0090fa).c($0090e7).c($009cea).c($00aaeb).c($00bee4).c($00dde8).c($00e3e0).c($5be3e0).c($5bcac3).c($5dcfc0).c($46cfc0).c($46bba4).c($49c49c).c($34c49c).c($34b184).c($35b67b).c($80b67b).loop(576-12) t=Animate(t,0,50,"Tweak",0.0, 0.0, 0.0, 0.0, true, false, 0.0, 360.0, 150.0, 0.0, 16.0, false,0.0, 0.9, 0.0, 0.0, true, false, 0.0, 360.0, 150.0, 0.0, 16.0, false) s=Animate(s,0,90,"Tweak",36.0, 0.4, 0.0, 0.0, true, false, 0.0, 360.0, 150.0, 0.0, 16.0, false,2*72.0, 0.4, 0.0, 0.0, true, false, 0.0, 360.0, 150.0, 0.0, 16.0, false) s=Animate(s,51,100,"Tweak", 0.0, 1.0, 0.0, 0.0, true, false, 0.0, 360.0, 150.0, 0.0, 16.0, false, 0.0, 0.5, 0.0, 0.0, true, false, 0.0, 360.0, 150.0, 0.0, 16.0, false) s=Animate(s,530,560,"Pointresize", 30,2,0,0,0,0, 30,2,0,0,-30,0) overlay(s(t),s(s),x=-4,y=-180,opacity=0.5,mode="blend") ani=Blankclip(last).trim(0,10) + last.fadein(6) BlankClip(length=576, width=400,height=400, pixel_type="rgb32",fps=24, color=0).subtitle(" . * . * ",y=50,size=46,align=5, font="Courier New").subtitle(" . * . ",y=50+30*1,size=46,align=5, font="Courier New").subtitle("* . . * ",y=50+30*2,size=46,align=5, font="Courier New").subtitle(" . . .",y=50+30*3,size=46,align=5, font="Courier New").subtitle(" . . * . ",y=50+30*4,size=46,align=5, font="Courier New").subtitle(" * . * ",y=50+30*5,size=46,align=5, font="Courier New").subtitle(" . * . ",y=50+30*6,size=46,align=5, font="Courier New").subtitle("* . . * ",y=50+30*7,size=46,align=5, font="Courier New").subtitle(" . . .",y=50+30*8,size=46,align=5, font="Courier New").subtitle(" . . * . ",y=50+30*9,size=46,align=5, font="Courier New").greyscale().GeneralConvolution(0, "5 10 10 10 5 10 10 5 10 10 5 10 10 10 5 10 10 10 10 10 5 10 10 10 5 ", 200, false).crop(0,10,0,-076) stackvertical(last,last,last,last) sn=stackhorizontal(last,last,last) sn=Animate(0,576,"Bicubicresize",sn, 576,576, 1./3.,1./3., 576./3., 1256.-576.,576,576, sn, 576,576, 1./3.,1./3., 0., 0.,576,576) mix=mixaudio(p(N4,G)+p(N4,c2)+p(N8,c2)+p(N8,d2)+p(N8,c2)+p(N8,B)+p(N4,a)+p(N4,a)+p(N4,a)+p(N4,d2)+p(N8,d2)+p(N8,e2)+p(N8,d2)+p(N8,c2)+p(N4,b)+p(N4,g)+p(N4,g)+p(N4,e2)+p(N8,e2)+p(N8,f2)+p(N8,e2)+p(N8,d2)+p(N4,c2)+p(N4,a)+p(N8,g)+p(N8,g)+p(N4,a)+p(N4,d2)+p(N4,b)+p(1,c2)+p(N4,g)+p(N4,c2)+p(N4,c2)+p(N4,c2)+p(1,b)+p(N4,b)+p(N4,c2)+p(N4,b)+p(N4,a)+p(1,g)+p(N4,d2)+p(N4,e2)+p(N8,d2)+p(N8,d2)+p(N8,c2)+p(N8,c2)+p(N4,2*g)+p(N4,g)+p(N8,g)+p(N8,g)+p(N4,a)+p(N4,d)+p(N4,b)+p(1,c2),q(N4,G)+q(1,e)+q(N4,c)+q(1,F)+q(N4,G)+q(N4,F)+q(N4,d)+q(N4,Gb)+q(N4,g)+q(N4,d)+q(N4,f)+q(N4,g)+q(N4,d)+q(N4,f)+q(N4,a)+q(N4,f)+q(N4,g)+q(N4,f)+q(N4,Gb)+q(N4,f)+q(1,e)+q(N4,e)+q(N4,c2)+q(N4,b)+q(N4,a)+q(1,g)+q(N4,g)+q(N4,a)+q(N4,g)+q(N4,f)+q(N4,e)+q(N4,f)+q(N4,g)+q(N4,c2)+q(N4,g)+q(N4,a)+q(1,g)+q(N4,e)+q(N4,f)+q(N4,Gb)+q(N4,f)+q(1,e)) overlay(mix, sn,mode="blend", opacity=0.25) overlay(ani, last,mode="add", opacity=0.75) audiodub(last.killaudio(),mix) Dissolve(last.trim(0,100), last.trim(101-12,576).subtitle("I wish all avisynth developers and users\n a merry christmas and a happy new year!\n\n(hanfrunz 2022)", align=5, lsp=10, text_color=$ffff00, halo_color=$ff0000),12).fadeout(25) fadein(6) # |
23rd December 2022, 15:43 | #2 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
There's one thing we now for sure, it's not Christmas 'till hanfrunz posts the AVS Christmas Script!
Why? Well, it's tradition! Merry Christmas everyone and long live to this 22 years old amazing frameserver which we all use! Many years passed and I hope many more are still to come! This year, Avisynth has been used at Sky to encode 174790 masterfiles, from the various ProRes, to DNX to the MJPEG2000 in IMF and what not, indexers behaved perfectly and it's thanks to this awesome community I'm proud to be part of. So... before I shut down my office computer now, here's one last screenshot: https://i.imgur.com/BkjUqEv.png See you in 2023, guys! Last edited by FranceBB; 23rd December 2022 at 16:11. |
23rd December 2022, 21:05 | #3 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Happy Christmas hanfrunz and everyone else It is true that there is no Christmas without the traditional script!
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
24th December 2022, 01:55 | #7 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Cheers and a happy XMAS to all, luv + kissSes
Hanfrunz_XMas_Extravaganza_2022 [~18KB]:- https://www.mediafire.com/file/jxx8m...a_2022.7z/file [EDIT: Contains hanfrunz scripts 2010 -> 2022, plays all consecutively] Thanks Hanfrunz for making every year extra special.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 24th December 2022 at 03:06. |
24th December 2022, 03:22 | #9 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Merry Christmas
__________________
See My Avisynth Stuff |
24th December 2022, 18:44 | #16 | Link |
Registered User
Join Date: Aug 2017
Location: Italy
Posts: 115
|
Merry Christmas to everybody!!!
__________________
A channel on S-VHS / VHS capture and AviSynth restoration https://www.youtube.com/channel/UCMs...h1MmNAs7I8nu4g |
|
|