Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
jony ive aces
Jun 14, 2012

designer of the lomarf car


Buglord
i literally make videos using php



i use windows but i refuse to use adobe malware so i make my funny internet videos using an idiotic clusterfuck of mostly open sores software but also jasc paint shop pro 7 and animation shop 3 from the year 2000. it typically involves using ffmpeg to make a big ol' folder full of png files for each frame of whatever source video i'm ripping off, using other software to do the needful then converting it to video in virtualdub

for a simple one like this i just did some audio things in audacity and lazily pasted in "YOUR POSTS" frame by frame in psp7 so you can see it jittering around
https://www.youtube.com/watch?v=DxZ7UnrwnGU

but then php comes in for the more complex things. so for this one:
https://www.youtube.com/watch?v=lko_j_56S5k
i set up some images to use (including colour cycling thing done in animation shop) and then ran this:
code:
<?php
	$chomes = array(
		imagecreatefrompng("chome1.png"),
		imagecreatefrompng("chome2.png"),
		imagecreatefrompng("chome1.png"),
		imagecreatefrompng("chome2.png"),
		imagecreatefrompng("chome5.png"),
	);
	
	$max = 338;
	for ($x = 0; $x <= $max; $x += 1) {
		echo "$x	";
		$dest = imagecreatefrompng("back1.png");
		
		$s = floor($x / $max * 1065 + 15);
		
		imagecopyresized($dest, $chomes[floor($x / 15 % 5)], 960 - intval($s / 2), 540 - intval($s / 2), 0, 0, $s, $s, 15, 15);
		
		imagepng($dest, "out/" . str_pad($x, 8, 0, 0) . ".png");
		imagedestroy($dest);
		unset($dest);
	}
	
	for ($x = $max + 1; $x <= 386; $x += 1) {
		echo "$x	";
		copy("echi.png", "out/" . str_pad($x, 8, 0, 0) . ".png");
	}
	
	for ($x = 387; $x <= 775; $x += 1) {
		echo "$x	";
		copy("text/" . str_pad(($x - 387) % 60 + 1, 8, 0, 0) . ".png", "out/" . str_pad($x, 8, 0, 0) . ".png");
	}
?>
i also used php to do the 2001 animation & face/subtitle compositing for this one
https://www.youtube.com/watch?v=-1mLNaRGemM

idk i keep thinking i should find a better nonlinear editing gui program or if i'm going to go the moronic scripting route at least learn avisynth or w/e (if that's still a thing?) but i never bother making time to do those and then when i come up with an idea for a video i try and do it "quickly" with the tools i already have v:shobon:v

Adbot
ADBOT LOVES YOU

jony ive aces
Jun 14, 2012

designer of the lomarf car


Buglord
yeah. fuckin beat that, yospos

jony ive aces
Jun 14, 2012

designer of the lomarf car


Buglord
a windows me vm

jony ive aces
Jun 14, 2012

designer of the lomarf car


Buglord

hackbunny posted:

coding gloves

jony ive aces
Jun 14, 2012

designer of the lomarf car


Buglord

Jonny 290 posted:

code:
alias shove="git add . && git commit -am 'bug fixing' && git push origin $1"
lol

Adbot
ADBOT LOVES YOU

jony ive aces
Jun 14, 2012

designer of the lomarf car


Buglord
if we're going that route doesn't add -A get slightly more things than add . i forget

  • Locked thread