Category Archives: Projects

Stuff I’m working on

Make Ruby ride on Rails

root@weasel.uvm.edu 193>gem update rail Updating installed gems Updating rails Successfully installed activesupport-2.3.5 Successfully installed activerecord-2.3.5 Successfully installed rack-1.0.1 Successfully installed actionpack-2.3.5 Successfully installed actionmailer-2.3.5 Successfully installed activeresource-2.3.5 Successfully installed rails-2.3.5 Gems updated: activesupport, activerecord, rack, actionpack, actionmailer, activeresource, rails root@weasel.uvm.edu … Continue reading

Posted in Projects | Leave a comment

Steps to adding/editing Red5 application

Assuming application source is in current working directory “../NewApp” … sudo service red5 stop rm -rf $RED5_HOME/webapps/NewApp ant mv dist/NewApp.war $RED5_HOME/webapps/ sudo service red5 start sit back and wait a few minutes for Red5_Scheduler_Worker to find .war file, unpack and … Continue reading

Posted in Projects | Leave a comment

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

Posted in Projects, Scripts - Programming, Systems and Servers, Video and Audio | Leave a comment

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

Posted in ElectronicArts, Scripts - Programming, Systems and Servers, Video and Audio | Leave a comment

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

Posted in Projects, Systems and Servers, Video and Audio | Leave a comment

Drupal and LDAP @ UVM

First, look at documentation http://drupal.org/handbook/modules/ldap_integration Next, download the right module for your Drupal version http://drupal.org/project/ldap_integration For me it was ldap_integration-6.x-1.0-beta1.tar.gz Expand compressed package, unpack archive gzip -d ldap_integration-6.x-1.0-beta1.tar.gz tar -xvf ldap_integration-6.x-1.0-beta1.tar Move ldap module into drupal. Assuming tar file was … Continue reading

Posted in Projects | Leave a comment

serial interface fun

Perl module Device::SerialPort is our friend. As is Clipboard, IO::All, Spiffy Trying to talk to a Sartorius precision balance. Speaks over Serial/USB cable. Dang, there was supposed to be more here to serve as documentation. Now, months later, I have … Continue reading

Posted in Projects, Scripts - Programming | Leave a comment

Video Capture Interview Application using Flash and Flash Media Server Clone

Client asked me: I am working on this new project involving testimonies. I already made a video of interviews that I roughly edited, but I want to extend the project “to the world”, digitally. So I thought that you could … Continue reading

Posted in Projects | Leave a comment

Flip Ultra vs Flip MinoHD vs Kodak ZX1

I compared three similar pocket digital video recorders. My two simple evaluation criteria were “plays well with UVM basic web servers” and “plays well with iMovie.” Conclusions: The Kodak ZX1 plays best with UVM servers: video clips can be uploaded … Continue reading

Posted in Projects | Leave a comment

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

Posted in ElectronicArts, MacOS Support, Projects, Scripts - Programming, Systems and Servers | Leave a comment