Milton Moura's blog

warning: cal_days_in_month() [function.cal-days-in-month]: invalid date. in /home/.kuddles/miltonmoura/defaultbreak.com/sites/all/modules/archive/archive.module on line 106.

lost

seems like i've been lost lately.

actually, no. i've been finding myself -- discovering my boundaries, enhancing my skills, analyzing my weaknesses.

amidst it all, i've grown an unhealthy addiction to thumping sounds.

still, i managed to ditch javaEE for ruby. too much overhead. not enough gain. at least for my (our?) reality.

'nuff about me -- gonna get her what she desires the most: a feline, hopefully baptized in honor of a known female computer scientist.

because this is a time of giving.

this is not a movie blog but vicky cristina barcelona was such a good movie. couldn't help but crawl into every single of those characters and try to understand their feelings. woody rocks. great tribute to love & life.

watch it.

merry xmas!

zack and miri make a porno

Another Kevin Smith masterpiece.

Just watched it and laughed my ass off. I strongly recommend it.

Birthday Cake Fail

An Azorean cake!

resistance is futile

i am becoming one of them.

Installing ffmpeg-php on Leopard

What a fight!

In order to develop the new video thumbnail generator for BelaCena v2, I just spent the last 4 hours struggling to build ffmpeg-php on Leopard. Goddamnit. These things make me miss Linux :)

Anyway, off the top of my head:

  1. port install re2c
  2. grab ffmpeg from trunk
  3. compile & install ffmpeg with --enable-shared --disable-mmx --disable-vhook --enable-gpl --prefix=$FFMPEG_HOME
  4. download & extract ffmpeg-php tarball
  5. phpize; sh configure --with-php-config=$PHP_HOME/bin/php-config --with-ffmpeg=$FFMPEG_HOME; make install
  6. add extension=ffmpeg.so to your php.ini
  7. sleep

This finally worked after struggling with a ports install of ffmpeg, a php-version mismatch (I have a ports version and the one bundled with osx) and a few tens of minutes fiddling with those lousy ffmpeg configure switches and libswscale...

argh!

Syndicate content