Directly manipulating videos

February 17, 2009 · Posted in General, Video · Comment 
YouTube Preview Image

FLV MIME type with IIS

December 11, 2008 · Posted in General, Video · Comment 

This is something I often have to do when setting up a new server, if you’re planning on using FLV video with the site:

  1. Open properties and “HTTP Headers” tab
  2. Select “File types”->”New type”
  3. Enter .flv for extension and “video/x-flv” for content type

Pretty simple, but if you forget to do, could leave you scratching your head for some time, thinking “Now, why don’t my f#$@ing video player work?!”.

AVI Overview: Audio and Video Codecs

July 2, 2008 · Posted in Video · Comment 

While doing some DVD to AVI conversion work, I came across this fantastic and most comprehensive guide to AVI format:

John McGowan’s AVI Overview: Audio and Video Codecs

It also has a whole lot of  info on various codecs – compression quality, resulting file sizes, etc.

Video Tutorials & Post Production

February 26, 2008 · Posted in Tutorials, Video · Comment 

AfterEffects

VideoCopilot.net Video Tutorials & Post Production

Mapping Flash video to 3D objects

February 26, 2008 · Posted in AS3, Flash, Tutorials, Video · Comment 

Adobe – Developer Center : Mapping Flash video to 3D objects

Video Trace

January 18, 2008 · Posted in General, Video · Comment 

This is an amazing piece of software which allows you to create 3D models out of a video file, any video file!!
Blew me away! See the demo video or read about the technology.

Another Flash meta-data and cue point injector tool

December 4, 2007 · Posted in Flash, Video · Comment 

I’m a few years late at finding this tool, but never needed to add cue points post-encoding before. Anyhow, the tool is FLVTool. There’s also some usage examples over at OSFlash.

Few usage examples of my own, I’ll keep adding more as online pharmacy I work through it.

To extract part of an FLV to another file:

ft2 -C -i 1000 -o 3000 sample.flv cut2.flv 

Where:

  • ft2 : I renamed flvtoo2. Less keystrokes!
  • -C : is the cut command
  • -i : start time code in milisecs
  • -o : end time code in milisecs
  • sample.flv : input filename, located in the same folder as the tool. I would also add the tool to my path so that I can run it from any folder.
  • cut2.flv : output filename. If you omit this, your source file will be overwritten.

As you can see, it’s quite straightforward.

Injecting cue points is also quite simple. There’s an XML file sample included with the tool download zip.

To inject cue points from an XML file:

ft2 -A -t tags.xml sample.flv

The XML should take the following form:

<?xml version="1.0"?>
<tags>
  <!-- an event cue point -->
  <metatag event="onCuePoint">
    <name>TestEvent1</name>
    <timestamp>333</timestamp>
    <parameters>
      <speaker>Peter</speaker>
      <says>Hello my Name is Peter.</says>
   </parameters>
    <type>event</type>
   </metatag>
  <!-- a navigation cue point -->
  <metatag event="onCuePoint">
    <name>TestEvent2</name>
    <timestamp>1000</timestamp>
    <parameters>
      <index>1</index>
      <title>Chapter 1</title>
    </parameters>
    <type>navigation</type>
  </metatag>
</tags>

To view file meta-data (can also use FLVMDV for this):

ft2  -P sample.flv

Exploring full-screen mode in Flash Player 9

November 22, 2007 · Posted in Flash, Video · Comment 

Nice tute to get you going:http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html

FLV metadata injector (FLVMDI)

November 6, 2007 · Posted in Video · Comment 

FLVMDI