Extension Proposal: Video Encoding using FFmpeg
| From: | Chung Leong | Date: | Tue, 22 Apr 2014 00:31:04 +0000 |
| Subject: | Extension Proposal: Video Encoding using FFmpeg | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-11734@lists.php.net to get a copy of this message | ||
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.