Category Archives: Systems and Servers
perl script to post-process files created by red5
Converts movie_name.flv to movie_name.mp4 with AAC audio, H.264 video. Extracts a thumbnail jpg, too #!/usr/bin/perl $ENV{LD_LIBRARY_PATH} =’/usr/local/lib/’; $movie_name=shift @ARGV; $old_movie_name = $movie_name.”.flv”; $new_movie_name = $movie_name.”.mp4″; $toe_name = $movie_name.”.jpg”; my $range = 100000; my $random_number = int(rand($range)); $temp_movie_name=”/tmp/$random_number.mp4″; $make_mpeg=`/usr/local/bin/ffmpeg -y -i … Continue reading
I created a Red5 Application
Working with Red5 is like pulling teeth. Trying to see if I can spawn an ffmpeg instance after uploading a live video capture. First step was to see if I could edit/copy any existing application, us to get the recipe. … Continue reading
Configure and install ffmpeg
Get source code svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg Needs libfaac… wget http://downloads.sourceforge.net/faac/faac-1.28.tar.gz hmmm… that seemed to require yum install gcc-c++ to get g++ to work Also needs x264 But x264 needs yasm… wget http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gz OK, got yasm, now wget ftp://ftp.videolan.org:21/pub/videolan/x264/snapshots/x264-snapshot-20091130-2245.tar.bz2 Be … Continue reading
Gnokii OS X, Part II
A long circuitous path, but in the end — sucess! Started off with darwinports, but that only got us 0.6.8 (current as of this writing was 0.6.27). Then tried Fink. That got us up to 0.6.13 dating Tried that version … Continue reading
Wammu Gammu OS X
Long and winding road. Download cmake source from www.cmake.org — Binary Package is only for Tiger right now. Configure (./bootstrap; make; sudo make install) and install Download and configure mysql with env MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS=”-arch ppc -arch ppc64 -arch i386 -arch … Continue reading
MacMini Landscape Server, Part II
When last we left this project, most things were working except freetype/truetype text used in dynamic graphs and maps Continue reading
Migrate Landscape Change Project to MacMini server
On paper, this seems easy. Just move 70 GB of images and a dozen database tables to a brand new mac, and we’re done. Well, not quite… Step 1: prepare the mac out of the box This was mostly straight-forward; … Continue reading
CMAP server notes
It is pretty simple — still, it might be worth me writing some documentation. And too simple, for some: I see two folders there from non-UVM “contributors.” Apparently, I had the default permissions set such that “Everyone” could create folders. … Continue reading
Mediawiki for LRG
Did a little research on wikis, to see if anything looked much better (criteruim being does it allow people to quickly create "personal" wikis on the fly like wikispaces does). Didn’t find anything notably better. So, Installed Mediawiki 1.68 on … Continue reading
libjpeg, libpng, zlib, freetype, libgd, and GD.pm
Downloaded, configured, and installed on my Mac libjpeg libpng zlib freetype libgd GD.pm over and over agan, it seems. But it was not for naught: I finaly got the Landscape Change Thumbnails/Zoom script to process all 12,000 files. The Zoomify … Continue reading