Conversation
Notices
-
So the question is, do I put something on the other side? If so, should it be lemmy (anime focus), xmpp or matrix (lol)?
-
@Zerglingman dumb question
ip logger
shunga.eientei.org
-
@menherahair >content type set to mp4
>contents is not an mp4
???
Oh ffs curl why are you like this
yun-wuxin:[wisknort]:~$ pentest https://shunga.eientei.org -i -o betitsrickroll.mp4
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 513k 100 513k 0 0 178k 0 0:00:02 0:00:02 --:--:-- 178k
yun-wuxin:[wisknort]:~$ head betitsrickroll.mp4
HTTP/2 200
server: nginx/1.22.1
date: Fri, 28 Jul 2023 14:03:52 GMT
content-type: video/mp4
content-length: 525420
ftypisomisomiso2avc1mp4freeımdat�������E���H��,� �#��x264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264
-
@menherahair Ok very cute.
...
I'm wondering how it generates that. I guess it could be very simple if there's only one image frame and it just displays it across the whole duration, but if it's not that smart I could maybe knock the server over with this.
-
@menherahair Anyway I'm not gonna put that.
OH ACTUALLY I SHOULD PROBABLY PUT AN INTRO TO FEDI LINK
I was wondering if I should link direct to instance or to an introduction page. Duh, I can just do both, instead of putting two different services on each side.
-
@menherahair >two
>on each side
whatever
-
@Zerglingman @menherahair It is simple, just ffmpeg filter with animated text over a prerendered video.
sin="sin((t-3.85)*10)*50/((t-2.85)^10)"; ffmpeg -i shunga.mp4 -vf "drawtext=text='111.117.111.111':enable='gt(t,3.50)':x='if(lt(t,3.85),min((w-text_w)/2-((w-text_w)/4)*(1.0-(t-3.50)/(3.85-3.50)),(w-text_w)/2),(w-text_w)/2+if(gt(abs($sin),1),$sin,0))':y=(h-text_h)/2+50:fontsize=120:fontcolor=white:fontfile=Cardosan.otf:borderw=5:bordercolor=#3d2cd9:alpha=(t-3.50)" shunga_text.mp4 -y
-
@iamtakingiteasy @menherahair Yeah but I bet it costs an order of magnitude or two more cycles for you to do that than it does for me to curl it. while true; do...
-
@Zerglingman @menherahair Results are obviously cached, but yes, thats why it is also rate-limited.
-
@iamtakingiteasy @menherahair Fair enough.