Using On2 Flix Engine to create MOV files

August 13th, 2010

Here is the relevant video codec, audio codec, and muxer that needs to be applied to create a MOV file. Short and sweet, derived from previous posts and On2′s API.

# FE2_CODEC_H264 Video Codec
$codecptr = new_flix2plgnhandlep();
$sc = Flix2_AddCodec($codecptr, $flix, FE2_CODEC_H264);
$codec = flix2plgnhandlep_value($codecptr);

# FE2_CODEC_AAC Audio Codec
$sc = Flix2_AddCodec($codecptr, $flix, FE2_CODEC_AAC);

delete_flix2plgnhandlep($codecptr);
unset($codecptr);

# FE2_MUXER_MOV
$muxerptr = new_flix2plgnhandlep();
$sc = Flix2_AddMuxer($muxerptr, $flix, FE2_MUXER_MOV);
checksc('Flix2_AddMuxer(FE2_MUXER_MOV)', $sc);
$muxer = flix2plgnhandlep_value($muxerptr);

delete_flix2plgnhandlep($muxerptr);
unset($muxerptr);

Drupal – embed and combine multiple Views

July 29th, 2010

This post assumes some familiarity with the Views module, if you need some background information on Views, check out the Starting Views 2 Documentation.

I’m working with Drupal which has a lot of handy features and modules. The Views module in Drupal creates database queries that are abstracted a level above SQL – this is the easy and proffered way of selecting and displaying database content within Drupal. Of course, with abstraction comes some limitations and combining multiple Views of different data types didn’t look possible. So I took the data from each view and combined them using a bit of a hack.

Read the rest of this entry »

Using the On2 Flix Engine to encode WebM (VP8) video (example)

July 1st, 2010

Let’s dive into an example of using the On2 Flix Engine for Linux to encode a WebM video. WebM uses On2′s VP8 video codec and the Vorbis audio codec, both of these codecs are open source that may become the HTML5 standard for browsers implementing the video tag to support.

What I have below is untested, I have not updated my installation of the On2 Flix Engine to the newest version 8.0.17.0. If you are updating your installation, please read through On2′s blog post about the new version since it notes that the language bindings need to be rebuilt. Please also read the CHANGELOG. To see the example, please continue reading.

Read the rest of this entry »

On2 Flix Engine and WebM Overview

July 1st, 2010

The WebM Project is dedicated to developing a high-quality, open video format for the web that is freely available to everyone.

When Google acquired On2, it came as no surprise that Google would be releasing a video codec as open source. The WebM container makes use of On2′s VP8 video codec along with the open source Vorbis audio codec. With HTML5′s growth increasing, the W3C’s specification for the video tag makes no mention of a standard video codec that all browsers should agree to support.

Read the rest of this entry »