Monthly Archives: December 2009

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