FiTC 2007 presentation video

FITC presentation videos are online, including mine. Its the first time I actually watch it. It's a bit creepy to see myself, but I guess it went fine. I couldn't get a mic hooked up at the time, so the audio quality is a bit crappy.

I also notice that I made a bunch of mistakes related to embedding swf's, which I only found out later.

A funny fact: The girl sitting right in the front (and leaves after a while) is now my girlfriend. So we actually have video footage of when we first met :).

Presentation links

Update: added some of the source code used.

As promised, I'll put up some links from last nights presentation.. If you attended, I hope I got the message across, and if you're hungry for more, be sure to check out fitc, where I will do a 1 hour version of the presentation..

  • Flowplayer - FlowPlayer is an open source, skinnable, very powerful flash video player..
  • FFMpeg - To my opinion, the best tool out there to convert your video to flv.

    Binaries for OS/X are included in FFMpegX, binaries for windows can be found in Riva FLV encoder. Most Linux distributions also have a pre-compiled ffmpeg package..

    Remember though! Only use those for testing purposes, if you want support and support for for example WMV3, you really should compile your own..
  • SWFUpload - An open source library to leverage Flash 8's multi-file upload from javascript.
  • On2 Flix - An expensive, commercially backed FLV encoder.. If using the latest flash video codec is important to you, look at this product.

And there's even a small piece of the presentation recorded....

handling uploads..

Note that these scripts all assume an .mpg extension..

  1. <?php
  2.  
  3. foreach($_FILES as $file) {
  4.  
  5. $newFileName = 'uploads/original.mpg';
  6. move_uploaded_file($file['tmp_name'],$newFileName);
  7.  
  8. }
  9.  
  10. ?>

Simple conversion

  1. <?php
  2.  
  3. $ffmpegPath = '/Applications/ffmpegX.app/Contents/Resources/ffmpeg';
  4. $input = 'uploads/original.mpg';
  5. $output = 'uploads/converted.flv';
  6. $result = `$ffmpegPath -y -i $input -ar 44100 $output 2> /tmp/ffmpeg_log`;
  7.  
  8. ?>

Slightly more advanced..

Adjusts the bitrate, height and width, and also generates a thumbnail.

  1. <?php
  2.  
  3. $ffmpegPath = '/Applications/ffmpegX.app/Contents/Resources/ffmpeg';
  4. $input = 'uploads/original.mpg';
  5. $output = 'uploads/converted.flv';
  6.  
  7. $output = 'uploads/thumb.jpg';
  8. $result = `$ffmpegPath -y -i $input -an -s 320x240 -f mjpeg -ss 0:2:0 -t 0:0:0.001 $output 2> /tmp/ffmpeg_log`;
  9.  
  10. $output = 'uploads/converted.flv';
  11. $result = `$ffmpegPath -y -i $input -ar 44100 -b 320 -s 320x240 -ab 128 -acodec mp3 $output 2> /tmp/ffmpeg_log`;
  12.  
  13. ?>
 1

About

My name is Evert, and I've been writing semi-regularly on this blog since 2006.

I'm currently available for contract work.

more info.

Subscribe

Dropbox

Dropbox is a simple cross-platform online backup and sync application. The first 2GB of space is free, and both you and me get an extra 250MB extra space if you sign up through this link.