I would like to add my AV extension to PECL. The extension gives PHP
programmers a way to decode and encode video using the FFmpeg or Libav (the
latter is favored by some distros like Debian). I've written about it here:
http://www.php-qb.net/index.php/2-uncategorised/16-a-new-bridge-between-php-and-ffmpeg

Before listing the extension, I'll probably have to design some new test
cases. The current ones don't really test anything aside from whether a
crash occurred. Ideally, I would draw some pictures in GD, dump them into a
video, then read it back from the file to see if it was properly encoded.
The problem is, I can't think of a way to compare two images for similarity
that wouldn't be insanely slow. Audio is even harder to test.

Reply via email to